Hi all !
I've developed a servlet (BinaryStreaming based on StreamingContent
by Raj Behera) which does a binary stream of a mpeg video file which is
created progressively (by another servlet/software/Unix command/... not
important ) and finally read and played by Quicktime.
I use Apache and
Hi Joaquim,
I think you always should do a COMPLETE release of the war file.
So you always have an atomic, conistent relase.
When it comes to rollback, versioning etc. you're much better off in having
a complete release as war file.
You can use hot deployment, so when you copy the new war file
Hi,
How to configure connection pools for Oracle in Tomcat.
follwing code included in the server.xml file even connection pool in not
configured.copied the Oracle driver into lib directory.
Resource name=XYZDS auth=Container
type=javax.sql.DataSource
Hi Everybody,
Is it any difference will come between Tomcat and Jboss-Tomcat.
Which is best for Executing executing only JSPs.
Regards
Sridhar
Hi,
How to configure connection pools for Oracle in Tomcat.
follwing code included in the server.xml file even connection pool in not
configured.copied the Oracle driver into lib directory.
Resource name=XYZDS auth=Container
type=javax.sql.DataSource
Is it worth writing a quick ksh script to validate your hypothesis that
the environment (and specifically LD_LIBRARY_PATH) isn't being passed
through?
additionally (as a crap workaround) you could create a quick script
which would set the LD_LIBRARY_PATH path and then invoke python, and use
OK,
a) windows standalone need that mcastBindAddress is set to 127.0.0.1.
b) Please, use for consists sessions handling sticky session at mod:jk,
backup is only for failover.
c) Used tomcat 5.5.9 with cluster fix pack
http://issues.apache.org/bugzilla/show_bug.cgi?id=34389
Peter
read documenctation:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
Robert Abbate schrieb:
Hello. We run a webhosting environment, and in previous releases we were
able to have separate logs for *each* virtual host by using something like
this:
Host name=mydomain.com ...
...
Why you use your own SesssionManager?
Log say that your backup node is down.
Why you don't use the cluster domain feature?
T1 and T3 Domain 20 at port 10020
T2 and T4 Domain 21 at port 10021
T1 and T2 hosted at host 1
T3 and T4 hosted at host 2
Apaches at host 1 and host 2
Sridhar,
For just JSPs, you only need Tomcat. I think that JBoss will be needed
if you use EJBs.
Jim
Sridhar wrote:
Hi Everybody,
Is it any difference will come between Tomcat and Jboss-Tomcat.
Which is best for Executing executing only JSPs.
Regards
Sridhar
For only jsp use tomcat ... More easy to configure and run
-Original Message-
From: ohaya [mailto:[EMAIL PROTECTED]
Sent: 19 July 2005 10:57
To: Tomcat Users List
Subject: Re: Tomcat vs Jboss-Tomcat
Sridhar,
For just JSPs, you only need Tomcat. I think that JBoss will be needed
if
Hi,
I want Tomcat to handle dynamic content like JSPs and Apache to deliver
static content like gif files. Therefore my config files for mod_jk include:
JkMount /test/* worker
JkUnMount /test/*.gif worker
But if users disable cookies
img src=c:url value=/test.gif/
generates URLs like
Hello,
If I try executing the following JSP code (taken from
www.hipergate.org):
FileInputStream oFileStream = new
FileInputStream(Gadgets.chomp(Environment.getEnvVar(KNOWGATE_PROFILES),java.io.File.seperator)+hipergate.cnf);
oProfile.load(oFileStream);
I get this error page:
HTTP Status 500 -
Jim,
First of all, thanks so much for your help.
I have got same conclusions.
Your Subject is inaccessible directly in your web application, using jaas
realm in tomcat .
You must use request.getRemoteUser and request.isUserInRole.
I think that is impossible to access the list of user´s roles.
Hi,
Tomcat is better for the JSPs, But my main problem is my server able to
handle 2000+ requests per second.So which is better one Web Server or
Application Server.
Rgds
Sridhar
- Original Message -
From: Raghupathy,Gurumoorthy [EMAIL PROTECTED]
To: 'Tomcat Users List'
Has anyone pointed out to you that JBoss uses Tomcat for JSP/Servlets?
Therefore the question is not is Tomcat better, but what management features
you need and which functionality from the J2EE stack you require.
Allistair.
-Original Message-
From: Sridhar [mailto:[EMAIL PROTECTED]
Hi all,
I am using JAAS with EJB, i.e. inside MyLoginModule i use an EJB in
order to authenticate the user.
When I try to get the Home Interface, I have the ClassCastException in
the PortableRemoteObject.narrow method.
I use Tomcat 5.0.28 and Jboss4.0.2 (EJB container) running in two
separates
Never mind my question. I solved the problem by adding
a security policy in /etc/tomcat.
Sorry for the newbie question...
--- Vieri Di Paola [EMAIL PROTECTED] wrote:
Hello,
If I try executing the following JSP code (taken
from
www.hipergate.org):
FileInputStream oFileStream = new
Hello,
how do I track sessions without using cookies or URL-writing?
Following the Servlet API 2.3, the third way to track sessions is by
using the SSL-Layer to hold the ID.
I have tried that out with my installation (Apache 2.0.47, mod_jk2,
Tomcat 5.5.4) and followed the
configuration hints
Hi, I'm just looking for the best way to include/embed single
instances of webapps across various websites.
This includes the ability to wrap the webapps in each website's look and feel.
What solutions have others used or would you use to achieve this?
Thanks, pete.
Rogerio,
Re. Jo's message: I didn't interpret his message to mean that you could
access the Subject, but rather, I think that he was suggesting that you
could access the Principal using request.getUserPrincipal(), and then
you could do something like casting the object returned by the
Hi,
We have Apache and
Tomcat installed in Sun OS 5.8.
When i am trying to
deploy a new web application in the server , i am getting the following
Ok, Jim
You are right in this point.
It´s possible to get Principal but not Subject.
Rogerio
- Original Message -
From: ohaya [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, July 19, 2005 1:10 PM
Subject: Re: JAASRealm and Subject
Rogerio,
Thanks. That's actually the document I used as a reference. I actually
fixed the issue. The document references an Engine named Standalone
in the server.xml. With tomcat 5.5 I had to change the engine name is
Catalina
David A. Morrow
Technical Systems Lead
Autodata Solutions Company
[EMAIL
Hi
I have tc4 working fine. Installed tc5.5.9 and set
the port to 9080 and of course a diff dir. However I
cant connect to it at that port even tough I have his
from the tc5 server.xml
!-- Define a non-SSL HTTP/1.1 Connector on port 8080
--
Connector port=9080 maxHttpHeaderSize=8192
Also set the shutdown port at the top of the server.xml to something
other than 8005 .
--David
Chris Pat wrote:
Hi
I have tc4 working fine. Installed tc5.5.9 and set
the port to 9080 and of course a diff dir. However I
cant connect to it at that port even tough I have his
from the tc5
We are running
- Apache Tomcat/5.5.7
- JVM=1.5.0_02-b09
- Sun Microsystems Inc. SunOS 5.9 sparc
When our developers try to use the manager application to deploy a war file
using the Select WAR file to upload and then click the Deploy button.
The application gets deployed but the app.war stays
Hi David
Thanks for the response, however I set it to 8006,
checked to make sure nothing in that file of tc4 was
on that port, bounced tc5 and I still cant get in on
that port. This is the second un/reinstall reboot
today. Yes, it is a wintel box w2ksrvsp4. Any ideas?
--- David Smith [EMAIL
Take a look at the log file catalina.out and see if there are any errors
there. An exception is most likely causing it to fail on startup.
Chris Pat wrote:
Hi David
Thanks for the response, however I set it to 8006,
checked to make sure nothing in that file of tc4 was
on that port, bounced
Hi Chris
Check if there is a enviroment variable called CATALINA_HOME.
It can make things don´t work.
Rogerio
- Original Message -
From: David Smith [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, July 19, 2005 4:32 PM
Subject: Re: tc4 tc4
Hi Rogerio
Thanks. But isnt that the same environment var for
TC4 excluding simultaneous instances?
--- Rogerio Baldini das Neves
[EMAIL PROTECTED] wrote:
Hi Chris
Check if there is a enviroment variable called
CATALINA_HOME.
It can make things don´t work.
Rogerio
- Original
Hi David
Thanks. I sheepishly have to be a, temporary,
subscriber to RTFM. The log complains that it needs
jdk1.5, of course I knew that but was still thinking
that there was a way to run it on jkd1.4. Is there?
Or can I give tc5 the location of the jdk1.5 not as an
environment variable and
Theres a patch you can download for jdk1.4. jakarta.apache.org
From: Chris Pat [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: tc4 tc4
Date: Tue, 19 Jul 2005 13:03:35 -0700 (PDT)
Hi David
Thanks.
From: Chris Pat [mailto:[EMAIL PROTECTED]
Subject: Re: tc4 tc4
The log complains that it needs jdk1.5, of course I
knew that but was still thinking that there was a
way to run it on jkd1.4. Is there?
Yes, just download and unzip the compatibility package from the main
Tomcat download
We are running
- Apache Tomcat/5.5.7
- JVM=1.5.0_02-b09
- Sun Microsystems Inc. SunOS 5.9 sparc
When our developers try to use the manager application to deploy a war file
using the Select WAR file to upload and then click the Deploy button.
The application gets deployed but the app.war stays
Hi Chris,
You need to have your tc4 and tc5 running with different enviroment
variables.
To work in this way, you must edit /path/to/tc4/startup.bat and insert in
the beginning:
set CATALINA_HOME=..
set JAVA_HOME=/path/to/java1.4
and /path/to/tc5/startup.bat :
set CATALINA_HOME=..
set
Hi,
I am new to servlets, and need to install one for some specific application.
This application requests tomcat 3.3.x, but looking at the page
http://jakarta.apache.org/tomcat/index.html, I would like, of course, to
install the latest and greatest.
However, it is NOT clear, whether tc 5.5.x
Servlet/JSP Spec 2.4/2.0
Tomcat 5.5 uses the Jasper 2 JSP Engine to implement the JavaServer Pages
2.0 specification.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html
From: Leonardo Lagos [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
I'm using tomcat 5.5.7. When I go to configure it though the monitor and try
to set the login account it doens't seem to save them. After setting and
hitting Apply/OK and then re-opening the configuration screen the setting is
always set back to Local System Account??
Thanks
,Ryan
As others have suggested, the compat package will fix you up for running
w/ jdk 1.4. It's right where you downloaded tomcat 5.5 .
--David
Chris Pat wrote:
Hi David
Thanks. I sheepishly have to be a, temporary,
subscriber to RTFM. The log complains that it needs
jdk1.5, of course I knew
I think, this is not realy about Tomcat nor Jboss-tomcat.
You should consider about clustering (run more instances of your web
server to handle requests simultaneously). You can achieve this quite
easily with multiple tomcats+some hardware load balancer
Sridhar wrote:
Hi,
Tomcat is better
Sorry if this is an oft-repeated question. Digging through old archives
of this list and Google haven't turned up anything directly related.
I'm trying to run Tomcat 5.5.9 as a windows service (installed it using
service.bat), but for some unknown reason, it does not pick up the
I have log4j-1.2.11.jar in Tomcat\common\lib and log4j.properties in
Tomcat\common\classes\.
-Original Message-
Sorry if this is an oft-repeated question. Digging through
old archives
of this list and Google haven't turned up anything directly related.
I'm trying to run Tomcat
Any thoughts?
From: David Hay [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Re: mod_jk - multiple workers for same Tomcat instance?
Date: Thu, 14 Jul 2005 15:00:33 -0400
Hi,
We have set up several contexts eg one for
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 * from test
Hi,
I have some problems when turning the security manager of Tomcat 5.5.9 on.
When I load a JSP that has to be compiled after being changed I get a strange
exception:
ERROR [19.07.2005 23:30:45] (ApplicationDispatcher.java:704) -
Servlet.service() for servlet jsp threw exception
Well, my first attempt was to get Python built so that
it doesn't need the LD_LIBRARY_PATH set. I'm still
working on that.
As far as the CGIServlet definition, I was under the
impression that Tomcat only allowed one CGIServlet? I
got this from the doco...
Tomcat's CGI support is largely
I had a hard time trying to configure Tomcat to authenticate with MS
Active Directory Service, i tried a lot of samples, i edited them but i
didn't get nothing. This is the last configuration i tried:
/META-INF/context-xml:
?xml version=1.0 encoding=UTF-8?
Context path=/moretests
Realm
Hi All,
I think I have tomcat running in debug mode on a linux, I did this by running
the catalina run debug command but I don't know the debug commands to run to
get to start Tomcat, watch the variables, put debug points etc. Thanks in
advance for providing this info.
Thanks,
Jyothi
If you arent closing connections, then exhausting the connection pool
is the expected, eventual result.
Read the document at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html,
paying special attention to the example of properly written code
[using] a db
Murad,
I'm not 100% sure what you're asking -- like what do you mean by jar
strips the execute file permissions from my programs? -- but i'm
assuming you cant do it. In fact, I will be more than a little
alarmed if a packaged web app can include and run arbitrary
executables unless specifically
Sorry, I managed to edit some really pertinent information from my
previous post.
Logging is working at some level through the service. However, it
doesn't seem to be picking up anything from log4j.properties, whether
it's in %CATALINA_HOME%\common\classes or MY_WEB_APP\WEB-INF\classes.
When
In a message dated 7/19/2005 2:56:49 PM Pacific Standard Time,
[EMAIL PROTECTED] writes:
[EMAIL PROTECTED]
Hi,
I would like to know how to start-up tomcat as services under LINUX and at
the same time start-up apache after tomcat has started.
How to check whether tomcat is already started before apache is started ?
I don't have this on windows system.
Murad/Alon,
This has nothing to do with a SecurityManager. Murad is trying to run
the executables on the server - from one of his servlets I assume.
The problem is the fact that a war files is basically just a zip file.
It does not maintain the file attributes that are specific to a
particular
Put a script that starts Apache and Tomcat into the /etc/rc.d/init.d folder.
U can modify the rc.local script to run the script when Linux boot.
U can run a ps -ef | grep command to check whether Tomcat is running before
u start running Apache. By the way, y do u need to start Tomcat first before
dummy wrote:
Hi,
I would like to know how to start-up tomcat as services under LINUX and at
the same time start-up apache after tomcat has started.
How to check whether tomcat is already started before apache is started ?
I don't have this on windows system.
You could use netstat -tlp
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 *
58 matches
Mail list logo