Good point! Instead of complaining about it, the best way is to come up with
a better way ourselves. Unless of course we can persuade Sun to do it for us
;-)
Mind you, Roedy Green already has a BigDate package (if I remember the name
correctly) and I was starting to think about using it before I
Hi,
See commons-lang's DateUtils and DateFormatUtils
(http://jakarta.apache.org/commons/lang/apidocs/index.html).
Enhancements to these classes should be suggested on the commons-dev
mailing list.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Rhino
ok, whatever you specify in your path is the context path. if you don't want to
have the context been part of your request URL(i.e., www.mycompany.com/action.do
instead of www.mycompany.com/myapp/action.do), then you can specify the path=.
But if your server is serving more that one webapps, the
Hey,
Could anyone give me some pointers on how to find an error that is causing tomcat not
to start. I'm using 4x on Windows, when I got to a prompt in the bin folder and type
'startup' the new DOS window opens for a split second and then closes right away. Most
likely some error in my
Hi,
It might be fine. Execute catalina.bat run instead of startup.bat
to leave the DOS prompt open. Look at the logs/catalina.out file for
errors.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Duncan Krebs [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02,
Thanks Yoav, always helpful, eh:)
But I am with Rhino on using non-standard packages, by no means undermining
the usefulness of the two classes in commons-lang. Just for someone who is
learning this from the scratch, there could be a better interface. But they
try, I guess:). Here's a few
Yoav,
Thanks for the info. I was able to see the error message in the window and
figured out I had another service running on the same port tomcat was trying
to run on. - Duncan
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent:
Hey I got it.. Or I should say you got it... Thanks a lot! It seems the
problem was the canned workers2.properties file from the jk src directory
was missing the connector info. I modeled mine off of yours and alls seems
to be working well. The only issue I still have to resolve is getting
It does. Thanks Yan!
What should I specify as my defaultHost in the Engine element? And the name
in the Host element?
Engine name=Catalina defaultHost=localhost debug=0
Host name=localhost debug=0 appBase=webapps unpackWARs=true
autoDeploy=true xmlValidation=false xmlNameSpaceAware=false
Hi,
If the DNS is configured for that host, then yeah, you can use it instead of the
localhost. But then you have to change all your host to use the same
hostname.
-Yan
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 1:34 PM
To: 'Tomcat Users
On Don 01.04.2004 09:01, Shapira, Yoav wrote:
Even though I mentioned this before, I'll do it again: this is a bad
idea.
Yes I know :-(
Thanx for you answer i will try it.
al ;-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Are there any benefits to doing it that way? I am using tomcat standalone
and serving out on prot809, not integrating it in with apache.
c.
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 1:47 PM
To: 'Tomcat Users List'
Subject: RE: problem
Put them in your catalina.bat file located in the bin directory of your tomcat
installation.
-Original Message-
From: Mandy Joss [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: How to set up JAVA_OPTS while running tomcat as a service
I
But the problem is when it runs as a windows service the tomcat.exe is
called directly. if I put any echo message in catalina.bat file I don't see
my message anywhere. I don't think it goes into catalina.bat at all when
runniing as an service.
From: Paul Mansfield [EMAIL PROTECTED]
Reply-To:
I currently have Tomcat 5.0.16 running using the SSL connector and a self-signed
certificate - I followed the directions in the Tomcat SSL HOW-TO in how to
create the certificate and set up Tomcat for SSL. This is running with no
problems in my development environment.
I have been asked to put
You can set the options for services in the registry.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat
4.1\Parameters
set the JVM Option Count to the number of parameters you are setting (it is
probably already set to 2) and then add JVM Option Number # strings for each
new
Great suggestion!
I've just been reading the API and some of the information about Commons and
am strongly tempted to join in. I have some code that would probably be
useful within Commons - after a bit of reformatting to meet the code
conventions - so I will think about participating when I have
Did you had to compile the mod_jk with the apr's ??? I installed APR's
that comes with suse dist and it keeps giving missing so's from apr. How
did you make it work???
[EMAIL PROTECTED] wrote:
On Wednesday 31 March 2004 15:14, Emerson Cargnin wrote:
Hi, I run apache 1.3 whit Tomcat 4.1 and i
Hey Yan,
Changing the path to instead of / fixed everything.
Thanks!
c.
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 1:47 PM
To: 'Tomcat Users List'
Subject: RE: problem with url - extra / appended before action
Hi,
If the DNS is
Malcolm Warren wrote:
I've tried including the session id, but it creates a new one.
It's calling a url in another application in the same engine. Can't
session info be shared across applications?
No. Session information cannot be shared between contexts (webapps).
I've allowed single sign-on
Yes, We have something like this:
Total Memory Allocation: 124
Free Memory: 34
Runtime Max memory: 518
When the site crashes we don't see memory peaks, we only see the thread
count increaase.
From: STOCKHOLM, Raymond [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat
Environement:
Windows 2000
Tomcat 5.x + Apache 2.X + Mod_JK2
Error:
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
Question:
1.Where I can get the jkjni.dll ?
Thanks.,
MALAI
-
To unsubscribe, e-mail:
Hi,
Can Tomcat work with symbolic links in WEB-INF instead of real directories?
I have allowLinking set up to true and the Resources element is in the
corresponding context but still Tomcat will fail deploying the application
if I have symbolic links.
Resources
Tom Reis,
Thanks a lot. It worked. You were awesome. I wish I could give
you some Duke dollars :)
Thanks again,
Mandy
From: Reis, Tom [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: How to set up JAVA_OPTS while
I had a glance at the tutorials you mentioned; I had seen those topics
before and used them.
What I meant when I said that I hadn't seen tutorials on dates was that I
hadn't seen any on the topics of *manipulating* dates, e.g. using Dates and
Calendars to obtain or set specific dates. I found the
I downloaded JK2 and built it.
I am trying the same configuration. I am not successful yet. I like to know
your jk2.properties and workers2.properties configuration files.
Thanks,
Sreeni
-Original Message-
From: armalai [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 4:46 PM
To:
Hi.,
Please check my properties file.
this is the new error that i notied right now in apache log.
Error:
[Fri Apr 02 16:59:28 2004] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
Emerson,
- Being in plain text in server.xml (as configured for tomcat)
Protect the file with permissions.
- Read the web.xml by a standalone app and encript the password, in my
connection servlet I read it and decritp it.
- Have a separate file for each pool, this file,encripted, would
Try adding TOMCAT_HOME\common\lib\jmx.jar to the claspath in [vm:]
-Sreeni
-Original Message-
From: armalai [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 5:14 PM
To: Tomcat Users List
Subject: Re: JKJni dll Error
Hi.,
Please check my properties file.
this is the new error
Thanks for your help!!! The problem was the options for where the apache2
source was located:
--with-apache2=
--with-apache2-include=
--with-apache2-lib=
-Tom
--- Yiannis Mavroukakis [EMAIL PROTECTED] wrote:
SImple :) don't follow the instructions.
Do a ./configure --help to get the
Hi.,
I just passed the class not fount error for AprImpl.
Right now i got new error in Apache - log
[Fri Apr 02 17:30:31 2004] [error] mod_jk child init 1 0
then Apache stderr.log log says..
TomcatStarter: main()
Try org.apache.tomcat.startup.Main
Try
I think you are ahead of me now.
What did you do with the jnjni.dll? I don't see it in your configuration
files. Did you drop it in APACHE_HOME/moduels?
I posted a message today with the subject Unable to connect Apache 2.0.48
to tomcat using JK2 Connector an d JNI.
Can you please tell me what
Parsons Technical Services wrote:
Emerson,
- Being in plain text in server.xml (as configured for tomcat)
Protect the file with permissions.
- Read the web.xml by a standalone app and encript the password, in my
connection servlet I read it and decritp it.
- Have a separate file for each
Hi Malai,
Here are my configuration details. I made changes to my configuration files
to incorporate the differences with respect to your configuration files.
I don't get the stdout.log and stderr.log files.
My configuration is failing while trying to start the jni connector.
Thanks,
Sreeni
Hello
I am looking for docs/howto on tuning
I am setting up some new boxes with rh9, tomcat 4 and apache 2
Any heads up from experience would help as well
I am move the code from a rh7, tomcat 4 and apache 1.3
Thanks
Randy
Just wanted to add using jk2 with a unix pipe. I am suprised to find
that on Linux at least, the pipe is not as fast as sockets.
-walter
+--+
| Tomcat | Apache| Connector| Mean |
| Version | Version | | Connection
I'm running Apache 2.0.46 on RHEL (package name is httpd-2.0.46-32.ent).
I'm also running the latest mod_jk2 (2.0.4, compiled from source). I am
getting these errors very frequently in my apache log:
[Fri Apr 02 17:15:27 2004] [error] channelApr.receive(): Error receiving
message body -1 0
[Fri
Hi
I'm keen to try this with tomcat 5.0.19.
Please can you supply a little more detail regarding the registry settings?
Thanks in advance
Antoni
-Original Message-
From: Mandy Joss [mailto:[EMAIL PROTECTED]
Sent: Saturday, 3 April 2004 9:57 a.m.
To: [EMAIL PROTECTED]
Subject: RE: How
Hi. I've had some time to think about this subject especially since
others have brought it up before.
The real honest to goodness problem is that eventually you'll need to
deal with a password. That's just unavoidable. You could encrypt the
password, but that would just need another
Is there an example of using the org.apache.catalina.startup.Embedded
class (Tomcat 4.1.30) inside of a thread, using the thread's
contextClassLoader to load the tomcat jars, instead of relying on the
system classloader?
--Wart
Return Receipt
Your RE: Unix utils for Windows?
document
:
If I can read the server.xml then I can read your .class file the
decrypts
it and thus can still get your password.
I still can use certificate to encript decript...
And if I am in control of the server, then I have access to that certificate
as well.
The point is simply that with proper
Hi Kal,
Thank you... your getConnection() and releaseConnection() also very
helpful.
Will implement and test them...
--Kawthar
[EMAIL PROTECTED] 02/04/2004 08:47:43 PM
Hi,
Hello,
I'd like to know how to implement connection pooling in my
application.
This is what I had done so far. Pls
Has anyone compared Tomcat 5 and Resin?
Resin has a huge drawback of being closed-source, but it has a great
reputation for being small, fast, and easy to configure. Tomcat is
working for us, but has been something of a bear WRT learning curves and
gotchas, so I'm interested in learning more
...a great reputation for being small, fast, and easy to configure
And here I thought you were talking about Jetty...
grin
dwh
p.s. I haven't actually used Jetty, but have have heard good things
about it and have been meaning to.
Josh Rehman wrote:
Has anyone compared Tomcat 5 and Resin?
Hello Friends,
I caught in very strange sitauation. I work with tomcat 4.0b7 with
jdk1.3 with win98 and it works fine with servlets JSP.
Recently I upgrate win98 to XP Professional Edition J2sdk1.4.2 the
same archive of tomcat runs servlets finely but fails with JSP to
compile. While
java.lang.NullPointerException
com.appriss.prototype.cross_context.test.ContextReceiverServlet.doGet(ContextReceiverServlet.java:18)
if (request != null) {
#18- HttpSession session = request.getSession(true);
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
hi
I am using Apache web server and Tomcat 4.1.
I have a jsp:include tag (in say test1.jsp) and I am trying to include a data1.html
file. This html file contains UTF-8 encoded text. When this JSP is executed, the UTF-8
text is displayed as garbage characters.
I have included following in
101 - 148 of 148 matches
Mail list logo