Hello,
Please give us more detail.
Your OS and database to connect to,
Send your server.xml and web.xml definitions.
Then we can have clear idea...
Take care
Gokhan
Aris Javier wrote:
Please Help!
This error kept on bugging me everytime i run tomcat5 as service...
My environment variables are
Okay, I checked the signatures on the downloads. No ultimate authority.
Well, I don't particularly trust the ultimate authority concept anyway,
so that's just fine.
When ant builds tomcat, does the build.xml cause that the signatures of all
the dependency downloads are also checked?
--
Joel
Thanks!
My system works fine when i run tomcat5.0 in console...
but when i run tomcat5.0 in service, this error occurs...
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
error
I already declared my enviroment variables..
i declared bootstrap.jar and tools.jar in
I tried google against jakarta.apache.org and marc.theaimsgroup.com and
got no clues. Maybe I'm blind, maybe trying to build on MSWxp is lame?
Here's the part I assume is most relevant.
---
build-main:
[echo] - Java-utils -
[echo] --
Hi,
I'm having some difficulties making tomcat work with apache.
I only need to use apache because I need to use an auth system that uses
the .htaccess files of apache. So i really don't want to have to fuss
about to much. Ideally I'd like to use the apache auto configuration for
tomcat but
==
[javac] Compiling 63 source files to
D:\Program_Files\jakarta\jakarta-tomcat
-5.0.25-src\jakarta-tomcat-5\build\classes
[javac] javac: target release 1.1 conflicts with default
source release 1.5
BUILD FAILED
Hello,
Has anyone done any research into performance results from unix sockets vs. channel
sockets vs. apr sockets?
I am currently loading apache2, mod_jk2, and tomcat 5. I would like to know the
difference in performance for the 3 sockets.
I was using apache 1.3, mod_jk, and tomcat
I haven't been able to find a clear answer to this anywhere online,
hopefully you fine folks can help...
I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily
or weekly (monthly might be OK too).
Is thre any way to do this? I assume so, so how? Thanks in advance all!
Search the mailing list! This question was asked recently...
These messages might be useful...
-Original Message-
From: Frank Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 10:04 AM
To: [EMAIL PROTECTED]
Subject: Log rotation HOWTO
I haven't been able to find a clear
Is it possible to programmatically change the Server header?
Barring that, is it possible to set a Server header for a
servlet within its web.xml file?
My least preferred method is to change the Server header
within Tomcat's server.xml file.
I looked at Tomcat's source code, and that
Hi folks,
i actually face a strange phenomenon with the Tomcat session handling
mechanism. I want to use URL-rewriting instead of cookies and i used
therefore the cookies=false attribute in the Context element.
First the entry in the server.xml looked like that:
Context path=app docBase=app
You specify Tomcat5.0. If that's true, you are using a pre-release version of
Tomcat5. Update to the latest official version (or Tomcat-5.0.27beta) and
retest. Make sure your driver is in common/lib as well. Note that
CATALINA_HOME/bin/service.bat can be used to install/remove the service.
i'm using tomcat 4.1.24
i have both unpackWARs and autoDeploy set to true.
i have a context for myapp defined:
Context path=/myapp docBase=myapp debug=0
reloadable=true
tomcat is not expanding my myapp.war file. why is this? so after
reading archives people suggested setting
Hi,
We're using Tomcat 4.1.30 and PostgreSQL 7.3.4 to run a high-volume
website.
We connect to two different databases using database connection
pooling and occasionally a mixup seems to occur where a query intended for
database A is executed on database B, or vice versa. Postgres says
Relation
Apache and tomcat are working on there
own independently. Mod_jk.so compiled cleanly.
when I try to do the redirect I get
the following in my mod_jk.log. I don't get error in any of my other logs.
Any idea's what is going on?
Thanks,
Shawn Pate
Technology Consultant
[EMAIL PROTECTED]
i just discovered that my DOCTYPE points to an old link:
http://java.sun.com/j2ee/dtds/web-app_2_3.dtd
if you go there you will see a message with the correct link:
http://java.sun.com/dtd/web-app_2_3.dtd
however, my app still works, and tomcat didn't complain, nor did it
warn me..
why does
Thanks for the response.
I can certainly do that but then I don't get access to the
implementation provided by the DefaultServlet.
I'll check into the filters.
Cheers
Ken
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 10:14 PM
To: [EMAIL
Because, if I remember correctly from a previous message on the list, Tomcat
does not validate web.xml files. (Anyone care to confirm this?)
-Original Message-
From: Woodchuck [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 12:10 PM
To: tomcat
Subject: DOCTYPE wrong yet still
Hello-I am working with version 4.1.12 and today, Tomcat shut down
unexpectedly with the following error:
2004-06-29 09:32:07 StandardWrapperValve[invoker]: Servlet.service() for
servlet invoker threw exception
java.lang.NullPointerException
at
that's just behavior you will have to live with if you insist on using an
ancient (by today's standards) version of Tomcat. Upgrade to the latest Tomcat5
release and do docBase=myapp.war and the WAR file *will* be unpacked.
Jake
Quoting Woodchuck [EMAIL PROTECTED]:
i'm using tomcat 4.1.24
Yes, we're using it (Sun JWSDP). Works as advertised.
Andrew
At 03:43 PM 6/28/2004, you wrote:
Folks,
Is anyone out there running a deployed application using JAX-RPC for
soap/wsi? If so, are you using Axis, or the Sun JWSDP stuff? Or
something else entirely?
sorry about that. the log got stripped because I sent it as an attachment
here it is
[Tue Jun 29 09:48:10 2004] [jk_uri_worker_map.c (486)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Jun 29 09:48:10 2004] [jk_uri_worker_map.c (500)]: Attempting to map
URI '/cgi-lawson/printenv.exe'
I am using tomcat 5...
i would like to know what is the mime mappping for
.msg extension...
thanx,
Badal
__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
I'd like to build a completely wired-down webapp with an Axis soap
service included therein.
The default wsdd includes some machine-specific pathnames, so I can't
just capture it send it around.
I'm poking gently at the axix-specific api, but I'm not finding the
right thing if there is one. I'm
Frans
I use dbcp to pool two different databases on different servers. A mysql
on localhost and an Oracle on a remote host. I have never had a
problem.
I define my pools in my webapp.xml so they are specifically restricted
to the app that uses them. I would examine your dataSourceName and
Oh, sorry, sorry, this was supposed to be directed to axis.
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 12:46 PM
To: Tomcat Users List
Subject: Not using the admin app
I'd like to build a completely wired-down webapp with an
I didn't find how to make the catalina.log file split each day.
!-- Logger shared by all Contexts related to this virtual host. By
default (when using FileLogger), log files are created in the logs
directory relative to $CATALINA_HOME. If you wish, you can specify
a different directory with the
hi QM,
just thought i'd follow up on how i ended up doing mine. it's
essentially the same strategy but instead of including everything in
the jspc generated file, i'm only including the exact segment that i
need and i'm using the plain replace task.
build file:
loadfile srcfile=web.xml
Hi,
Look at $CATALINA_HOME/conf/web.xml for mime mappings. If there's nothing there for
.msg, it's unmapped.
Yoav Shapira
-Original Message-
From: badal jain [mailto:[EMAIL PROTECTED]
Sent: Tue 6/29/2004 12:43 PM
To: [EMAIL PROTECTED]
Cc:
You can't rotate catalina.out. You shouldnt have much in there anyway if your webapps
are coded correctly. If you have an webapp that outputs a lot to it you can add a
customer logger to the context and it is rotated automatically every day.
Ta
Matt
-Original Message-
From: Emerson
I can't seem to find a binary version of the module and am having
issues attempting to build from source.
Has anybody built this module from source for Mac OS 10.3?
I'm using the example from this site:
http://homepage.mac.com/melowe/iblog/B141099555/C760077128/E1326304651/
and when I get to:
Hi,
Or rather, you can't rotate catalina.out using functionality built into tomcat. You
can use an external tool such as Apache's logrotate (no space in the name, google for
it). And as the original poster mentioned this has been discussed numerous times ;)
Yoav
-Original
Hi, maybe you would try the following:
Create a bash-script (or on windows a .bat, with modifications)
create a file called e.g. /path/to/script/rotate_log
#!/bin/sh
file_to_zip=`date +'%m%d'
cp /your_path_to/catalina.out /your_rot_dir/$file_to_zip
echo -n catalina.out
cd /your_rot_dir
gzip
Samual..
I guess we can see if the one I've compiled on a mac will work with
your stuff. It might work, its does on the box i compiled it on.
I'll put it some where you can get to it.
Mark
On 29 Jun 2004, at 20:29, Samuel V. Green III wrote:
I can't seem to find a binary version of the module
Oh, noSYNTAX ERROR..sorry
WRONG:
0 1 * * * /path/to/script/rotate_log /path/to/script/rotate_log 21
I forgot to name the log file (otherwise you overwrite your rotate_log
script, and it will only work once):
RIGHT:
0 1 * * * /path/to/script/rotate_log /path/to/script/logfile 21
Try downloading this and untar it in /usr/libexec/apache2
It might work for you, it does for me. Same one that i blogged.
http://homepage.mac.com/melowe/mod_jk2.so.tar.gz
Apache/2.0.49 (Unix) mod_jk2/2.0.5-dev
OSX 10.3
Mark
On 29 Jun 2004, at 23:28, Mark Lowe wrote:
Samual..
I guess we can see
I'm trying to setup Tomcat 5.0.25 to talk to a MySQL database and I've had
no luck after several days of fighting with this thing. I'm following along
the documentation at this URI:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html
The example says to edit
I have been using eclipse 3.0R? for quite some time.
And have been able to debug jsp's in tomcat 4 by
simplying
copying the *.java files created by tomcat's jasper
compiler, into my eclipse workspace, into a directory
called org/apache/jsp and attaching a remot e
debugger.
That way I can see the
I thought that would be an easier way, just as you can do using a
diferent class appender with log4j.
Trond Hersløv wrote:
Oh, noSYNTAX ERROR..sorry
WRONG:
0 1 * * * /path/to/script/rotate_log /path/to/script/rotate_log 21
I forgot to name the log file (otherwise you overwrite your
I figured it out
it is to do with JSP 2.0 spec
if you put
suppressSmap - false in web.xml
like so...
it works
servlet
servlet-namejsp/servlet-name
servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
init-param
My current tomcat version is tomcat5.0.7
also, i dont see service.bat under catalina_home/bin folder...
do i have to download latest tomcat version?
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 11:46 PM
To: Tomcat Users List
Subject: RE:
Hi all
I am using the SQLServer 2000 Driver for JDBC with Tomcat 5 and have an
exception being raised whenever I try to execute more than one insert or
update using the same database connection. The exception is
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't
start a
Hello!
I installed Tomcat 5.0.25
i noticed that tomcat won't start unless i first make service install
command?
under catalina_home/bin/service.bat
also, after running tomcat service... my previous error
(org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General)
was converted to
Hi,
I am using Tomcat 4.1 that comes packaged with JBoss 3.2.3. I am trying to
deploy my war which has two servlets. I am not able to connect to my
servlets by doing a http://localhost:8080/ccgIntf. I tried different
variations of the URL but with no luck. I looked at the jmx-console and
On Tue, Jun 29, 2004 at 06:39:28PM -0700, ramesh wrote:
: I am using Tomcat 4.1 that comes packaged with JBoss 3.2.3. I am trying to
: deploy my war which has two servlets. I am not able to connect to my
: servlets by doing a http://localhost:8080/ccgIntf. I tried different
: variations of the
How do I setup WSDP 1.4 to talk to Jakarta-Tomcat (instead of its own tomcat)?
Thanks
---
ABS Web Site: www.abs.gov.au
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
At 09:37 AM 6/30/2004 +0800, you wrote:
Hello!
I installed Tomcat 5.0.25
i noticed that tomcat won't start unless i first make service install
command?
under catalina_home/bin/service.bat
also, after running tomcat service... my previous error
(org.apache.commons.dbcp.DbcpException:
==
[javac] Compiling 63 source files to
D:\Program_Files\jakarta\jakarta-tomcat
-5.0.25-src\jakarta-tomcat-5\build\classes
[javac] javac: target release 1.1 conflicts with default
source release 1.5
BUILD FAILED
Thanks for the updated service.bat Sir Jake!
I'll test it at once...
Regarding my database... I'm just using MS Access 2000...
I don't know what driver to use or how to install or configure it
that's why I use sun.jdbc.odbc.JdbcOdbcDriver driver.
What do you think is the proper driver for MS
here maybee it could help you! im using mysql database whit Tomcat4.0 and
the config look like this!
first
download mysql-connector-java-3.0.10-stable-bin read install instruction (or
simply copy the file under
Tomcat_home/comon/lib)
the conection acess to database ! xml
Still the same error occured after replacing my service.bat with your
service.bat... (declares tools.jar inside) =|
org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory, cause: General error
When i run startup.bat... it worked fine again... the following are the
I'm at a loss at this point. I'm not sure if there is a specific JDBC
driver for Access. I would avoid using Access anyway, but I suppose it
might not be by choice. Hopefully someone else will know what is up with
using the Sun driver and the Tomcat service. BTW, you did do service
remove
Hi Friends,
Is there is any body using J2ee 1.4.
If So, plz send me reply the deployment procedure
for CMP in EJB
Expecting urs reply
K.PRABAKARAN
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
Joel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Okay, I checked the signatures on the downloads. No ultimate authority.
Well, I don't particularly trust the ultimate authority concept anyway,
so that's just fine.
When ant builds tomcat, does the build.xml cause that the
Joel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I tried google against jakarta.apache.org and marc.theaimsgroup.com and
got no clues. Maybe I'm blind, maybe trying to build on MSWxp is lame?
Here's the part I assume is most relevant.
55 matches
Mail list logo