In RUNNING.txt there is the sentence, that I have to install a JDK before running
TOMCAT - is there a possibility to run TOMCAT in conjunction with the JRE only? (On
our HP-UX, there's only JRE installed).
If yes, is there some guideline what to change, because in the startup scripts there
will
My tomcat hangs after around 30 requests to my struts-servlet. Tomcat doesn't write
anything to some log (I had also set debug in server.xml) and doesn't shutdown (I had
always to use kill -9 xx). I also looked to the garbage collector (JVM option
-Xloggc:gc.log), but the heap size were about 64
How can I configure 2 JK2 connectors on one server?
e.g.
...
...
If I have only "jk2handler one", its properties are fetchted from
$CATALINABASE/conf/jk2.properties.
BUT what if I also have "jk2handler two"? Where can I assign a different properties
file or how can I arrange
I tried to debug my webapplication on my (local)tomcat with eclipse and JPDA. Both
(JDK and Eclipse) seems to allow JPDA, but I always got an "Failed to connect to
remote VM. Connection refused" error from eclipse.
My Environment: Win2000, JDK 1.3.1 (Sun), Tomcat 4.1.18, Eclipse 2.1 and 2.0
I d
liche Nachricht-
Von: Christian Traber [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 29. Juni 2003 15:01
An: Tomcat Users List
Betreff: Re: Tomcat, Eclipse, Debug, JPDA
Pfingstl Gernot wrote:
>I tried to debug my webapplication on my (local)tomcat with eclipse and JPDA. Both
>(JDK and Ecl
org.apache.catalina.startup.Bootstrap
start
Regards,
Gernot
-Ursprüngliche Nachricht-
Von: Pfingstl Gernot
Gesendet: Montag, 30. Juni 2003 16:15
An: Tomcat Users List
Betreff: AW: Tomcat, Eclipse, Debug, JPDA
Thank you, it works fine! But I also want to know why direct JPDA connection do
If I define a resource in (in server.xml) I can use this
resource in my web-application only if I use in my context. So it seems
to me it isn't possible to use a resource defined in unless I
permit the use with a in the context or the engine.
Is this right??
Because I didn't find a sentenc
>
> Pfingstl Gernot wrote:
> > If I define a resource in (in server.xml) I
> > can use this resource in my web-application only if I use
> > in my context. So it seems to me it isn't possible to
> > use a resource defined in
If I want to use a DataSourceRealm (tomcat 4.1) like
I had to configure a JNDI named JDBC DataSource "java:/comp/env/jdbc/authority". So
all web applications can also use this DataSource and can read the user-table - this
is possibly a security hole. Is there a way to prohibit web applications
I want to use one JDBC connection pool in my tomcat (4.1) instance for all contexts;
therefore I configure the DataSource in . In each context I put
a so I can obtain the DataSource in my applications.
But now I have the problem that I had to execute some SQL statements (e.g. a "set
role" state
ginal Message-
From: ext Pfingstl Gernot [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 3:32 PM
To: [EMAIL PROTECTED]
Subject: DataSource Realm
If I want to use a DataSourceRealm (tomcat 4.1) like
I had to configure a JNDI named JDBC DataSource "java:/comp/env/jdbc/authority
Hi!
I'm preparing to upgrade from tomcat 4.1 to 5.5. I've a lot of apps, which have
a context path with subdirectories (e.g. "/dir1/app1" ...) and it seems that
tomcat 5.5 doesn't allow this.
In the tomcat 5.5 docs (.../tomcat-docs/config/context.html) in the description
of "path" there's the s
reff: Re: tomcat 5.5; context-path
On Fri, May 06, 2005 at 10:07:32AM +0200, Pfingstl Gernot wrote:
: This seems to me to have only context path with has the same value as the name
: of the context.xml file.
: I want to use context.xml files and not put context information into
: server.xml.
: So
Switching on security manger I can add permissions to my webapp calsses e.g.
with
grant codeBase
"file:${catalina.base}/webapps/examples/WEB-INF/classes/-"
If I choose to use 'unpackWAR="false"', I don't have anything in my
${catalina.base}/webapps directory and my 'docBase' (my example
I'm using tomcat 5.5.9, my server.xml contains
I tried it also with 'unpackWARs="true"' - with the same result.
{catalina.base}/conf/context.xml is the default one:
WEB-INF/web.xml
I have mycontext.xml in {catalina.base}/conf/Catalina/localhost:
Every time I update my somewhat.
Tomcat 5.5 doesn't use commons-dbcp directly, the tomcat team took the source
and put it in other packages.
So you should use org.apache.tomcat.dbcp.dbcp.BasicDataSource instead of
org.apache.commons.dbcp.BasicDataSource in your source - btw why do you cast to
BasicDataSource, you can use javax.
I use org.apache.tomcat.dbcp.dbcp.BasicDataSource, then my code is not
portable to JBoss/Weblogic etc right? BTW, which jar is
org.apache.tomcat.dbcp.dbcp.BasicDataSource in?
Thanks for your response.
Dhiren
On 5/9/05, Pfingstl Gernot <[EMAIL PROTECTED]> wrote:
>
> Tomcat 5.5 doesn't use commons-dbc
.jar*
jsp-api.jar*
On 5/9/05, Pfingstl Gernot <[EMAIL PROTECTED]> wrote:
>
> You can find org.apache.tomcat.dbcp.dbcp.BasicDataSource in
> common/lib/naming-factory-dbcp.jar.
> If you put commons-dbcp.jar, commons-pool.jar and commons-collections.jarin
Wen launching webapp B (from A), you can pass jsessionid as url parameter (not
as jsessionid) to B; with this jsessionid you can call A from B for keep-alive.
Gernot
-Ursprüngliche Nachricht-
Von: Patrick Lacson [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Mai 2005 06:57
An: Tomcat U
Did you try to define your datasource in ? And then you
only have to define a resource-link in your contexts.
-Ursprüngliche Nachricht-
Von: Cook, Jared [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 12. Mai 2005 21:23
An: 'tomcat-user@jakarta.apache.org'
Betreff: Sharing Data Sources
You can install your apps whereever you want, you only have to put a
context.xml file in conf/[enginename]/[hostname] and set the docBase Attribute
to your app directory or war file.
-Ursprüngliche Nachricht-
Von: Bill Winspur [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Mai 2005 11:
See http://issues.apache.org/bugzilla/show_bug.cgi?id=34840
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Auftrag von teknokrat
Gesendet: Freitag, 13. Mai 2005 11:56
An: tomcat-user@jakarta.apache.org
Betreff: strange autodeploy behaviour on 5.5.9
I have set up a new inst
How can I depoly a war to a path like '/x/y'?
If I name the war x#y.war (and unpackWar="false") and put a
/META-INF/context.xml into the war, I get a work/Catalina/localhost/x#y
directory. Calling localhost/x/y in the browser causes a directory
work/Catalina/localhost/x_y will be created. In th
Sorry - I forgot to say: I'm using tc 5.5.9
-Ursprüngliche Nachricht-
Von: Pfingstl Gernot
Gesendet: Freitag, 20. Mai 2005 22:52
An: Tomcat User (E-Mail)
Betreff: war deploy
How can I depoly a war to a path like '/x/y'?
If I name the war x#y.war (and unpackWar=&qu
I want to compile my jsps before depolying my war, so I'm using the standalone
deployer build.xml.
In the web.xml (for the jsp servlet) I can set some options eg.
genStrAsCharArray or trimSpaces. How can I set these compile options in the ant
task?
Thx
Gernot
-
How can I deploy a webapp with the tomcat deploy-ant-task to a context path
e.g. /a/b?
I do not have a problem to deploy a app to e.g. /a but a context path with
subpaths does make problems.
I tried various versions ('path="/a/b"' or 'path="/a#b"') in combination with
varoius war names.
I also
ist
Betreff: Re: 5.5.9 - ant deploy
Not having done this myself, try with no path attribute and a war file named
a#b.war I think that was the recommendation from prior posts that worked.
Doug
- Original Message -
From: "Pfingstl Gernot" <[EMAIL PROTECTED]>
To:
Se
Are there any negative effects when choosing to set unpackWARs to false?
Performance?
Or what are the advantages to choose unpackWARS="true" (I will not edit any
expanded file)?
Gernot
-
To unsubscribe, e-mail: [EMAIL PROTECT
Opening a remote connection with jconsole to a tomcat 5.5.9 (jdk 1.5) running
with security manager works fine when disabling authentication
(com.sun.management.jmxremote.authenticate=false).
Using client auth & no security manager works well, too.
Using client auth & security manager throws se
I like to monitor my tomcat 5.5 (running on jdk 1.5.0) with jconsole.
If I run tomcat without security manager everything works well.
If I run tomcat with security manager, monitoring the tomcat mbeans works well
- but jconsoles memory view doensn't work!
Sun's doc says: "If your application runs
ole & security manager
You can find detail information here:
http://java.sun.com/j2se/1.5.0/docs/api/javax/management/MBeanPermission.html
Very simple config example:
http://mx4j.sourceforge.net/docs/ch03s10.html
Peter
Pfingstl Gernot schrieb:
>I like to monitor my tomcat 5.5 (running
31 matches
Mail list logo