Hello,
I can't seem to get past the first step in compiling tomcat connectors on
Mac. When I run configure I get this:
./configure
: bad interpreter: No such file or directory
I have the latest XCode installed.
Cheers,
Eliot.
--
View this message in context:
Thanks a lot, I resolve the problem, the link you tell me is fine for IIS
5.0, instead if you have IIS 6.0 you should take a look at:
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B813368
just to be helpful for someone else.
Thanks again
-Messaggio originale-
Da: Markus
I have a Tomcat installation with two SSL installation on separate
static IP addresses using the following:
Connector address=192.168.175.19 port=443 maxThreads=300
minSpareThreads=25 maxSpareThreads=75 enableLookups=false
disableUploadTimeout=true acceptCount=100 debug=0 scheme=https
secure=true
Hi,
I am working on an application that involves applet-servlet communication.
The problem is that when Tomcat is listening at 8001, then I get an
exception when I do connection.getInputStream() in applet. When I switch to
port 8080, the problem gets solved. Heres the exception:
Hy Everyone!
I'm develop my first application in jsp. Isn't a real application, it's an
system integration job that join 2 application, a tree menu and a report
viever.
Many time at day my Tomcat crash, and I don't understand if there are some
problems in the server, or if the code cause the
There shouldn't be any difference. Use a network scanner (example
wireshark) to sniff connection and check what the request of applet was
and what the response of tomcat is.
I bet your applet is trying to connect to 8001 while tomcat is listening
to 8080
En l'instant précis du 09/05/07 12:14, kz
I believe that the HTTPURLCOnnection throws a
java.io.FileNotFoundException in the case where a web server returns a 404.
Look at your access logs and request
http://localhost:8001/servlet/WESFWDataLink_BRK.class?DLCT=EO via the
browser and see what happens.
-Tim
kz wrote:
Hi,
I am
You are using the Jdbc-odbc bridge. That JDBC-ODBC bridge is not meant
to be used on a web server or multi threaded environment.
-Tim
Massimiliano PASQUALONI wrote:
Hy Everyone!
I'm develop my first application in jsp. Isn't a real application, it's an
system integration job that join 2
How I can replace the Jdbc-odbc bridge?
I use it to connect to my access dB, is a little user's database...
bean.setDbUrl(jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};
DBQ=C:/Programmi/Apache Software Foundation/Tomcat
5.5/webapps/BI/users.mdb);
I need to change the db?!?!
Access databases don't work well for webservers - even with IIS. SO you
should switch databases. If concurrency is *very* low - you could try
throwing synchronization blocks around all database code to limit only
one database user at a time. (This is not recommended)
-Tim
Massimiliano
I used a scanner and tomcat is listening on port 8001 and not 8080. The
thing is that when I start Tomcat even on 8002 or any other port (other than
8080) and I change the applet also to connect to 8002 then the problem
doesn't come. WHy is that? I mean even if I am supposed to get a 404, then I
what's the content of the request and response when on port 8001,
according to your scanner?
check nothing is else than tomcat is listening on port 8001.
try the request to
http://localhost:8001/servlet/WESFWDataLink_BRK.class?DLCT=EO using a
simple browser instead of applet to see result.
En
Hi,
I´m just trying to configure a new server with RHEL 4.0 installed together
with JDK 1.6.0 and Apache Tomcat/5.5.17 installed. We have no problem to
start it up (Tomcat) but when it try to shut it down, I have many kernel
panic messages and the machine got frozen. Does anybody had similar
Kernel Panic happens due to bug at the kernel level. Normally, even
deeply broken applications should not generate a kernel panic.
Possible causes:
1) Broken network module, which generates an error during unbinding of
tomcat from interface. Unless your interface model is very recent and
kernel
Hi!
We are trying to call a JSP file that inserts a lot of records into a
database, but Tomcat stops the process before it is finished. Anyone knows
if there is any configuration tag anywhere to set this timeout?
Thanks!
-
...
There isn't a standard way of doing programmatical security of this
nature - the nature of it is such that you have to write it yourself.
That is essentially what I'm trying to do, using various built-in tools
, such as java.security.acl.*, sun.security.acl.AclImpl,
you've installed tomcat with cpanel support or a clean installation of tomcat?
If i haven't understand bad, the one installed on the server has a cpanel
support thing... Could be that the startup procedure of that version ignores
custom options?
Let me know please
I am using CentOS 4.4 but I
netstat -bv | grep 8001
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email
David Kerber wrote:
...
There isn't a standard way of doing programmatical security of this
nature - the nature of it is such that you have to write it yourself.
That is essentially what I'm trying to do, using various built-in tools
, such as java.security.acl.*, sun.security.acl.AclImpl,
Pid wrote:
David Kerber wrote:
...
There isn't a standard way of doing programmatical security of this
nature - the nature of it is such that you have to write it yourself.
That is essentially what I'm trying to do, using various built-in
tools , such as java.security.acl.*,
Hello everyone,
I am having a problem with WAR deployment. I am performing a static
deployment: copying a ROOT.war under the webapps directory, and then
starting Tomcat (no other web applications). On most occasions, the
deployment is successful. However, occasionally the deployment does not
Is there a TomCat users' list, forum or documentation that is for
actual end-users of TomCat as opposed to developers ?
I've read through he last 200 messages on the list hoping to get some
insight into how to use TomCat as an end user and am concluding that
this is not the right list.
Try rename it to a zip... and the unzip it or see wot windows does?
- Original Message -
From: Michael Heinrichs [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, May 09, 2007 4:43 PM
Subject: WAR deployment incomplete (sometimes)
Hello everyone,
I am having a problem
On 5/9/07, Sven [EMAIL PROTECTED] wrote:
Is there a TomCat users' list
yep, and you're there :-)
I'm just trying to figure
out how to install JForum
Sounds like you need a JForum mailing list instead, if you're having
an application-specific problem, yes?
--
Hassan Schroeder
I'd like to obtain Tomcat JARs using Maven, but I don't know which of its
JARs from the following URL are required:
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/
Which of those JARs are required for Tomcat?
Could somebody who uses Maven with Tomcat comment on how they use
But it shouldn't crash, it's supposed to serialize all the ODBC calls so you
can use it in a multi-threaded program. (ref. the JDBC FAQ:
http://java.sun.com/products/jdbc/reference/faqs/index.html) I've used it in
a webapp, for testing during development, with no problems other than poor
(oops, sorry for the previous truncated message)
It shouldn't crash, it's supposed to serialize all the ODBC calls so you can
use it in a multi-threaded program. (ref. the JDBC FAQ:
http://java.sun.com/products/jdbc/reference/faqs/index.html
) I've used it in a webapp, for testing during
I forgot to mention that (should it matter) I am running Tomcat 5.5.17,
on JRE version 1.4.2_12.
-Original Message-
From: Michael Heinrichs [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 10:43 AM
To: users@tomcat.apache.org
Subject: WAR deployment incomplete (sometimes)
Hello
Hello,
I have a strange situation.
Tomcat has stopped logging today on my prod. server. Not sure why. All of the
app seems to be working just fine, but the key log file stopped generating new
info.
I have a scheduled task stop and restart Tomcat every morning around 6am, so as
to dump bad
try
%CATALINA_HOME%\conf\context.xml
Context antiJARLocking=true antiResourceLocking=true
link courtesy of erik burke
http://stuffthathappens.com/blog/2006/01/18/tomcat-hot-deployment/
HTH/
M--
This email message and any files transmitted with it contain confidential
information intended only
I've occasionally seen this on 5.5.15 on Windows, but never thought much
of it, just assuming it was a random glitch. It seems to be more common
for me when I restart it quickly after stopping, and less often if I let
it sit for 30 seconds or so before restarting.
Michael Heinrichs wrote:
Could you post more details? Most Maven project only ever need the
servlet api (and optionally jsp api) declared in dependencies as:
dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
version2.4/version
scopeprovided/scope
/dependency
dependency
At the risk of over explaining, this is one of those slightly tricky areas of
shell syntax.
The general form of the command below would be something like:
ls -l | pr Out
Now there are two commands that might generate errors to the terminal. So you
do this:
ls -l | pr Out 21
Does anyone know the limitations on tomcat embedded?
as to what you can and cant do with it.
--
View this message in context:
http://www.nabble.com/Tomcat-Embedded---Limitations--tf3716562.html#a10397011
Sent from the Tomcat - User mailing list archive at Nabble.com.
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: WAR deployment incomplete (sometimes)
try
%CATALINA_HOME%\conf\context.xml
Context antiJARLocking=true antiResourceLocking=true
Those settings only affect Windows installations, and the OP clearly
stated that the problem occurs
Hi everybody!
I'ved downloaded mysql-connector-java-5.1.0.zip.
I'ved put the mysql-connector-java-5.1.0-bin.jar in
C:\Programmi\Java\jre1.6.0_01\lib and I'ved set the %CALSSPATH% on the same
directory.
I'ved create a jsp page:
%@ page import=java.sql.* %
%
String connectionURL =
David Kerber wrote:
Pid wrote:
David Kerber wrote:
...
There isn't a standard way of doing programmatical security of this
nature - the nature of it is such that you have to write it yourself.
That is essentially what I'm trying to do, using various built-in
tools , such as
Unzip the connector and place the .jar file in the common\lib directory or
in the webapps\**appname**\WEB-INF\lib directory.
-Original Message-
From: Massimiliano PASQUALONI
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 9:00 AM
To: users@tomcat.apache.org
Subject: Msql
I'd like to use Tomcat for in-place development, which can be done by using
the Tomcat JARs itself. Of course the scope dependency would be something
like provided for when the app is actually deployed, but for the purposes
of development what JARs are needed to run an embedded bootstrap Tomcat?
David Kerber wrote:
Pid wrote:
David Kerber wrote:
...
There isn't a standard way of doing programmatical security of this
nature - the nature of it is such that you have to write it yourself.
That is essentially what I'm trying to do, using various built-in
tools , such as
How can I tell Tomcat to automatically redeploy an application when any file
within it is updated? I realize that this happens for new WARs or JSP
updates without needing an application redeploy.
But what I'm asking is if I update a Java class file within an application's
folder, how can I tell
That may be the problem. My install is not via a control panel of any
sort. I'm not familiar with how a control panel manages the startup
options.
[EMAIL PROTECTED] wrote:
you've installed tomcat with cpanel support or a clean installation of tomcat?
If i haven't understand bad, the one
You are right. To generalize this: It is all a matter of shell
precedences.
Pipe (|) has a higher precedence than angle redirect () which is why
redirect is needed on both sides. However, grouping two commands with
parentheses overrides this behavior, again because parentheses have even
Pid wrote:
...
There isn't a standard way of doing programmatical security of
this nature - the nature of it is such that you have to write it
yourself.
That is essentially what I'm trying to do, using various built-in
tools , such as java.security.acl.*, sun.security.acl.AclImpl,
Thanks for the response.
Actually, I know for a fact that there will be only 1 port each for SSL and
Non-SSL access. I just need to be able to query their values programatically so
that I may use them to set up certain parameters that will be used by other
parts of the code...
Thanks,
Av.
I belive you can do it in a connection pool setting.
-Original Message-
From: Ignacio Iborra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 7:57 AM
To: users@tomcat.apache.org
Subject: How to configure Tomcat response timeout?
Hi!
We are trying to call a JSP file that inserts
Is it not possible to find a more elegant solution... like late binding with
something like
Class.forname()? ie make a plugin a full restart is very expensive.
under host... if autoDeploy=true then if web.xml is changed in any way...
tomcat will restart.
So if you make a little function
I don't see a consistent pattern, but it definitely happens on first
deployment. In my scenario, Tomcat is installed as part of a larger
product installation, with the WAR file under the webapps directory,
ready for deployment when Tomcat is first started. So the WAR is
intended to only ever be
Are you developing in netbeans and then droping the dist into Tomcat is
that when you see the problem?... if so its not a bad WAR... its because
netbeans for some reason hangs onto tomcat ie Tomcat is ignoring the war
because its still running the *build* version in netbeans.
In this
David, tks 4 your email ...
I didn´t try to follow what you suggested me yet regarding the hw (mem +
netwk). Instead of that, I uninstalled JDK version 1.6.0_01 and installed
1.5.0_11 one. After that, I got no kernel panic messages to start or
shutdown Tomcat.
Does anyone know if there´s any
On 5/9/07, Rogerio Pazini [EMAIL PROTECTED] wrote:
Does anyone know if there´s any incompatibility of this JDK version with
RHEL 4.0 ?
I think this is the false place to ask :-)
regards
Leon
-
To start a new topic, e-mail:
Caldarale, Charles R wrote:
From: John Gardner [mailto:[EMAIL PROTECTED]
Subject: Re: Multiple SSLs with multiple paths?
I have two static IP addresses, ss there any way I can point one
connector to ROOT and the other to another another webapp? For
instance, if I used a Virtual Host, I could
here is what happens,
your start copying in a large .war file, tomcat detects this file before
the upload is complete and starts expanding it,
tomcat receives a ZipFileCorrupted error (as the upload hasn't
completed) and aborts the deployment
you need to work around the fact that your upload
have you considered that the client might be aborting the connection
because you are taking too long to respond?
Filip
Propes, Barry L wrote:
I belive you can do it in a connection pool setting.
-Original Message-
From: Ignacio Iborra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May
Logging (log4j) works fine for my servlets in Tomcat 5.5 until I run
Tomcat as a service on windows, in which case I only get stdout, stderr
and jakarta_service logs.
The FAQ on the apache tomcat site has an entry for this problem, but the
link to its solution in the archives is broken, and I
Thanks, I will check that out.
- Original Message
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, May 8, 2007 8:13:17 PM
Subject: RE: How to programatically determine connector's port numbers?
From: webzo [mailto:[EMAIL
My code depends on being able to receive a notification from Tomcat that is
has completed its startup (meaning the entire server initialization and
deploy/load of all servlets is done). I believe there are JMX notifications
that tomcat mbeans provide which include this kind of notification, but I
Ok another guess and another war story ;)
I found that if I did a URLConnection in a filter init I managed to
completely lock up Tomcat on a start stone dead...
I then deleted the War and the folder and after figuring out wot the problem
was, it would still not deploy the new one
you and sven need to search thru the mostly nonexistent MySQL documentation
on how to
start MYSQLd
create a user (other than [EMAIL PROTECTED])
create DATABASE
create TABLE in DATABASE
turn on INNODB
the MySQL documentation is pretty much nonexistent so you and sven should
have lots of fun
Since my post below I have managed to get ./configure to work. The following
files needed to have the line endings converted to Unix from DOS:
native/configure
native/scripts/build/unix/config.sub
native/scripts/build/unix/config.guess
native/scripts/build/unix/missing
After that, however, make
I am attempting to get the SingleSignOn valve to challenge requests to
my web application.
I have a basic LDAP setup and would like the validation to be routed to
the LDAP.
The engine portion of server.xml is as follows:
Engine name=Catalina defaultHost=localhost
!--Realm
From: Daniel Curran [mailto:[EMAIL PROTECTED]
Subject: SingleSignOn Valve Not Challenging
security-constraint
display-nameExample Security Constraint/display-name
web-resource-collection
web-resource-nameProtected Area/web-resource-name
Damn this is strange I would expect Tomcat to protest... missing
class's... or something?
I'm now fascinated Michael if you like, you can send me the WAR... and
I'll see if I can get it to break on my system.
- Original Message -
From: Michael Heinrichs [EMAIL PROTECTED]
To:
And this only seems to be a problem with 1.2.22. I am able to compile 1.2.21.
Cheers,
Eliot.
Eliot Stock wrote:
Since my post below I have managed to get ./configure to work. The
following files needed to have the line endings converted to Unix from
DOS:
native/configure
Non-existent?? huh... wierd. I could have sworn I saw a lot of it on
the company site (www.mysql.com).
As to the OP, the classpath environment variable is ignored by tomcat's
default startup script and for very good reason.
Given the manner in which the jsp is attempting to get a database
This is partially going to depend on what feature you use (or don't
use). I would download the embedded tomcat .zip and take a look at the
jars provided in server/lib, common/lib and bin directories.
--David
lightbulb432 wrote:
I'd like to use Tomcat for in-place development, which can
I can't access Tomcat content through IIS. The troubleshooting steps
on the IIS How-to were insufficient to identify my problem.
What am I missing?
A few bits of relevant information:
The isapi log file does not get created.
I've verified that the registry settings are correct for the
I found a solution if anyone is interested ( and maybe its the solution
at the broken link in the FAQ? )
When I first setup my log4j appenders I used relative paths from the
tomcat bin directory to the logs directory ( silly me )
I had log4j.appender.server.file=../logs/server.log
which works
Found this article.
http://archives.devshed.com/forums/java-118/missing-application-web-xml-1620719.html
Other stuff I found seems to suggest that it is unpacking... but then Tomcat
is deleting it.
Some say reason is because windows locking open files... but we ruled that
out.
This
FYI-
http://dev.mysql.com/doc/
-Terence M. Bandoian
Subject:
Re: Msql Connector/J
From:
Martin Gainty [EMAIL PROTECTED]
Date:
Wed, 9 May 2007 16:37:56 -0400
To:
Tomcat Users List users@tomcat.apache.org
To:
Tomcat Users List users@tomcat.apache.org
you and sven need to search
FYI-
http://dev.mysql.com/doc/
-Terence M. Bandoian
Subject:
Re: Msql Connector/J
From:
Martin Gainty [EMAIL PROTECTED]
Date:
Wed, 9 May 2007 16:37:56 -0400
To:
Tomcat Users List users@tomcat.apache.org
To:
Tomcat Users List users@tomcat.apache.org
you and sven need to search
Good Evening Terrence
Many Thanks for the followup
Following up on svens original request of installing JForum which has create
table script which requires MySQL with Engine=INNODB
Any idea on how to configure MySQL with ENGINE=INNODB would be much
appreciated or does MySQL have to be rebuilt
You could use request.getUserPrincipal but JNDIRealm doesn't create a
Principal with the details you need.
That being said - your own code might be the way to go. (An easy
solution could be to create a servlet filter which wraps the servlet
request and overrides getUserPricipal to return the
Hello list,
I need to setup 4 Tomcat on one host, this host has multiple IPs, is it
possible to set them up with multiple IPs using the same listening port
8080? If it is possible could you let me know how? I tried configure
different Host name in server.xml seems does not work in this way.
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: WAR deployment incomplete (sometimes)
Found this article.
http://archives.devshed.com/forums/java-118/missing-application-web-xml-
1620719.html
Which, unfortunately, came to what I think was the wrong conclusion. I
suspect the
On 5/9/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
I agree, from my experience IE times out when the connection is taking
too long to send a response back, I haven't experienced a timeout with
FF.
You may want to consider a paging algorithm, if your data set is too
large, it is not good practice
Hi,
Thank you for your explanation.
Actually, we don't need this feature in our application, so i want to
disable the persistence of session. However, we are running tomcat 5.0.28
and for several reasons, we don't want to upgrade for now. Is it possible to
disable this in 5.0.28 ? I saw only
On 5/9/07, mélanie langlois [EMAIL PROTECTED] wrote:
Hi,
Thank you for your explanation.
Actually, we don't need this feature in our application, so i want to
disable the persistence of session.
To disable the persistence of session add this
Manager
Hi.
I have a jsp page and want to get hold of the absolute path to the context root
/doc base directory.
I have my tomcat application deployed under /foo/bar/tomcat/webapps/ROOT/
This is the path I want to retrieve programmatically rather than hard code it.
Is there a way to do this?
Hi.
10May2007 @ 15:14 Luke Vanderfluit thusly spake
Hi.
I have a jsp page and want to get hold of the absolute path to the context
root /doc base directory.
I have my tomcat application deployed under /foo/bar/tomcat/webapps/ROOT/
This is the path I want to retrieve
80 matches
Mail list logo