Hi Ashok,
Ashok Venkat wrote:
In the below code, i am submitting a form to itself in the onload method and changing some hidden form field values. After the form is submitted, the hidden values are not available in the request object.As a result, the page gets into an endless loop.
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
Hi there What I suggest you do is get FireFox
Ognjen Blagojevic wrote:
Hi Ashok,
Ashok Venkat wrote:
In the below code, i am submitting a form to itself in the onload
method and changing some hidden form field values. After the form is
submitted, the hidden values are not available in the request
object.As a result, the page gets
OK PID then you tell me where the jar goes hey?
Pid wrote:
Pedro wrote:
Thanks for stating the obvious Tim, in 5.5 the 'server' directory is
supposed to be the correct place! the question is if the implementation
is valid.
You referred to ClassNotFoundException's - his answer is
Hi Christopher,
I knew that MySql does this, but I am using Postgres for this project
and don't know if it is possible, the default is case sensitive for
Postgres.
The unique key option is out, as it has to be an id field for our
database beans to work, but a unique constraint is possible I
Hi,
I think the mailing list archives are full of people with IIS - or Apache -
fronting Tomcat.
There is a very good article that explains the technical reasons
http://people.apache.org/~mturk/docs/article/ftwai.html
Also, there might be cases where the reasons are political, or when the
Pedro wrote:
OK PID then you tell me where the jar goes hey?
That's a lot of attitude for someone who wants help from the list. Or am
I misreading your tone?
I refer to my previous question:
Perhaps you can elaborate on when you're getting this exception if we're
to help you.
(An actual
Peter Stavrinides wrote:
The most common reason...blah blah
You know pid, just because people ask questions doesn't mean they are
stupid, so why treat them that way? If you can read 'carefully' you can
notice that the path was given as well as the relevant config in
server.xml. So If the
The most common reason...blah blah
You know pid, just because people ask questions doesn't mean they are
stupid, so why treat them that way? If you can read 'carefully' you can
notice that the path was given as well as the relevant config in
server.xml. So If the path was incorrect you could
Lol,
My whole job is a sad tone as the company can not seem to make up its'
mind about .net or java. So some stuff is asp and other stuff java;
thus mixed I am left. :)
~Charlie
The significant problems we have cannot be solved at the same level of
thinking with which we created them.
-
Dear All,
Is there any limitation to support PKCS#12 type SSL certificate in
Tomcat.
As per Tomcat User Guide, Tomcat currently operates with JKS, PKCS11 or
PKCS12 format keystores.
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
But, I'm unable to use PKCS#12 certificate in my
Peter -- cool it. As quoted from the OP below:
I tried this approach but get class not found exceptions, I am using
tomcat6 in development and 5.5 in production. I package this
class in
a jar and drop it in the $CATALENA_BASE/server/lib folder.
Tim Funk actually (and correctly) asked the OP
Pid wrote:
Peter Stavrinides wrote:
The most common reason...blah blah
You know pid, just because people ask questions doesn't mean they are
stupid, so why treat them that way? If you can read 'carefully' you can
notice that the path was given as well as the relevant config in
server.xml. So
David, you are also arrogant!! I know what I wrote, and I know where the
classloader looks for things so Tims answer is irrelevant and so is
yours given that I have placed the jar in the correct place already and
configured server.xml correctly. You also lack basic reading skills if
you cant
Just another question (not quite on the subject)
I have several websites that I have through IIS
How can I host the all through a single IP ?
I have assigned separate Header to each but what next ?
How can I browse those pages from another computer on the network ?
Jacob Rhoden jacob at rhoden.id.au writes:
Did you figure this out?
It is due to a spurious extra % at the end of a link. E.g.
td
iframe width=900 height=700 src=bugger.jsp?c=%=ch%s=%=sh% %
/iframe
/td
Notice the programmer typed % % when meant %.
The error message:
WARNING: Parameters:
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
Got a little sensitive info that I would like to
Finally - I understand most of what is wrong! I finally got access to
the system again, and after pulling off the debug log from the service
launcher, things became clear.
It turns out that on this system, the command that was actually being
run to register the service was:
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Subject: Class loading issue
but when the webapp loads, one of the classes it requires
generates an error the first time the webapp is accessed
via the browser.
What error? Do you have an associated stack trace? Is there anything
in the
Sorry, I should not that the error generated was something about
DocumentBuilderFactoryImpl is not being loaded properly. This is a
class that is accessed as a part of this product.
Thanks,
Tony
-Original Message-
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Sent: Friday, October 26,
Tony,
When the decisions are made based on an evaluative process and the
best suited is chosen I am all in. For me it seems platform choice is
mostly based on who thunk up the idea and cast it into requirements
and not on logical rationality. But hey, it pays the bills. :)
~Charlie
The
I have a static IP,
How would I alias them on windows?
-Original Message-
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Sent: Friday, October 26, 2007 4:01 PM
To: Tomcat Users List
Subject: Re: Help with Tomcat IIS
You need to alias them on windows you would use the hosts file to
You need to alias them on windows you would use the hosts file to map
the IP to host name. The only requirement is a static ip
Demetris Zavorotnichenko wrote:
Just another question (not quite on the subject)
I have several websites that I have through IIS
How can I host the all through a
Thanks P. I followed your advice and it worked.
Here is what I did in case someone else is wrestling with this problem
Overview
1. disabled my Perl::AuthNTLM
2. got mod_jk communication path working between apache and tomcat
3. added auth back in
4. tested
End Point - File contents
in my
Can you post the Connector / configuration that you are using?
- lg
On 10/26/07, Hitesh Raghav [EMAIL PROTECTED] wrote:
Dear All,
Is there any limitation to support PKCS#12 type SSL certificate in
Tomcat.
As per Tomcat User Guide, Tomcat currently operates with JKS, PKCS11 or
PKCS12 format
I do not agree with the statement about it being a sad tone. 95% of
our shop is .NET / IIS / MSSQL, however we are intergrating another
product into our applications that is written in Java and requires a
J2EE compliant application server to run, thus here I am :). I
understand the thoughts and
Everyone, thanks for the feedback and additional suggestions on clean
coding :). I think I'm good to go.
Thanks,
Tony
-Original Message-
From: Len Popp [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 5:25 PM
To: Tomcat Users List
Subject: Re: Suggestions for connection
Windows 2003 Server
Apache Tomcat 5.5.23 (running as Windows service)
JVM 1.5.0_12b-04 (Sun)
In an attempt to have a specific web app load when Apache starts, I
added the following element to the \WEB-INF\web.xml file for the
appropriate servlet - load-on-startup1/load-on-startup. This works,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
Got a little sensitive info that I would like to package with an application.
I noticed that even if the user has say left listing on.. that stuff in
META-INF is not listed. TC seems to actively block it or ignore it.
Honourable Barrister--
Is/Are there any presumably default configuration options which Tomcat
uses to specifically protect
META-INF from client access?
Martin--
- Original Message -
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday,
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Philamasophical question META-INF
Storing stuff in WEB-INF should be just fine -- I would stick
to WEB-INF instead of META-INF.
According to the Servlet spec, both WEB-INF (SRV.9.5) and META-INF
(SRV.9.6) must be protected
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: Philamasophical question META-INF
Is/Are there any presumably default configuration
options which Tomcat uses to specifically protect
META-INF from client access?
Not that I'm aware of. Since the spec explicity states that
The exact error is this:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at
Per request, I actually don't have a xercesImpl.jar file that is being
used (there is one but it's not being ran). However, I do have a file
named a_xercesImpl.jar that is being used by the webapp (located in
webapps\webapp\WEB-INF\lib. I did verify that the a_xercesImpl.jar
file contains the
I am running Apache-Tomcat 5.5.25 - plugged into Eclipse. I have updated
the web.xml and renamed the renametojar files in server/lib/ to allow cgi
and ssi. A tomcat project named TomcatProject is created in Eclipse and
the server.xml is updated with the context information as follows:
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From:
On 10/26/07, banderson [EMAIL PROTECTED] wrote:
Now:
server1 - mydomain.com
server2 - 123.123.123.123
End result:
server1 - mydomain.com
server2 - sub.mydomain.com
This is not a Tomcat issue, this is a DNS issue.
Assign sub.mydomain.com to 123.123.123.123.
--
So this can't be done with Tomcat? I don't have access to the DNS server,
are there any other workarounds?
Hassan Schroeder-2 wrote:
On 10/26/07, banderson [EMAIL PROTECTED] wrote:
Now:
server1 - mydomain.com
server2 - 123.123.123.123
End result:
server1 -
Assuming my domain is hosted with godaddy, they should be able to take care
of this? I'm not familiar with DNS issues, and it would be nice to know
what I'm asking for %-|
Thanks for the response!
Hassan Schroeder-2 wrote:
On 10/26/07, banderson [EMAIL PROTECTED] wrote:
So this can't be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
Ken Bowen wrote:
Is there a way to tell Tomcat to never rewrite urls? I.e., to never add
jsessid ?
Do you want to completely disable sessions, or just always require cookies?
While the servlet specification does not require containers to
I wonder if the name or value params require double quotes? I seem to have had
a similar issue one time.
-Original Message-
From: Ashok Venkat [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 9:50 PM
To: users@tomcat.apache.org
Subject: Hidden form fields not found in request
Thanks for the response. However, that does not clarify for me why it
only happens when I attempt to set the load-on-startup element in the
webapps web.xml file but if I do not autoload the class, it works just
fine. As far as the JAVA_OPTS go, I do not see where I have this set at
all. I'm
I want to save the dimensions. After the form is posted i call a servlet to
save the dimensions. I will look into using Ajax.
Appreciate the help.
- Original Message
From: Pid [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, October 26, 2007 1:35:23 AM
Assuming my domain is hosted with godaddy, they should be able to take care
of this? I'm not familiar with DNS issues, and it would be nice to know
what I'm asking for %-|
Thanks for the response!
Matt Bockol wrote:
You could run both apps under the same domain but still on different
You could run both apps under the same domain but still on different hosts,
such that:
app1 is at mydomain.com
app2 is at mydomain.com/app2
If you run tomcat behind apache httpd this is pretty simple to set up (via
mod_proxy_ajp or mod_jk or ... )
For sub.mydomain.com you need to make a DNS
Hi All,
Is there a way to tell Tomcat to never rewrite urls? I.e., to never add
jsessid ?
Thanks,
Ken Bowen
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I am trying to see how regular expressions can be used in SSI if exprs. For
example
However, the following:
!--#set var=my_var value=hello there--
!--#if expr=$my_var = /hello/--
This is in the if-partbr/
!--#else--
This is in the else-partbr/
!--#endif--
always goes to the else part. Is there
it is absolutely possible, but now when you mention it, the ability to
not start the multicasting piece has not been exposed. The rest has.
But there is a simple workaround for you, you can create an interceptor,
that traps the start call, and removes the option to start multicasting
it
On 10/26/07, Christopher Schultz [EMAIL PROTECTED] wrote:
Ken,
Ken Bowen wrote:
Is there a way to tell Tomcat to never rewrite urls? I.e., to never add
jsessid ?
Do you want to completely disable sessions, or just always require cookies?
If the site doesn't need to use sessions at all,
On 10/26/07, banderson [EMAIL PROTECTED] wrote:
So this can't be done with Tomcat? I don't have access to the DNS server,
are there any other workarounds?
If it's only for your personal use, put the name in your hosts file. Or
run your own name server.
The point is that *your client browser*
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Subject: RE: Class loading issue
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
It looks like you must have the system property
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
Looks like if I stay away from context.xml, and these:
[removed long list of files in META-INF with special meaning to app servers]
This is another reason to avoid putting anything in META-INF: you can
never predict what
I'm kind of new to this, so try to hear me out... I am running tomcat on two
separate machines. Each server has a different application running on it.
Through my web browser, one server is accessed by domain mydomain.com, and
the other doesn't have a domain name, so I can only access it via
Propes, Barry L wrote:
I wonder if the name or value params require double quotes? I seem to have had
a similar issue one time.
That would be the first thing to try; I *always* use them for the name
and value attributes...
-Original Message-
From: Ashok Venkat [mailto:[EMAIL
On 10/26/07, Ashok Venkat [EMAIL PROTECTED] wrote:
I want to save the dimensions. After the form is posted i call a servlet to
save the dimensions. I will look into using Ajax.
For something like this, check out DWR -- Direct Web Remoting --
at http://getahead.org/dwr
--
Hassan Schroeder
The question is: Do you want
sub.mydomain.com
to be visible to the entire internet, or are you only interested in accessing
that system from your own personal browser. In the latter case, you don't have
to get involved with dealing with godaddy. As Matt suggested earlier, you
only have to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
Ken Bowen wrote:
But all this leads to the obvious question (which I asked): If I'm not
going to allow jsessionid's to slip out, can I suppress
their creation totally?
The creation of the id is implicit in the creation the session: the
Dear Team,
I'm new with Tomcat Hibernate. We have a weird
problem: When I test our website locally with Tomcat MySQL,
everything is OK. But after I copy our webapp under Tomcat to remote
web hosting, I can only access the JSP pages, not able to access data
from database.
The error on page
The site needs to be available to all of the internet.
Ken Bowen wrote:
The question is: Do you want
sub.mydomain.com
to be visible to the entire internet, or are you only interested in
accessing
that system from your own personal browser. In the latter case, you don't
have
to
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Subject: RE: Class loading issue
However, that does not clarify for me why it only
happens when I attempt to set the load-on-startup
element in the webapps web.xml file
Don't have a real answer for that, at least not yet (but see below for
On 10/26/07, banderson [EMAIL PROTECTED] wrote:
The site needs to be available to all of the internet.
Then your system needs a DNS entry.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new
Chuck,
There is nothing in the endorsed directory. It's the default
installation of Apache Tomcat 5.5.23 (selected the FULL option). As far
as the comment regarding the parser class... I'll admit, you totally
lost me :). I don't see a META-INF folder anywhere in the installation
path.
Thanks,
On 10/26/07, banderson [EMAIL PROTECTED] wrote:
Assuming my domain is hosted with godaddy, they should be able to take care
of this? I'm not familiar with DNS issues, and it would be nice to know
what I'm asking for %-|
Who owns the netblock where this currently nameless IP resides?
It
Chris,
a) Yes, I plan to always require cookies, because of ...
b) It's the search engine issue: They are cookie-less, and one gets
(severely?) penalized by letting the jsessionid's slip out.
While I'm using UrlRewriteFilter to provide an abstraction to the site's
urls (and it works great),
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
Mike LI wrote:
Data Access Failure JDBC exception on Hibernate data access; nested
exception is org.hibernate.exception .SQLGrammarException: could not
insert: [com.cmn.model.User]
Can you post more of this stack trace? I wonder if the real
Last year, I was learning how to install an SSL cert on Tomcat 5.0. The matter
was confused by the fact that we needed 2 certs because we had a live site and
test site on the same server but the live system was going to be moved to
another server. We managed to screw up the test SSL
Tony,
have you seen
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
In general, implementing classloader hierarchies, as the one in tomcat
5.5, is not a simple matter.
Citing from those pages:
As mentioned above,
Hi All,
There are sites that I frequent which I believe to be powered by java
servlets,
and which seem to recognize me immediately when I first connect after
an absence (Welcome back, Ken). So is it the case that if browser B has
previously set a cookie at site S (at url uuu), then when B
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Subject: RE: Class loading issue
There is nothing in the endorsed directory.
Good, that says no confusion is being introduced from there.
As far as the comment regarding the parser class...
I'll admit, you totally lost me :).
By default, a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
Ken Bowen wrote:
So is it the case that if browser B has
previously set a cookie at site S (at url uuu), then when B returns to uuu
(say after many days but before the cookie for uuu has expired), B sends
the cookies for uuu in the /first/
From: Ken Bowen [mailto:[EMAIL PROTECTED]
Subject: Cookies
So is it the case that if browser B has previously set a
cookie at site S (at url uuu), then when B returns to uuu
(say after many days but before the cookie for uuu has
expired), B sends the cookies for uuu in the /first/
From: Konstantin Kolinko [mailto:[EMAIL PROTECTED]
Subject: Re: Class loading issue
Nevertheless, the official path to provide a custom XML parsing
library is to use the endorsing mechanism. See XML Parsers and J2SE
1.4, XML Parsers and JSE 5 chapters in class-loader-howto.html
That doc
Yes, I have added debug code to the Perl program, and where it stalls seems to
be the following line:
$myDatabase = new Win32::ODBC($data_source);
It just keeps hanging at that line. If I go to Windows Task Manager, I see
perl.exe running, but at a fixed memory space (no changes). Also,
Thank Chris for help. I have questions embedded below.
Data Access Failure JDBC exception on Hibernate data access; nested
exception is org.hibernate.exception .SQLGrammarException: could not
insert: [com.cmn.model.User]
Can you post more of this stack trace? I wonder if the real problem is
Sathees,
As far as I know Tomcat is an OpenSource software. So go to the tomcat
website, download, install and have fun.
Regards,
Bruno
On 10/26/07, satheeskumar Ramasamy [EMAIL PROTECTED] wrote:
Hi Team,
I need to use a Tomcat as my Web Server for my Commercial Site, Please
send
me the
yes It is a open source software..
On 10/27/07, Bruno Vilardo [EMAIL PROTECTED] wrote:
Sathees,
As far as I know Tomcat is an OpenSource software. So go to the tomcat
website, download, install and have fun.
Regards,
Bruno
On 10/26/07, satheeskumar Ramasamy [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
Mike LI wrote:
Christopher Schultz wrote:
Can you post more of this stack trace? I wonder if the real problem
is cannot connect to database, and not SQL syntax error, as
suggested by the exception class.
[Mike] It's a shared web
Samik Basu wrote:
Interestingly, when I do !--#include virtual=/Tomcat/test.jsp-- it works
fine i.e. I can include any other types of files.
Have you tried setting isVirtualWebappRelative ?
Mark
-
To start a new topic,
Tony Fountain wrote:
Thanks for the response. However, that does not clarify for me why it
only happens when I attempt to set the load-on-startup element in the
webapps web.xml file but if I do not autoload the class, it works just
fine.
It might be related to
Yes, I have tried it out but turning it on in Web.xml. However it did not
help. For example - this variable is set to 1 and then I invoked
/Tomcat/cgi-bin/test.cgi
/cgi-bin/test.cgi - error is context not found
../cgi-bin/test.cgi (assume that the shtml file just under the root of the
project
I have a tomcat server on windows 2003 platform, using java servlet to upload
file.
It has been working well until one or two months ago.
Now this Tomcat 6.0 + HTTPS + Oreilly MultiPartRequest uploads file slowly with
IE6 browser.
For testing, I create a 10M zip file and try to upload it on
81 matches
Mail list logo