- Original Message -
From: "Martin Gainty" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, September 07, 2008 5:03 AM
Subject: RE: Newbies, becareful of pure cookie based magic... theres a few
gotcha's
if you want to leave the cookies behind you'll have to request the fi
if you want to leave the cookies behind you'll have to request the filter to
rewrite your URLs with the params
http://tuckey.org/urlrewrite/
you should be able to implement your filter with netbeans or Jdeveloper or
eclipse with no impact to your work..
Martin
I see this in the Netbeans group and its popping up its ugly head and making
other area's complex.
It seems with these modern day frameworks, I have an idea which one it is in
particular but wont mention names... that its possible to build an entire
site behind one URL
http://mydomain/IamInTro
if you use a JNDI lookup with a declared namespace such as
xmlns:jee="http://www.springframework.org/schema/jee";
more specifically in the case of spring
http://www.springframework.org/schema/jee/spring-jee.xsd
where jndi-name is declared to be
The JNDI name to look up.
which can then refer
Okay using approach of first article. The MBean server is correctly
initialized and everything on the server side looks good.
Now we come to the client side. The first article assumes you are just
going to connect using a tool such as MC4J or JManage (monitoring tools).
That is not my use c
> I don't think that's true - each directory or .war file in the appBase
> directory will cause a separate application deployment, which is what I
> thought you wanted.
As you may have noted, I am not a Tomcat expert so you are probably right.
But my app logs in catalina.out when it reads its con
>
>
> The second context xml file, named secondInstance.xml (URL would be
> http://localhost:8080/secondInstance):
>
>
This don't work. It seems that with tomcat > 5.0 you can't point a context's
docBase to something INSIDE the appBase directory when using context files
in conf/[Engine name]/[H
Alan Hancock wrote:
> I added a host entry in the format of www.mydomain.com. Its a very simple
> site with only an index.html so that I can get the config straight before
> loading a bunch of content. There is no domain specific context given. I
> created a folder in the format mydomain.com is the
Caldarale, Charles R wrote:
>> From: Jonathan Mast [mailto:[EMAIL PROTECTED]
>> Subject: Yet another context logging question
>>
>> Foo has a subdirectory "bar" which I would now like to be
>> it's own Context and AccessLogValue.
>
> Such a configuration is not supported - webapps may not be neste
> From: Alan Hancock [mailto:[EMAIL PROTECTED]
> Subject: Virtual Hosting of Mutliple Domains
>
> I'm running Tomcat 5.5.3 on Red Hat EL 5.1
1) If you're really running that old of a Tomcat version, you need to move up,
ASAP. 5.5.3 is almost four years old, and many bugs have been fixed between
> From: Claudio Tassini [mailto:[EMAIL PROTECTED]
> Subject: Re: symlinks in webapps
>
> it causes my app to start several times, while with
> a simple symlink I had the same webapp referenced as
> many times as I wished
I don't think that's true - each directory or .war file in the appBase
direc
Of course you *could* do something to encourage a double deploy and get
the desired result. Just make a context xml file named after the second
context path and set it's docbase to point to the original webapp's
folder. It'd look something like this:
Assuming you have this in your conf/[Engi
FYI, If I add several blocks each
with a different path , in my server.xml, it seems to work . The problem is
that it's discouraged in tomcat's documentation, and anyway it causes my app
to start several times, while with a simple symlink I had the same webapp
referenced as many times as I wished
Oops! I goofed in adapting the docs example. The code yours should
look like is below. Oddly enough, the mistake I made in my previous
post would have caused the error you were asking about.
--David
David Smith wrote:
This isn't the code I was asking for. You should have some code that
lo
The Weblogic servers we are using have been configured to allow JNDI
datasource names like "appds".
For development (localhost), we might be running Tomcat and when declared in
the section of server.xml, Tomcat will hang JNDI datasources on
"java:comp/env/jdbc/*" in the JNDI tree.
*Problem:* in
This isn't the code I was asking for. You should have some code that
looks up the DataSource via JNDI (javax.naming.* classes). Following
the examples in the tomcat docs, it would look like:
Context initContext = new InitialContext();
DataSource ds =
(Context)initContext.lookup("java:/comp/e
I added a host entry in the format of www.mydomain.com. Its a very simple
site with only an index.html so that I can get the config straight before
loading a bunch of content. There is no domain specific context given. I
created a folder in the format mydomain.com is the
/usr/share/tomcat5/webapps
Don't seem to work. It seems that I can't use a docBase in a context.xml
that points to something under the appBase directory, as it's simply ignored
and tomcat assumes that the docbase is in /webapps :
Sep 6, 2008 6:23:28 PM org.apache.catalina.startup.HostConfig
deployDescriptor
WARNING: A docBas
No, actually it happens when I invoke the WS, which access to the DB.
Daniele
On Sat, Sep 6, 2008 at 4:44 PM, Len Popp <[EMAIL PROTECTED]> wrote:
> Does the error occur in that piece of code or is it during Tomcat
> startup? The stack trace looks like the exception is thrown during
> startup, if
Does the error occur in that piece of code or is it during Tomcat
startup? The stack trace looks like the exception is thrown during
startup, if I'm reading it correctly.
--
Len
On Sat, Sep 6, 2008 at 06:29, Daniele Development-ML
<[EMAIL PROTECTED]> wrote:
> Thanks David!
> The code is:
>
> Clas
If the same browser is displaying the two pages differently, there
must be a difference in the web pages. Compare the HTML of the pages
as they are received by the browser. Also compare any CSS and
Javascript files referenced by the HTML page.
--
Len
On 05/09/2008, Scott, Ewan <[EMAIL PROTECTED]>
if you're in Ubuntu and want to exec a process with elevated privileges
try Coggshall's (sp?) sudo utility
http://en.wikipedia.org/wiki/Sudo
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the o
Hello Konstantin,
I changed the port number during installation to avoid having
users writing :8080 whenever the access my application
Also, I believe I have the manager application installed, I took
a look at it a while ago, however, my .WAR file is deployed and I didn't
find any
- Original Message -
From: "sam wun" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, September 06, 2008 9:37 AM
Subject: Good JSP editor
Hi there,
I know it is better for me to ask this quetion in a jsp forum, but I
couldn't find one for mailing list .
And you guys a
Ed Abukhdeir wrote:
I moved my keystore to a new server and modified the server.xml to point
to the keystore, but I'm unable to connect via https. However, I'm able
to connect with http.
Thanks
Ed
google the following:
keytool import certificate
HH
--
H. Hall
ReedyRiver Group LL
- Original Message -
From: "Scott, Ewan" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 05, 2008 1:04 PM
Subject: difference in how applications are displaying
Hi
I think this may relate to a tomcat setting - but I may be completely
wrong.
I have 2 servers which should be
Thanks David!
The code is:
Class.forName("com.mysql.jdbc.Driver");
String url = "jdbc:mysql://localhost:3306/cellmlrep";
Connection con = DriverManager.getConnection(url, "root", "");
Statement stmt = con.createStatement();
String query = "SELECT * FROM user_accounts u;";
stmt.executeQuery(quer
Markus Schönhaber-10 wrote:
>
> Try adding SSLEnabled="true" to the Connector's attributes.
>
Duh... *bangs head on table*
I feel like a total fool.
Thanks for the help!
--
View this message in context:
http://www.nabble.com/https-problem-after-upgrading-from-Tomcat-5.5-to-Tomcat-6-tp193
randomw wrote:
I've been trying to upgrade from Tomcat 5.5.26 to Tomcat 6.0.18 for the past
couple days but just cannot get https to work. Everything works as expected
in Tomcat 5.5. Plain old http works in Tomcat 6, but the moment I try to
switch to https, the connection just times out.
[...
André-John Mas wrote:
> Hi,
>
> I have Tomcat 6 installed on a French version of Windows XP. When
> error pages, such as the 404 error page, appear the French text is
> corrupted.
> For example, instead of the expected:
>
> "La ressource demandée (/manager/html) n'est pas disponible."
>
> I ge
Eric Berry wrote:
> Mark, Chuck,
> Thank you both very much for the detailed explanations. I can certainly
> see how this would definitely speed development along, and how - in most
> cases - the context.xml is unnecessary. I myself, have rarely used them
> unless as Mark mentioned, I needed sp
Yoryos wrote:
> Hello
> Does anyone knows if with a simple replacement of the jars of
> CATALINA_HOME/lib can I upgrade from 6.0.14 to 6.0.18?
>
No. It won't pick up changes to the startup scripts, the security policy
file, the documentation, server.xml, global web.xml, global config.xml
etc. I h
Julian Dunn wrote:
> Is there any way to stop Tomcat from deleting my Context descriptor files if
> the WAR file somehow disappears? (Other than chmod 400 that is :-) )
There is no configuration option for that.
Mark
-
To sta
Hi there,
I know it is better for me to ask this quetion in a jsp forum, but I
couldn't find one for mailing list .
And you guys are very helpful too in terms of this experience.
If you are using a good jsp editor, can you tell me where its download
link?
My current development enviorn
On Fri, Sep 5, 2008 at 9:22 PM, Rainer Jung <[EMAIL PROTECTED]> wrote:
> Hi Ankush,
>
> mod_jk configure uses "${APXS} -q PREFIX" to see if it works, where
> ${APXS} is what you gave to --with-apxs. You can try that directly, and
> see if it works, or if your apxs is broken:
>
>/usr/sbin/apxs -
35 matches
Mail list logo