Hi all
is it possible to load a java class with -D option in tomcat ??
Thanks
Regards
Swetha
Regards
Swetha
Yahoo! India Matrimony: Find your life partneronline.
JAVA_OPTS=-D= -Dfile.encoding=ISO-8859-1
export JAVA_OPTS
[start tomcat]
Viorel Dragomir
.
..
---
- Original Message -
From: swetha Ranganathan
To: tomcat-user@jakarta.apache.org
Sent: Monday, March 21, 2005
Hi Geoff,
The general concensus I believe is to use a combination of Ant and source
control (CVS, VSS). In our case, we have 4 developers all with Eclipse and
local workstation Tomcat instances. We all check in to VSS via the VSS Plugin
in Eclipse.
When we wish to perform a staging or
I'm developing an application which is a java servlet, deployed on tomcat 5.5
Now, I want my application to take raw data from the client through
sockets, for that it has to make a socket connection and listen that
port for data.
I've heard that we can create Connectors in Tomcat, which can
In fact, what I really want is to prevent any other IIS or Apache to connect
to my 8009 connector port, for my IIS machine is used for authentication. I
don't want that someone can bypass this.
I tried to use a Request Filter valve by adding this in my server.xml :
Valve
Hi,
I'm trying to adjust the mod_jk2 JkUriSet entries for my server
(apache 2.0, mod_jk2, tomcat 4.x).
Specifically, I'm trying to set up some static files to be served
by apache, not by tomcat. However, it seems the LocationMatch is very
greedy and tends to intercept *all* requests
Hello guys,
I am not able to configure apache web server 2.something with apache
tomcat 5.5.7. I am running centos 3.3.
I installed mod_jk.
I also changed httpd.conf files..
Also server.xml file in tomcat / conf directory
Can anyone help?
Can someone tell me an example of how to
One solution would be to map a Filter to whichever URLs you wish to
override the browser settings. In the Filter wrap the request, using a
sub-class of javax.servlet.http.HttpServletRequestWrapper, before
passing the request to the rest of the chain.
In your wrapper sub-class override the
Hi All,
The beta mod_jk 1.2.9(and older) produce a lot of errors like this:
[EMAIL PROTECTED] # tail catalina.out
Mar 21, 2005 12:48:07 PM org.apache.jk.common.ChannelSocket
processConnection
INFO: connection timeout reached
This is not solved yet, so what can I do about them?
I just finished dealing with the same problem. In the end I ended up having
to install a new version of linux (rh 9 - rh enterprise) to resolve it. I'm
not sure about the exact cause, but given that the problem acts like a
socket problem (Hard to tell without errors) I'm guessing that that would
In fact, what I really want is to prevent any other IIS or Apache to connect
to my 8009 connector port, for my IIS machine is used for authentication. I
don't want that someone can bypass this.
I tried to use a Request Filter valve by adding this in my server.xml :
Valve
Why not try blocking traffic at the router level? Your network router should
allow you to configure which machine can connect to your tomcat.
- Jim
-Original Message-
From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 5:36 PM
To: SANTOS, DANIEL
Isn't a firewall what you really want/need, i.e. to disallow connections
to port 8009 except when they come from your IIS server?
VAN DER MARLIERE FREDERIC wrote:
In fact, what I really want is to prevent any other IIS or Apache to connect
to my 8009 connector port, for my IIS machine is used
I need to have a bug registered for this as I could convince my
manager. I searched bugzilla but could'nt find one. If anyone know the
relevant bug# please post it or shall I post a bug report and any one
close it immediately ?.
On Wed, 9 Mar 2005 15:05:13 +0530, Antony Paul [EMAIL PROTECTED]
Hi,
I've stumbled over a bug in the mod_jk, which can be described by:
If I send request using HEAD method to a servlet, the servlet allways shows the method as GET. POST method works as expected.
I've made attached servlet to verify the nature of the problem. I'm using the following
Sander de Boer wrote:
The beta mod_jk 1.2.9(and older) produce a lot of errors like this:
INFO: connection timeout reached
Without configuration files, Apache version, OS, etc...,
it's hard to tell, but I suspect that you have some problems
with either your clients being slow for the connection
Hello,
I'm trying to use a Novell LDAP server, and let it manage the Passwords
instead of my webapp. Unfortunately I've found that the JNDIRealm doesn't
tell me the reason of the failure when authenticating a user.
In this case I cannot know where to redirect in the Novell portal ( Forgot
Arnar Gestsson wrote:
If I send request using HEAD method to a servlet, the servlet allways
shows the method as GET. POST method works as expected.
This has been fixed already see:
Hi,
I've been getting the following exception on tomcat when I tried to send
serialized data via HttpURLConnection to the servlet from applet.
java.io.StreamCorruptedException: invalid stream header
at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
at
Hi,
Does anyone know what is the default behavior on Content-Length header for
tomcat? If I do not set it in the http request will tomcat still able to
handle the binary data in the content correctly? I do set the
Content-Type to application/octet-stream btw.
Thanks,
Simon
I am about to update from Red Hat 7.3 to Red Hat Enterprise Server 3. This a
move from Linux 2.4 kernel to a 2.4/2.6 hybrid.
The Native Posix Threading Library (NPTL) is the biggest change there seems
to be, does this cause any problems with the 1.5 JVM?
Is anyone running Tomcat 5.0.28 with
I have configuration issues
Im running Centos 3.3
I am trying to configure apache webserver with apache tomcat 5.5.7
I installed mod_jk.so in modules directory
However my mod_jk is not listening?
Any suggestions and hints will be appreciated
vaneet
-Original Message-
From: Andrew
Hi Mladen,
System: Solaris 8
Apache: 2.0.53
Mod_jk: 1.2.9(or older)
Tomcat: 5.0.30 (different machine)
workers.properties: attached
tomcat's server.xml
Connector port=8082
minProcessors=150 maxProcessors=255
enableLookups=false acceptCount=10
Hello,
I think I have found something very interesting to solve my problem. I
tried to put the Jini jar-files (jini-core.jar, jini-ext.jar and
sun-util.jar) in $CATALINA_HOME/common/lib, or
$CATALINA_BASE/shared/lib, or anywhere if I set correctly the classpath
in setclasspath.sh (instead of
Sander de Boer wrote:
Connector port=8082
minProcessors=150 maxProcessors=255
enableLookups=false acceptCount=10
debug=0 connectionTimeout=3
disableUploadTimeout=true
protocol=AJP/1.3 /
The docs says socket_timeout
Hi,
I'm having a problem with v.5.0.18 that I didn't have in v.4.x earlier:
I'm creating a new dir under /webapps, with the webinf and webinf/classes etc.
contents. But when I try to acess localhost:8080/newdir, I'm told that it
doesen't
exist, even though the other dirs (servlets-examples etc)
What are the advantages or the reason for the popularity of
servlet api vis-a-vis the web server specific api ?
Say Netscape server or IIS server also have their own
specific api's as well where one could write server side
code. But the servlet api is so popular and wide spread and
one could
Hi
I have made one servlet for JINI/RIO for
http://compiere-mfgscm.sourceforge.net/
It works and it is license apache v2.
It is not already online because it is part of a lot of softs, I am
currently testings.
I will publish during may probably.
If you need I can send you elements.
Contact me on
From: brian [mailto:[EMAIL PROTECTED]
Say Netscape server or IIS server also have their own
specific api's as well where one could write server side
code. But the servlet api is so popular and wide spread and
one could argue that java sdk is free but then companies buy
the third party
For the page:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
For the sample log4j.properties file, I would recommend changing:
log4j.appender.R.File=${catalina.home}/logs/tomcat.log
To
log4j.appender.R.File=${catalina.base}/logs/tomcat.log
George Sexton
MH Software, Inc.
I have customers running my software on
WebSphere
WebLogic
Orion/Oracle 9iAS
Tomcat
Resin
Jrun
With no specific modifications for any specific product. If you want to sell
into an enterprise market, the ability to run on various enterprise servers
is a winner.
George Sexton
MH Software, Inc.
Some of the reasons I know as a programmer is
Servlet API ( its an extension of j2SDK and part of of J2EE)
1) It take care of many hidden programming implementations like
connection to database, connection to remote hosts... Can be done with
one method calls,
While if u use SERVER API , then
The problem is with Tomcat, not with the mod_jk.
Try to add socketTimeout=3 (30 sec.) to the AJP connector.
The INFO message is related to the Tomat's socket.read
throwing timeout exception.
Tell me if that helped.
If have added the socketTimeout option:
Connector port=8082
sander wrote:
If have added the socketTimeout option:
Connector port=8082
minProcessors=150 maxProcessors=255
enableLookups=false acceptCount=10
debug=0 connectionTimeout=3
disableUploadTimeout=true
socketTimeout=3
Hi,
Please, can someone help me get started with this. I've used v4.x before,
and it was very simple to just create your own dir with the necessary
web.xml etc. and the deploy simple servlets.
Now, I've downloaded JWSDP and tomcat50-jwsdp, and nothing makes sense anymore.
What I want to do is
I am doing some investigation into upgrading from our Tomcat 5.0.x
servers to Tomcat 5.5.x and I am
trying to get everything working. In the old tomcat 5.0.x I was able to
create a realm which authenticated
against our ADS server. However, I cannot get it to work in Tomcat
5.5.7.
The
So, you still have 'connection timeout reached'?
yeah
No, you said that the 1.2.9 behaved like that as well.
So I suppose 1.2.8 and 1.2.6 do that as well?
1.2.8 and 1.2.9 in any case.
I have 1.2.6 not tested yet.
Also inside your workers.properties you have:
# Specifies the load balance factor
I've never used common/endorsed. Have you tried common/lib?
Speculation: common/endorsed, though listed on this page:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
might only be used in cases where you are attempting to 'override'
JDK-supplied classes. On the previous
oeps wrong url:
http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/msg69476.html
- Original Message -
From: Mladen Turk [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, March 21, 2005 6:33 PM
Subject: Re: connection timeouts mod_jk 1.2.9
[EMAIL PROTECTED] wrote:
Now, I've downloaded JWSDP and tomcat50-jwsdp, and nothing makes sense anymore.
What I want to do is the following:
- create a directory in the /webapps dir, and place my small servlets in that
dir and run them.
I don't know anything about JWSDP, but have you read the
Hi,
CERT released a vulnerability note on Tomcat 3.x last week.
See the following url for details:
http://www.kb.cert.org/vuls/id/204710
We are running two configurations of Apache and Tomcat:
Apache v1.3.27 with Tomcat v4.1.29
Apache v1.3.27 with Tomcat v4.0.6
I'm trying to determine if
That seems like overkill. Did you try turning up the debug level of
your Realm?
Realm className=org.apache.catalina.realm.JNDIRealm
debug=9
connectionURL=ldap://localhost:389;
userBase=ou=people,dc=mycompany,dc=com
userSearch=(mail={0})
userRoleName=memberOf
This vulnerability note has to be amongst the most vague and least
informative I've ever seen. It says that Tomcat 3.x and AJP12 has an
issue and that the issue is not present in Tomcat 5.
What about Tomcat 4 and 4.1? What about AJP13? The report simply does
not address any of these
Hello there,
I am using Tomcat 5.0.28 and deploying websites each as a webapp:
i.e.
/www_enthusiastinc_com
WEB-INF/web.xml
images/
components/
index.jsp
If I have an update to a few files within the webapp, I am trying to
deploy those updates without having to manually
I have a rather strange problem. I have two RedHat machines running
Tomcat in a clustered arrangement. I am using the built in Cluster
element from tomcat 5.5.4. When idle, the machines seem to be working
fine. In fact, even under a slight load the machines perform well. I
can open up a
Hi,
I've got some operations I'd like to do (transaction logging and some
web service calls) after the servlet response is sent to the user.
Rather than creating a new thread every time, is there a way to do
this in my servlet so that it uses tomcat's processor thread, but is
executed after the
Jess Holle [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This vulnerability note has to be amongst the most vague and least
informative I've ever seen. It says that Tomcat 3.x and AJP12 has an
issue and that the issue is not present in Tomcat 5.
What about Tomcat 4 and 4.1?
On Mon, Mar 21, 2005 at 05:43:40PM -0800, Garth Patil wrote:
: I've got some operations I'd like to do (transaction logging and some
: web service calls) after the servlet response is sent to the user.
: Rather than creating a new thread every time, is there a way to do
: this in my servlet so
Why don't you create a filter? They are designed to interact with the
request/response loop either before the servlet is kicked off or after the
servlet gets called.
HTH
--
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com
On 3/21/05 10:13 PM, QM [EMAIL PROTECTED] wrote:
On
I'm trying to use DIGEST authentication with Tomcat, and it doesn't seem
to work. I found some articles with Google about IE implementing DIGEST
authentication in a way that only worked with MS servers, and I assume
that hasn't been corrected. But I'm also using Firefox with the same
results
Hi ,
I installed a trial-client-cert , but iam facing an error while
accessing my secured .jsp ,.Appreciate if any one can help us in
resolving this issue.
Here are the steps which I followed after installing the trial
client-cert:
Webserver: Tomcat
1) included an option called -auth in my
I just completed a build of Tomcat 5.5.7 on Windows XP, after using the
binary distribution for quite a while. Can I delete the 166 MB of stuff
in the \usr directory? I didn't have any of this stuff with the binary
distribution, so I guess it was all temporary files used to do the build?
-Mark
Bill Barker wrote:
Jess Holle [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This vulnerability note has to be amongst the most vague and least
informative I've ever seen. It says that Tomcat 3.x and AJP12 has an
issue and that the issue is not present in Tomcat 5.
What about
I'm hitting the error below with tomcat 5.5.8
This happens when I click on any object contained in a service (Host,
connector, etc). Clicking on a resource and the user database works.
The server.xml is at:
http://www.mhsoftware.com/~gsexton/server.xml
And the admin.xml is:
54 matches
Mail list logo