Hello everybody,
i was to set up a tomcat webapp connected to a database through hibernate, but
haven't been able.
First my environment: opensuse 10.0 + hibernate 3.2 +jdk1.6 +tomcat 5.5.
I created a HibernateListener and a HibernateUtil to manage sessions.
I registered the Listener int the
Hi Fred,
mostly yes, but you could write modules, that break this assumption. An
indication is mod_cgi, which exists as mod_cgi and mod_cgid. Another
hint into this direction is, that httpd doesn't provide a clean way of
exchanging MPMs after compilation.
In general it is better to compile
Adding to Bill: it was used to embed the backend process into the Apache
httpd process space. It's not maintained any longer and we should add
appropriate wording to the docs: Don't use it..
Regards,
Rainer
fredk2 wrote:
Hi,
Reading the documentation for mod_jk (1.2.25 --enable-jni), I
Chris Pat wrote:
Hi David
That is just macro syntax. The real issue is why/how to avoid the security
violation on using xmlhttprequest when launching the webapp from localhost or
externally. I dont understand what to put where and how to access it so to
allow xmlhttprequest to execute.
Keep in mind an XMLHttpRequest is very much the same as any other client
side request as far as tomcat is concerned and follows the same rules.
As a test, try a direct access via the browser. If it doesn't work, it
won't work in javascript either.
--David
Chris Pat wrote:
Hi David
That is
Peter Warren [EMAIL PROTECTED] skrev i en meddelelse
news:[EMAIL PROTECTED]
As far as I under stand I should NOT close the stream object as I
didn't
open it.
That's my understanding too. When I said I was keeping connections
open, I meant I was opening connections from the client and not
thank you very much - that explains the scant references I found out there
:-)
Rainer Jung-3 wrote:
Adding to Bill: it was used to embed the backend process into the Apache
httpd process space. It's not maintained any longer and we should add
appropriate wording to the docs: Don't use
In a existing application I enforced SSL for login (environment tomcat/IE/).
The application was working fine before I make this change.
I am getting a javascript error on loading user data( used this for caching
http://msdn2.microsoft.com/en-us/library/ms531424.aspx ). For example
Hi
Does anyone know if the script tomcat_trend.pl requires a specific
JkRequestLogFormat string.
Doing a search through the list archives on my local machine I found the
following two settings being used:
JkRequestLogFormat %b %w %V %T %r
JkRequestLogFormat %w %V %T
But I am not sure what this
hi
I have not used it in long while but i think it required:
JkRequestLogFormat %w %V %U %s %T %B %H %m
Rgds - Fred
Gerhardus.Geldenhuis wrote:
Hi
Does anyone know if the script tomcat_trend.pl requires a specific
JkRequestLogFormat string.
Doing a search through the list archives
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
Eric B. wrote:
I couldn't find
any binaries for 1.2.25 compiled for http 2.0.52 - running CentOS4 and the
latest httpd is 2.0.52-32 - would any binaries later than 1.2.19 work on
that build?
Dude, just build your own. Here are the steps to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Dehmlow wrote:
The new session println() is called every time(even with the hack).
So, when you make a request with a URL including the jsessionid
parameter, it still gets ignored? This is one page, on one server,
right? Weird.
Hello,
I am in the process of trying to upgrade from Tomcat 4.0.6 to 4.1. I
installed JDK 1.4 and then installed Tomcat 4.1 using the Windows installer
package. I am able to successfully get to the Tomcat administration page.
However, I get the following error when I try to navigate to the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carol,
Carol Shi wrote:
I am trying to use struts to build web application.
#1: Don't hijack threads; start a new one if you want to ask a new question.
#2: Post struts questions to the struts list. They know all about Tomcat
over there, but this
Eric B. wrote:
JK version 1.2.10 is very old. A lot of things changed until we now
reached 1.2.25. Typically backend problems will be answered with a non 200
status code. Try a more recent version (like 1.2.25).
Thanks for the tip. I did just that and upgrade to 1.2.19 (I couldn't find
any
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Magnus,
Magnus Vojbacke (KA/EAB) wrote:
Although the warnings do not affect the
performance of our product, they are confusing to our users.
Are they inspecting catalina.out? If so, what will stop them from
reading whatever /other/ logfile you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chacko,
Chacko Kuruvilla wrote:
I am in the process of trying to upgrade from Tomcat 4.0.6 to 4.1.
If you're going to spend time upgrading and testing, why not jump to
Tomcat 5.5 or even 6.0? Tomcat 4 is /super/ old. I recently went from
4.1 to 5.5
Hi All,
I am rather new to these help forums so please bear with me;
I have always been able to find what I needed by searching the net and
more specifically the Apache site, up until now that is.
My problem is that the redirector catches the request,
matches it, and
Thank you Chris, an empty import was the issue. I was able to get to the login
page. Now, when I try to login, I get the following error even though I do find
the login page JSP and class file in the appropriate places.
The requested resource (/servlet/dchqweb.Userlogin) is not available
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chacko,
Chacko Kuruvilla wrote:
Thank you Chris, an empty import was the issue. I was able to get to
the login page. Now, when I try to login, I get the following error
even though I do find the login page JSP and class file in the
appropriate
Is there any way to retrieve Jk version on tomcat side?
I mean can I retrieve the jk version from request object?
Thanks in advance.
Matteo
Matteo Turra wrote:
Is there any way to retrieve Jk version on tomcat side?
I mean can I retrieve the jk version from request object?
Unfortunately no.
The version gets logged in the web server log file during startup (if
the module is relatively young) and on unix type machines you can get
I ran through the source a couple of times encode url will return the
parameter in many cases there is a bunch of logic to determine if the
session is supposed to be appended, but nothing is apparent as to why I've
been going through and trying to get a false in the logic that determines if
Hey,
I really need your help!
I am using Eclipse 3.2.2 and Tomcat 5.0.28.
In addition I am using Struts 1.1.
I have a project in Eclipse, which I want to run on Tomcat using Tomcat
plugin (com.sysdeo.eclipse.tomcat_3.0.0.alpha1). I set the project as a
Tomcat project and run the Tomcat.
On 9/11/07, minky arora [EMAIL PROTECTED] wrote:
Yes I can see the welcome page.HOWEVERR If i run the date.jsp or any
other exapmles provided by tomcat then I get,
ype Status report
message /tomcat-docs/config/context.html
That's not a JSP page, eh? Have you confirmed that the context(s)
sorry the files are here.
On 9/11/07, minky arora [EMAIL PROTECTED] wrote:
I am attching the 2 log files: one for localhost and the other for
catalina logs.I am sorry cnt figure out much as I am really a Newbie.
As for the context part, I was following point-point instructions
online to test
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chacko,
Chacko Kuruvilla wrote:
Thanks Chris, that took care of the login page issue. However, since
I ran into database connection problems, I decided to go back to
jdk1.3.1_09 which is what I am currently using with Tomcat 4.0.6. I
reinstalled
It sounds like Tomcat is having issues starting JVM to run Tomcat as a Windows
service. I did see similar issue reported by other users, but could not get a
specific one to resolve my issue. I re-installed with default setup as before.
-Original Message-
From: Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tal,
Tal Yaari wrote:
I have a project in Eclipse, which I want to run on Tomcat using Tomcat
plugin (com.sysdeo.eclipse.tomcat_3.0.0.alpha1). I set the project as a
Tomcat project and run the Tomcat.
[snip]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chacko,
Chacko Kuruvilla wrote:
It sounds like Tomcat is having issues starting JVM to run Tomcat as
a Windows service. I did see similar issue reported by other users,
but could not get a specific one to resolve my issue. I re-installed
with
Yep, I uninstalled both JDK 1.4 and Tomcat completely, then re-installed JDK
1.3 followed by Tomcat 4.1.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 11, 2007 2:59 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1 error
-BEGIN PGP
Hi,
I recently setup a server using Tomcat 5.5 on FreeBSD 6.2. I thought I
had everything locked down.
I run a nessus scan and found a strange Vulnerability. It says that states:
The remote web server contains a PHP application that is affected by
multiple vulnerabilities.
I am not using
Hello all,
I’m trying to set a system where I can deploy a single .war under multiple
context names (using the ant deploy extensions). For example:
ant -Ddeploy-path=/app-01 deploy
ant -Ddeploy-path=/app-02 deploy
Both deploy commands use the same .war. However, I’m trying to do
Can somebody help me with this issue? I am trying to setup Tomcat 4.1 on JDK
1.3.1. Installation was successful. However, got the following error in the
log file when trying to start the Tomcat service.
[2007-09-11 13:11:00] [394 javajni.c] [error] CreateJavaVM Failed
[2007-09-11 13:11:00]
From: Chacko Kuruvilla [mailto:[EMAIL PROTECTED]
Subject: Tomcat 4.1 error
I am trying to setup Tomcat 4.1 on JDK 1.3.1.
I don't think you're going to find too many people interested in
debugging anything on such an ancient JDK. (It passed end-of-life over
9 months ago.) You might try
On 9/11/07, minky arora [EMAIL PROTECTED] wrote:
sorry the files are here.
You can't send attachments to the list. Stop TC, delete your logs,
restart and go to one page to generate the error; paste the result
into your mail.
Sorry I am really confused as to how to connect JAVA and tomcat
Hi,
I have default tomcat 5.5 installation, and I would like to send the
tomcat start stop events to a separate log file for the class
org.apache.catalina.core
Can any one provide an example of a config for logging.properties that
would do that, it currently looks like this;
handlers =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chacko,
Chacko Kuruvilla wrote:
Yep, I uninstalled both JDK 1.4 and Tomcat completely, then re-installed JDK
1.3 followed by Tomcat 4.1.
Something is obviously still wrong. Does that path exist that the
service was trying to access?
Maybe before
I found this bug also, and after some crawling around, found an apache forum
that said it was fixed as of tc-native 1.1.7
Where I could use a little help is... what is the official source repository
for tomcat-native? I couldn't find an official download site thru
tomcat.apache.org
Thanks!
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anthony,
Arnone, Anthony wrote:
I’m trying to set a system where I can deploy a single .war under
multiple context names (using the ant deploy extensions).
Ooh! I love these things.
ant -Ddeploy-path=/app-01 deploy
ant -Ddeploy-path=/app-02
Everything works just fine if I start Tomcat using startup.bat. Look like the
issue is with running Tomcat 4.1 as a service on JDK 1.3. Not sure what the
problem is though.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 11, 2007 4:21 PM
From: HunterR [mailto:[EMAIL PROTECTED]
Subject: Re: Half rendered pages with mod_jk and libtcnative
Where I could use a little help is... what is the official
source repository for tomcat-native?
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/
If you're running on
What I'm trying to do is a slightly strange. Let me see if I can explain it a
different way.
I'd like to be able to use Tomcat's auto deploy feature of the manager to
simply copy the war into the webapps directory, and have the context come up
correctly with its solr home set appropriate to
I guess simply put, this is wat i get when i run startup.sh for Tomcat
*
Using CATALINA_BASE: /Users/meenaksharora/java/tomcat/apache-tomcat-6.0.14
Using CATALINA_HOME: /Users/meenaksharora/java/tomcat/apache-tomcat-6.0.14
Using CATALINA_TMPDIR:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anthony,
Arnone, Anthony wrote:
I'd like to be able to use Tomcat's auto deploy feature of the
manager to simply copy the war into the webapps directory, and have
the context come up correctly with its solr home set appropriate to
its deploy-time
From: minky arora [mailto:[EMAIL PROTECTED]
Subject: Re: beginer question abt JSP with Tomcat
Using JAVA_HOME: /System/Library/Frameworks/JavaVM/Versions/1.3.1/Home
Tomcat 6 requires JRE 1.5 or later. You should delete that ancient
version, install a proper one, set JAVA_HOME (or JRE_HOME)
On 9/11/07, minky arora [EMAIL PROTECTED] wrote:
Using JRE_HOME: /Library/Java/Home
Pls guide me on wat all paths to change , if any??
Did you /try/ using the JAVA_HOME setting I previously sent?
--
Hassan Schroeder [EMAIL PROTECTED]
How do I get rid of the Thread and ContainerBackgroundProcessor objects
associated with a StandardEngine after finishing a JUnit test, so several of
them don't accumulate and hog all my machine's resources?
I'm testing out a SOAP service on several different platforms, so it seemed
natural to
Ok I worked out the problem what you need to do is create
$CATALINA_HOME/shared/lib directory then edit
$CATALINA_HOME/conf/catalina.properties and edit the shared.loader line so
that
shared.loader=$CATALINA_HOME/shared/lib
Seems like in tomcat 6 the $CATALINA_HOME/shared/lib was removed as
Does it give you any paths to this PHP application? I haven't seen anything
like it from scanners
on my server.
Wade
--- Arend P. van der Veen [EMAIL PROTECTED] wrote:
Hi,
I recently setup a server using Tomcat 5.5 on FreeBSD 6.2. I thought I
had everything locked down.
I run a
Chris is correct, Tomcat will use java.util.logging if it doesn't find log4j
(and TC 6 won't even look for log4j by default). So all you have to do is
to configure java.util.logging for your application. If you want to use
Tomcat's Juli implementation, then you need to configure that for your
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat JNI Netbeans
Ok I worked out the problem what you need to do is create
$CATALINA_HOME/shared/lib directory then edit
$CATALINA_HOME/conf/catalina.properties and edit the
shared.loader line so that
Thanks,
So in this case reading some of your past responses (and your source
knowledge), we do not have to worry about threaded mod_jk misbehaving in a
prefork apache - on linux and solaris that is :-)
Rgds - Fred
Rainer Jung-3 wrote:
Hi Fred,
mostly yes, but you could write modules,
I couldn't find
any binaries for 1.2.25 compiled for http 2.0.52 - running CentOS4 and
the
latest httpd is 2.0.52-32 - would any binaries later than 1.2.19 work on
that build?
Dude, just build your own. Here are the steps to installing a binary:
$ wget http://../bin/mod_jk-1.2.25.so
$ cp
Does that work with JNI ? All the instructions for JNI with Tomcat say use
$CATALINA_HOME/shared/lib. Also I would prefer to keep my jars separately
as its easier to keep track of things.
I wonder what was the benifit of the change to $CATALINA_HOME/shared/lib ?
Thanks
Caldarale, Charles R
Hi,
Reading the mod_jk (1.2.25) compilation documentation for --enable-flock it
says:
In case the operating system supports flock system call use this flag to
enable this faster locks that are implemented as system call instead
emulated by GNU C library.
However those locks does not work on NFS
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat JNI Netbeans
Does that work with JNI ?
JNI has nothing to do with Tomcat, but rather with the JVM you're using.
For Sun-based JVMs, the location of native libraries must be specified
via the java.library.path system property. When
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B.
Subject: Re: How to manage Apache error msgs when Tomcat is down?
Our tomcat apps are self-contained (non-exploded) wars, and
mapping each individual extension beomces a challenge (ie:
.jsp, .jspa, jsps, .jpg, .js, .), so we
58 matches
Mail list logo