Robert U. Chan wrote:
Good day!
Hope somebody can help me with my current problem in tomcat. I have been
seeing an 'error in getDescSql in StaticMethod' in the console of tomcat.
Can somebody help me know the cause and solution to this problem.
This could be some SQL code in your web app. For
Hi all.
This is not exactly a Tomcat question, but since there are so many of us
developers (and admins) around, I thought I ask.
Is there a good repository of free JSP tag libraries for some common
things, like date printing/formatting, table display, etc?
When I say, date printing, I mean,
Craig wrote:
Hey Tomcat Users!
I am having a very desperate problem with Tomcat. I have a demonstration
due later today, and the script I have been using to run tomcat (5.0.27)
on ports 80/443 doesn't seem to do the job -- though it had been
workingfor weeks up until a restart earlier today.
David Whitehurst wrote:
Chuck:
Could you elaborate on what those parameters would be? A port is just
a number. I'm trying to understand the history, but I would appreciate
your comments on the other things required to make Tomcat production
ready on top of just changing the Coyote connector
Rahul Akolkar wrote:
One such repository:
http://jakarta.apache.org/taglibs/
I feel dumb not looking there first. Alas, I'm not in a position to use
them, can you believe that? I'm using Struts 1.1 and it just doesn't
live well with JSTL. Tried it and had XML parser errors during
application
Hi all.
I've been struck all of a sudden with this.
servletRequest.getRequestURL() returns null.
Now, thinking about it, I can give some facts that might shed some light
on it and I'm pretty sure I know why it is happening, just want to
confirm with you guys. And just wandering if anyone can
Zohar Amir wrote:
Hello,
I'm using Tomcat 5.0.28 on Red Hat linux.
What is the correct procedure to deploy a new version of the same
servlet?
If the servlet is in WEB-INF/classes/... upload the class file. If it is
in a JAR in WEB-INF/lib/... upload the whole JAR. The reload the web
Dhiren Bhatia wrote:
I'm using BasicDataSource because javax.sql.DataSource does not have methods
to set the driver class name, url, username/pwd etc. My app needs to support
different databases and the driver is loaded based on which database is
installed.
You've got it backwards. It is the
Praveen KUMAR wrote:
Hello,
I am little bit confuse in following decision:
Should be use
1- Apache (2.0.54) + Tomcat (5.0.28) in production with tomcat
listener (through Coyote connector) configured with mod_jk (1.2.12)
with apache
2- Or Standalone Tomcat (with their standard apache provided by
Akhthar Parvez. K wrote:
Hi,
I used to access the html webpages using servername.(http://servername/~username)
But I am not able to access JSPs in the above fashion. What could be added into server.xml
so that I can access jsps using servername.(http://servername/~username)
There is no ellegant
LERBSCHER Jean-Pierre wrote:
-Message d'origine-
De : Ron Heeb [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 6 mai 2005 18:18
À : tomcat-user@jakarta.apache.org
Objet : RE: Common vs. Shared
my understanding comes from this book i got: 'common is responsible for
classes that are used by
Tim Funk wrote:
There is the concept of user dirs ...
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html
See the section User Web Applications
I stand corrected.
I still prefer explicit context mappings. How would you deploy JNDI
resources in userdir case?
Nix.
Quinton Delpeche wrote:
On Thursday 12 May 2005 14:12, Bjrn T Johansen wrote:
But why do you use the Tomcat that comes with SuSE 9.3??
I am using SuSE 9.3 and Tomcat works like a charm.. (but I don't use SuSE's
version...)
Yeah ... I asked myself that same question 3 minutes ago. :(
I
Tim Funk wrote:
~user/public_html/META-INF/context.xml might do the trick.
So, the magical name of the UserDir context is context?
Nix.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
David Smith wrote:
I won't argue with no. 1 since I don't use SSL connectors in Tomcat.
However, no. 2 can be mitigated with the commons-daemon project among
other tricks and IMHO, not a valid argument against having Tomcat out front.
Just my thoughts on the subject. :-)
I'll just add to the
Steve Kirk wrote:
When TC starts up, the webapp deploys OK from its war file, and the
context.xml is copied to the /conf/[engine]/[host]/ folder OK, without any
parsing errors logged. The connection pool initially seems to work, in the
sense that this code executes OK:
Context ctx = new
Steve Kirk wrote:
Thanks nix.
Could it be that you've missed the fact that
DataSource JNDI resource setup definition has changed in TC
5.5? It is
no longer with those
parametername.../namevalue.../value/parameter.
Yes I already changed that. I used to use the approach you
[EMAIL PROTECTED] wrote:
Please, I need Advice for connections
Hi guys.
I need a technical advice using tomcat 5.0
Presently, tomcat server is used with JBOSS in a solution that
I am developping for my clients.
Users are connecting to the solution by invoking a servlet (runned by
August Detlefsen wrote:
Is there no way to do it? SSL creates a lot of overhead for a site that
is serving up 100MB image files.
There are ugly or less ugly workarounds, like the one yahoo uses. Login
can go against HTTPS, sets up it's version of session and then redirects
the user to
Andy wrote:
Hi All,
I'm unable to output any errors using html:errors/ tag, in Tomcat
5.5.7 I've tried numerous configurations and have now ran out of patience.
As I haven't been using Struts for more than three days I hope somebody
more experienced can point help me out.
When I select
David B Sullivan wrote:
We're running Tomcat 4.1 on Sun Solaris 9, connecting to another Solaris 9
box running Oracle 9.2.0.1 and Java 1.4.2_05.
When Tomcat tries to connect to the DataBase, it crashes, with the log
file shown below. We can point Tomcat at another DataBase, same versions
of
Hi all.
This might be a simple question. I have a working RMI client and server.
I have tested it no problem. Now I would like to make a JSP/Servlet that
will act as a RMI client and connect to the RMI server running outside
Tomcat JVM.
I keep running into access permission violations. I
Bill Barker wrote:
Nikola Milutinovic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
- setup catalina.policy
- run it with -security option
I'm on Windows XP, how do I enable security mode for TC?
That's the idea. And, as a bonus, it works the same on Linux, Solaris
Hi all.
I'm having problems with ClassLoader. I have a RMI client that calls a
RMI server. What I keep getting as an error is a ClassCastException.
This is the code:
Object obj = Naming.lookup(url);
search = (SearchRMI) obj;
And the exception is:
java.lang.ClassCastException
at
Hi all.
Maybe this isn't a good list for this, but here goes.
I know how to define load-on-startup for a Java Web Application, no
problem there. My question is how do I do it for a Struts application?
The trick is, I'd like to load some application parameters from the DB
into the
Adrian Beech wrote:
Hi all,
A work colleague mentioned on Friday it would be better to place objects
(beans and the like) which had been created in a servlet into the request
context when exposing them to the JSP. To date all the code I've written
stores beans and the like in the session
Hi all.
I have been mucking around this for some time and have some empirical
data and a question for the list.
BACKGROUND
---
I'm building a web client for a RMI client/server application. RMI
server and client are working from command line. Next I built
JSP/Servlet which
sudip shrestha wrote:
Dude: Read the email first...
I am informing of the problem after we experienced with IE...
As you have said, YOU did not expirience it, since you're using FireFox.
It would be most advisable to do two things:
1. Use IE yourself (I know, I loathe it, too, and
Rafa Krupiski wrote:
Joe Plautz wrote:
Simple, test with IE as well.
yet simpler, tell your users it's IE problem and to use firefox
instead :)
It is still worth investigating. Mozilla/Firefox is eager to correct
badly formed HTML, just as IE is. I would advise you to install Tidy
Gagnon, Joseph M (US SSA) wrote:
Did I not say that I'm new to this?
I made no mention to whether or not I was trying to make it secure.
This is only meant to be used within my company's intranet and my
intention was to take the user account and then compare it with a set of
registered users
Hi all.
Me and the team have given up on RMI and went to RPC, but I thought I'd
make one last educational attempt.
Is anyone using RMI in TC where TC is acting as a RMI client to a remote
RMI, general-purpose, server?
I have seen tons of (rather old) examples of Applet being a RMI client
Woodchuck wrote:
hihi Nikola,
where are you placing your JAR files? are any in TC/commons/lib or
TC/shared/lib?
try placing everything together, just as a test. put *all* your
classes and JAR files under TC/commons for example and give it a try...
they should be able to see each other if
Tim Funk wrote:
Never. I share jars. I wish I hadn't.
When you upgrade JSTL, struts, etc - all get the upgrade for free -
but that means ultra stable apps which haven't been touched in years
may magically break.
You're absolutely right Tim. If it works, don't fix it. And there is
nothing
Greg Scott wrote:
-Message d'origine-
De : Greg Scott [mailto:[EMAIL PROTECTED]
Envoyé : 11 juin 2005 23:41
À : tomcat-user@jakarta.apache.org
Cc : [EMAIL PROTECTED]; Joan Kinnischtzke; Michael R Ponicki Objet : Paths for
JkMount
Hello -
I am working on a proof of concept
David Rickard wrote:
Don't know if this is an optimum solution, but it should work:
Keep a List or Vector of IDs for active users in a shared,
application-level object (probably ServletContext);
When someone logs in, search the List for the submitted ID: if not
present, continue with login
Andre Van Klaveren wrote:
I mentioned this issue (killing browser problem) in a previous
posting. The only way to prevent this is to invalidate the original
session also in the event that a duplicate login was detected. I can
see a possible DOS attack problem with this solution though. Maybe
Jef Sullivan wrote:
Something that I found concerning this same issue is SendMail.
Google for SendMail and you might find what you are looking for.
Interesting, but I suspect the original poster would need to sink teeth
into JavaMail API, anyway.
Nix.
[EMAIL PROTECTED] wrote:
Hi all,
I'd like to know if there's a shell command to stop and start separate web
applications. With our configuration, we are unable to use the manager.
* We are running Tomcat 5.5 and Apache 2 with the JK Connector (mod_jk) on
RedHat Linux.
* We have several
Anna Bikkina wrote:
Hi,
We have an application which uploads files to a machine where tomcat is
running. Now we want to change it to upload files to a central server in
the network. We were using multipart request to upload the files till
now. How can we upload files to a different server than
David Rickard wrote:
If you don't mind mixing Struts and JSTL, use a c:forEach loop, with
the end value being the number of children parameters;
At 11:00 AM 6/30/2005, Dewitte Rémi wrote:
Hello !
In my form , i ask the number of children. On the next page, i'd like to
display as many
Carlos Bracho wrote:
It's a java question more than a tomcat question
Do you know where can I find a symmetric crypt algorithm implementation in
java?? like blowfish, idea or des??
take a look at Java's Cryptography packages java.crypto.*
Nix.
Wasik, Paul wrote:
Hi all,
Can anyone point me in the right direction on what might be causing this
error in my catalina.out log file? I'm running Tomcat 5.0.28 on a RedHat
EL3.0 server with Sun JDK 1_5_0_03 and am using the jsvc launcher. Aside
from this entry in my log file, everything
Dewitte Rémi wrote:
Hi !
I have a simple test jsp :
%@ taglib
uri=http://java.sun.com/jsp/jstl/core;
prefix=c %
c:forEach begin=1 end=3 var=ind
h${ind} ${ind}aBaa/h${ind}
/c:forEach
When I delete my web.xml, everything works well but when I reload the context
with it, the EL
Hi all.
I have a question, which is slightly off topic, but can crop up in TC.
SHORT VERSION: can a Java 1.5 enum be serilaized?
LONG VERSION
---
I have been working on project that uses it's own RPC via
java.io.DataInput/DataOutput and I have run into a wall trying to send
Tony Smith wrote:
I am runing tomcat 5.0 + postgresql. I set my
connection pool in server.xml as:
Resource
name=jdbc/mysource
type=javax.sql.DataSource
password=
driverClassName=org.postgresql.Driver
maxIdle=100
maxWait=5000
validationQuery=select *
Paulo Alvim wrote:
Hi,
I'm using TC559 and JVM 1.5.x with Win2003 / 2GB RAM.
I'd like upgrade to 4GB RAM...is there any JVM or Tomcat limit here?
I think JVM cannot use more than 1.6 GB of RAM - dunno why.
Nix.
-
To
Allistair Crossley wrote:
I found this on the web for Struts using
org.apache.commons.dbcp.BasicDataSource which I believe Tomcat also uses.
Therefore perhaps you can try defaultAutoCommit instead.
data-source key=homeDS type=org.apache.commons.dbcp.BasicDataSource
set-property
[EMAIL PROTECTED] wrote:
Hello,
I'm having some trouble configuring secure connections. I have 2 webapps that I
deployed myself. One in /dspace and another one in /odin. I have set the
transport-guarantuee for both to INTEGRAL. I did this in their own
web.xml-files. In both cases I used / as
Patrick Lacson wrote:
hi All,
If I were to deploy my application as a .war file, where do I place
the .properties configuration files? I know there's the option of
auto-expanding the war file at deployment, but is there a way to keep
the war file unexpanded and provide an external .properties
Justin Jaynes wrote:
Concerning JNDI Database Connection Pooling Sources, I
have read that if you fail to explicitely close Result
Sets, Statements, or Connections to the DataSource
from WITHIN the web application, a connection in the
pool will be lost. (I read this at:
Peter Flynn wrote:
I need to add JSP ability to a RHEL4 server running the
current Apache httpd from the Red Hat RPM. Apparently the
httpd RPM available from Red Hat doesn't have the hooks
needed to allow JSP files to be passed to Tomcat (or if it
does, I can't find them).
Has anyone managed
Seak, Teng-Fong wrote:
When I first saw the announcement that Tomcat 5.5 needs Java5 to
run, I thought it would supports Java5 features. But it turns out that
it needs Java5 but not supports Java5. Quite disappointed. Anyway, I
have to go on with my webapp, so much for it.
Tomcat 5
Seak, Teng-Fong wrote:
Nikola Milutinovic wrote:
Tomcat 5 supports all the features of the underlying JVM, the problem
is in the JSPs. They are compiled by Jasper + Eclipse compiler
module, which, in version 5.5.9, has no support for Java5. Later
versions of Tomcat have a newer version
Christoph Kutzinski wrote:
To be honest, I never tried it with 5.5.9
I just concluded it from the release notes and other posts on this
mailing list.
AFAIK, tomcat uses the Eclipse JDT compiler by default to compile JSPs.
Maybe you have configured tomcat to use Suns javac?
That is one way
Santosh Asbe wrote:
Hi all,
Hi. First of all, it is very advisable to use a separate thread when
opening a new topic. I am not reprimanding you, I'm merely advising. I
do not consider it rude to jump into someone elses thread of
discussion - I do not consider this thread mine, in the
[EMAIL PROTECTED] wrote:
I want Apache to server .asp files, if possible rather than having IIS
server to serve .asp files.
Look for mod_asp, there are actually several implementations, ChillySoft
was one of them, if memory serves. I think they are all based on
mod_perl, so have that
Richard Road Runner wrote:
I am not sure that this is a Tomcat issue, but we are not sure what exactly is
causing our problem.
We are running Tomcat 5.0.27. We are using the most recent jconn2.jar driver
to connect to a Sybase SQL Anywhere Studio 7 database via JDBC.
Over a period of time,
Aria Bamdad wrote:
Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat. However, I would much rather use one instance
and serve requests on different Apache port.
Does anyone have ANY
501 - 558 of 558 matches
Mail list logo