Thank you for your interest. The application starts very slowly with
the war and my classloader (this is a standard app, not webapp). The
war also has a webapp in it. This has nothing to do with the
application logic. It's the leading time to load the classes. It takes
about 2 or 3 minutes
I would *really* like to see more of your log, since this is a classic "this
can't happen" bug.
"Jana Nguyen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi there,
I am running Tomcat 5.5 on RH Linux as user 'tomcat', I'm trying to
get tomcat to run on a secure port 8443 instead
Not enough info to give you a code sample (since with Embedded, you are
controlling the ClassLoaders, and Tomcat isn't doing it's default
common/server/shared thing). However, what you want is one of the following
(depending on your CL requirements):
engine.setParentClassLoader(myClassLoader
You are using the PureTLS flavor of the SSL Connector. This one expects
something closer to an OpenSSL style keystore (which defaults to
'server.pem' if not specified) with the private key and cert PEM encoded in
the same text file. In particular, it doesn't use a JKS keystore.
Assuming that
OK, I removed the unnecessary Contexts (at least they are unnecessary
for the time being) and did notice the following messages.
WARNING: A docBase c:\webapps\myapp inside the host appBase has been
specified, and will be ignored
Apr 15, 2006 2:09:41 AM org.apache.catalina.loader.WebappClassLoader
I've read the logs a half-dozen times. If there's something there, I've
missed it.
Now, having said that, there is another Context that's giving me an
error message. I need to set up a couple of Contexts that point to
static content in directories outside of the web application (assume
they have
maybe I should read the docs ;)
yes, any container can have it,
Filip Hanik - Dev Lists wrote:
exactly, the realm element doesn't belong there, read up on the docs
Scott Smith wrote:
I am also doing Forms authentication...but I haven't got that far since
the webapp doesn't initialize yet.
Th
I don't know. It's there because when I looked in the JNDI DataSource
How-to, it was there. Originally, I had the database Resource (not the
Realm) in the (which didn't work either; I then had a
ResourceLink in the Context). I moved the Resource to the Context in an
attempt to figure out why it
also, did you check your logs yet? I bet there is a nice little error
message in there for you :)
Filip
Scott Smith wrote:
You are correct. I thought path was required and implied the docBase (I
guess it's the other way around). So I changed it to:
However, that didn't change the error m
exactly, the realm element doesn't belong there, read up on the docs
Scott Smith wrote:
I am also doing Forms authentication...but I haven't got that far since
the webapp doesn't initialize yet.
This app used to use the struts tag, but I'm trying to
move it to jndi.
-Original Message-
Hi,
Do you really need that resource-ref in the web.xml. Your resource is
defined under Context so you shouldn't need one. Other than that
Your code looks fine and I can't see any problems with it.
Regards.
On 4/14/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>
> check your log files u
Hi,
Hmm. What are you trying to do? Surely your images are not actually in a
directory called "/webapp/images/...". Your images are probably at the top
level of your docBase. The "webapp" is surely just a context that is being
mapping to a webapp under tomcat, and you probably want Apache to serve
I am also doing Forms authentication...but I haven't got that far since
the webapp doesn't initialize yet.
This app used to use the struts tag, but I'm trying to
move it to jndi.
-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 5:05 PM
To: Tomc
You are correct. I thought path was required and implied the docBase (I
guess it's the other way around). So I changed it to:
However, that didn't change the error message.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 4:56 PM
What are you trying to accomplish with the tag?
On 4/14/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>
> check your log files upon startup, your myapp.xml doesn't have a docBase
> attribute to associate it with the app itself.
> path="/myapp">.
>
> Scott Smith wrote:
> > Sorry,
check your log files upon startup, your myapp.xml doesn't have a docBase
attribute to associate it with the app itself.
.
Scott Smith wrote:
Sorry, I sent this so many times. Hopefully, I have all of the typos
out of it this time...
I have specified the following as myapp.xml in the
c
Hello,
I've got a setup with Apache 2.2, Mod_Jk 1.2.15, and Tomcat 5.5.16
and things are working pretty well except for relative links in my
webapp.
When accessing my webapp at http://myserver.com/mywebapp/index.jsp
any relative links within subdirectories of the mywebapp directory
don'
Sorry, I sent this so many times. Hopefully, I have all of the typos
out of it this time...
I have specified the following as myapp.xml in the
conf\Catalina\locahost directory:
In my web.xml file I have:
jdbc/MyDB
javax
Scott Smith would like to recall the message, "Tomcat 5.5.16 configuration
problem".
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in your code you are looking for context named "jdbc/MediaBrowserDB",
however your name in your context and web.xml is "jdbc/MyDB". Unless this
is a typo from trying to put code to the list, i would check that.
On 4/14/06, Scott Smith <[EMAIL PROTECTED]> wrote:
>
> Sorry, I hit send too soon-
>
>
Sorry, I hit send too soon-
I have specified the following as myapp.xml in the
conf\Catalina\locahost directory:
In my web.xml file I have:
jdbc/MyDB
javax.sql.DataSource
Container
But, when I execut
Scott Smith would like to recall the message, "Tomcat 5.5.16 configuration
problem".
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have specified the following as myapp.xml in the
conf\Catalina\locahost directory:
In my web.xml file I have:
jdbc/MyDB
javax.sql.DataSource
Container
But, when I execute the code
DataS
Hi there,
I've posted my issues not being able to connect using tomcat with ssl
using port 8443 some days ago, but did not get any response.
I am running Tomcat 5.5 on RH Linux as user 'tomcat', I'm trying to
get tomcat to run on a secure port 8443 instead of 8080. I
uncommented the "SSL HTTP/1.
Hi,
Try this in your web.xml file.
Secure Area
/*
GET
POST
CONFIDENTIAL
url-pattern is the list of pages, folders or whole webapp (/*).
Regards,
Dhaval
--- hung ngole <[EMAIL PROTECTED]> wrote:
Hi,
We have a web application deployed on Tomcat 5.0.19 running on Solaris 9. Our
connection is https configured on port 8443. The web application runs fine.
Here is my issue.
We have two subfolders under the context folder named folderA and folderB.
folderB is a softlink pointing to another
Ah, yes, I wasn't setting the correct limit.
Thanks much, it works now...
But now Tomcat takes almost 5x longer to start up than it did with 5.5.15.
>From 7 seconds to 36 seconds.
It won't be restarted much, but that's a bit silly.
Why?
Corey
-Original Message-
From: Filip Hanik - Dev lis
LOL!
I read the first line of your response and automatically thought:
oh my god...
Then I laughed when I saw the "just kidding!" part.
You're welcome & thanks for the laugh.
Aladin
[EMAIL PROTECTED] wrote:
Aladin Alaily <[EMAIL PROTECTED]> wrote on 04/14/2006 12:45:52 PM:
[EMAIL PROTE
Aladin Alaily <[EMAIL PROTECTED]> wrote on 04/14/2006 12:45:52 PM:
>
>
> [EMAIL PROTECTED] wrote:
> > This is a fundamental question, but I can't find an answer to it
anywhere.
> > Probably right in from of my nose.
> >
> > I have set up my development environment exactly as directed in the
Can you tell us the exact error? Internet Explorer throws up that error
in a lot of situations. This could be the result of a firewall or
another process on 443. Anything show up in the logs? Can you try it
with Firefox for a better error display? TCPView from SysInternals can
show open and
Sorry, I forgot to mention that I have root (or administrative) access and
on an WindowsXP system.
Original Message Follows
From: Mike Sabroff <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat Users List
Subject: Re: Setting up to use 443
Date: Thu, 13 Apr 2006 20:05:16 -050
Hi Tim,
Assuming your application is called "tim" and you want to map it to "/tim"
Place a tim.xml file in: ${TOMCAT_INSTALLATION}/conf/Catalina/localhost/
tim.xml contains:
=
build.xml:
==
Tell ant to compile the code in the location specified in tim.xml
Now, your
you have 8GB of RAM, but you only gave tomcat 256m?
Filip
Edward Quick wrote:
Thanks Peter. I've checked the performance history but there is very
little running on the box, and CPU is usually 99% idle. There is also
8GB of RAM on here, and usually 6GB free.
Ed.
Have you monitored your se
It's been a while since my last posting of this topic. I have a
work-around that perhaps someone may find it useful.
I worked around the issue by implementing a Tomcat Valve, and screen out
for the jsessionsso cookie on every request. If I find it, I reinsert
it back into the response within
Hi,
I'm using Tomcat 5 & I have configured SSL successful. But now I want to use
SSL for a particular pages not for all pages ( or for whole application ).
How can I do this?
Thanks much,
Hung.
-
Yahoo! Messenger with Voice. PC-to-
This is a fundamental question, but I can't find an answer to it anywhere.
Probably right in from of my nose.
I have set up my development environment exactly as directed in the tomcat
docs. When I ``ant install'', the app is copied to the /webapps
directory, and a subsequent ``ant compile''
Sounds like a Sysdeo problem not tomcat
Mike Sabroff
Web Services
Developer
[EMAIL PROTECTED]
920-568-8379
Asad Habib wrote:
Hello. I am experiencing a problem trying to start Tomcat from Eclipse
using the Sysdeo Plugin.
The error I get is as follows:
Exception in thread "main" java.lang.N
Asad
(I doubt that something as fundamental as this is a difference
between 5.5.9 and 5.5.16)
Have you checked Eclipse's Window / Preferences... / Tomcat
to ensure that all references to Tomcat files refer to your
new 5.5.16 installation?
I get the same error if "Tomcat home" is set incorrectly
Hi,
I'm running into ClassLoader problems when using a custom ClassLoader
with an embedded Tomcat. The problem, as I understand it, is arising
due to multiple versions of log4j being loaded by different ClassLoaders
resulting in ClassCastExceptions or expected interfaces not being
implemented.
I
It would appear that my problem was solved by simply changing the line
'new Catalina();' to 'new Embedded();', so now it unpacks.
-Original Message-
From: Andrew McDowall [mailto:[EMAIL PROTECTED]
Sent: 13 April 2006 16:56
To: users@tomcat.apache.org
Subject: Embedded Tomcat stops deployi
Hi Klaus,
> coming back to my issue: How can I make sure that my certificate is
> right for tomcat? Could I attach it at one of these eMails? Or are
> attachments not allowed? Could you test it?
I think this could be one solution. Today I am not in office. But you
can send your stuff to [EMAI
Hello. I am experiencing a problem trying to start Tomcat from Eclipse
using the Sysdeo Plugin.
The error I get is as follows:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/catalina/startup/Bootstrap
I am running Tomcat 5.5.16 and using Eclipse 3.1.2 with Sysdeo Eclip
Hello,
I have a webapp here which comes with it's own realms. It's working
prefectly in tomcat 5.5.7.
I deployed this application and copied the realm files
(common/lib/MyRealm-api.jar and server/lib/MyRealm-impl-1.0.jar) to a
new tomcat installation. I the deployed to webapp and tried to access a
43 matches
Mail list logo