> From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
> Subject: RE: How to have multiple loggers with shared code
> also using the logger?
>
> And since the log4j.jar resides in the ${catalina.home}/lib
> folder, this root logger is used by all web apps.
The log4j.jar is only there
> From: Nathan Potter [mailto:n...@opendap.org]
> Subject: Re: Tomcat returns HTTP status of 200 when
> HttpServletResponse.sendError() called.
>
> So do you mean something like this?
>
> default
>
>org.apache.catalina.servlets.DefaultServlet
>
> Because of the classloading hierarchy. Once the logger is
> initialized with the common classloader, everybody uses that
> one.
Thanks. I studied the Apache logger code.
When we call org.apache.log4j.Logger.getLogger(), it calls functions of
LogManager. The static initializer block of LogMa
On Jan 14, 2009, at 1:38 PM, Caldarale, Charles R wrote:
From: Nathan Potter [mailto:n...@opendap.org]
Subject: Re: Tomcat returns HTTP status of 200 when
HttpServletResponse.sendError() called.
I mapped one of my servlets to be the default servlet:
hyrax
*
And since
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
Jonathan Mast wrote:
> class BeanBag {
> private static AppleBean appleBean = null;
> private static BananaBean bananaBean = null;
>
> public static AppleBean getAppleBean() {
Might I recommend that you use a "regular" class instead of one
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: [OT] Configuring a Realm
>
> Why are you apprehensive about using the same database
> (Datasource?) for both authentication /and/ application use?
Because I like to keep distinct things separate. Coming from a large
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
> Are you using the same database for both application usage and
> authentication? That's odd, but doable.
Why are you apprehensive about using the same database (Datasource?) for
both authentication /and/ applicat
> From: Toriacht [mailto:shatner.will...@gmail.com]
> Subject: RE: Beginner - Netbeans IDE
>
> i ran the service.bat to install as a service (is this
> permanent?)
Yes.
> Is this how I should always start?
Not really. You most likely want to have the IDE start and stop Tomcat with
the scripts;
Hi Chuck,
thanks again for all your helpyour help. I'm nearly there...just a few more
queries...My user variables setting was taking precendence over system (was
set to a 1.6 JRE) so thats why it wasn't starting.
to get started.. i ran the service.bat to install as a service (is this
permanent?)
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> Subject: Re: Can Tomcat be used to host socket servers?
>
> By socket servers, I mean the existing programs are bound
> to a particular port number and just sit there waiting for
> requests. The port numbers are arbitrary
How do they get
Thanks for cogent reply, Chuck :)
By socket servers, I mean the existing programs are bound to a particular
port number and just sit there waiting for requests. The port numbers are
arbitrary, and I'm not knowledgeable enough of networking to know whether
they use HTTP or not.
I'll probably just
> From: Toriacht [mailto:shatner.will...@gmail.com]
> Subject: RE: Beginner - Netbeans IDE
>
> in what files/and where do I need set these variables.
You do not need to set CATALINA_HOME - that is done automatically by the
startup.bat script.
I normally set JAVA_HOME as a global environment vari
> From: Nathan Potter [mailto:n...@opendap.org]
> Subject: Re: Tomcat returns HTTP status of 200 when
> HttpServletResponse.sendError() called.
>
> I mapped one of my servlets to be the default servlet:
>
> hyrax
> *
>
>
> And since it doesn't serve static content like
Thanks again guys...
i have removed the .exe version and downloaded the .zip version. I had a
look in the bin folder. There seems to be multiple references to
CATALINA_HOMA and JAVA_HOME etc. in what files/and where do I need set these
variables.
Thank
Tori
Caldarale, Charles R wrote:
>
>> F
See inline...
Pid-2 wrote:
>
> Martin Gainty wrote:
>> please display non-proprietary attributes of HTTPS (Port 8443 or 443)
>> Connector element values from %TOMCAT_HOME%/conf/server.xml
>
> OP: Don't attempt to decipher or respond to the above, it's a red
> herring. You could instead tell u
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> Subject: Re: Can Tomcat be used to host socket servers?
>
> Not sure if dynamically rewriting server.xml is the way
> to go.
Pretty much guaranteed not to be, since that would require stopping and
restarting Tomcat.
> The situation is t
> From: Andrew Hole [mailto:andremailingl...@gmail.com]
> Subject: Re: Tomcat and coldfusion
Here's your culprits:
> "Thread-11" prio=1 tid=0x0acd2a20 nid=0x5fbc in Object.wait()
> [0x818a9000..0x818a9eb0]
> at java.lang.Object.wait(Native Method)
> - waiting on <0xeb86a490> (a co
Prakash Nathan1 wrote:
Hi Chuck
In "catalina.sh" file, I could see that JAVA_OPTS and CATALINA_OPTS are
being referenced as follows..
exec "$_RUNJDB" $JAVA_OPTS $CATALINA_OPTS \...
However, the value for "JAVA_OPTS" is not defined in catalina.sh
As I had already mentioned, ONLY CATALINA_OPTS
Well what I want is to have a dedicated port for a socket, I just want all
the application infrastructure to be handled by Tomcat rather than a writing
a custom solution. Not sure if dynamically rewriting server.xml is the way
to go.
My guess would by a Valve/Connector type thing, but I'm just no
Hi Chuck
In "catalina.sh" file, I could see that JAVA_OPTS and CATALINA_OPTS are
being referenced as follows..
exec "$_RUNJDB" $JAVA_OPTS $CATALINA_OPTS \...
However, the value for "JAVA_OPTS" is not defined in catalina.sh
As I had already mentioned, ONLY CATALINA_OPTS are defined in "setenv.s
1) Tomcat version: 5.5.20
2) JDK Version: 1.5.0_11
3) CentOS release 5.2 (Final) - 64 bits
"DestroyJavaVM" prio=1 tid=0x0a1ea408 nid=0x5f9a waiting on condition
[0x..0xff9a1e40]
"TP-Processor4" daemon prio=1 tid=0x0a4f2670 nid=0x5fec in Object.wait()
[0x7ffea000..0x7ffeadb0]
at j
> From: Andrew Hole [mailto:andremailingl...@gmail.com]
> Subject: Re: Tomcat and coldfusion
>
> How can I take a thread dump?
Tough to tell you since you left out basic information:
1) Tomcat version
2) JRE/JDK version
3) OS type and level
If you're on a recent enough JRE/JDK (1.5 or better), y
Thanks for you quick response.
How can I take a thread dump?
Thanks
On Wed, Jan 14, 2009 at 6:37 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Andrew Hole [mailto:andremailingl...@gmail.com]
> > Subject: Tomcat and coldfusion
> >
> > It looks that tomcat is stopped but
> From: Andrew Hole [mailto:andremailingl...@gmail.com]
> Subject: Tomcat and coldfusion
>
> It looks that tomcat is stopped but the tomcat process still
> alive in the server.
This is pretty much always a result of a webapp starting its own threads and
failing to shut them down; the JVM can't te
Sure. cfusion web.xml is the following:
http://java.sun.com/dtd/web-app_2_3.dtd";>
Adobe ColdFusion 8
Adobe ColdFusion 8
cftags
/WEB-INF/cftags
Path to search for built-in tags. Relative to
application root.
This parameter can only be one path ele
just to say one more thing:
this only happens when cfusion war is deployed in tomcat. If i try to
shutdown without cfusion.war deployed, everything works fine.
I'm seeing the cfusion log and there are no errors in stopping cfusion
engine.
Thanks
On Wed, Jan 14, 2009 at 6:15 PM, Andrew Hole wrote:
could you display web.xml for your ColdFusion webapp
how does one create a servlet from Apache HTTP Server CF Script
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sen
Hello guys!
I deployed coldfusion on Tomcat and everything looks fine to me except when
I shutdown the service.
This deployment was made in Linux.
Jan 14, 2009 5:29:43 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8189
Jan 14, 2009 5:29:44 PM org.apach
Hi,
im am trying to use tomcat 6.0.18 with taglib version 2.0.
i have an tld in tht web-inf folder with this header:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_
> From: Toriacht [mailto:shatner.will...@gmail.com]
> Subject: RE: Beginner - Netbeans IDE
>
> The .exe does not come with a catalina.bat
Correct; there are no scripts in the .exe download (and I don't know why).
> I suppose I was wondering was there a standard catalina.bat
> example that somebod
Thanks for the replies guys...
I was aware I could uninstall the .exe and install the .zip version. The
.exe does not come with a catalina.bat (I think)...am I right?
I suppose I was wondering was there a standard catalina.bat example that
somebody had that I could point the IDE towards so tha
You did not mention if ssl worked with tomcat in the standalone mode(without
ISAPI).
can you access https://localhost:8084/yourwebapp?
If not:
Perhaps you need to uncomment ssl support in server.xml file
Uncomment the second block and restart.
−
HTH.
On Wed, Jan 14, 2009 at 9:27 AM, Alexander
if you need to use a different catalina.bat
go to NetBeans Project Right click properties / run / change target server
catalina.bat must be on path
make sure CATALINA_HOME/bin is on PATH
Martin
__
Disclaimer and confidentiality note
Everything i
Filip Hanik - Dev Lists wrote:
>
> you are calling this method
>
> public Connection getConnection(String username, String password)
> throws SQLException {
> throw new UnsupportedOperationException("Not supported by
> BasicDataSource");
> }
>
> try calling
>
> DataSource.ge
Hi,
tomcat can be set two types of SSL connections,
Depending on the page you requested enter with user certificate or not.
Sorry for my English
thanks for your help
--
View this message in context:
http://www.nabble.com/configure-tomcat-with-two-conection-SSL-tp21458441p21458441.html
Sent
you are calling this method
public Connection getConnection(String username, String password)
throws SQLException {
throw new UnsupportedOperationException("Not supported by
BasicDataSource");
}
try calling
DataSource.getConnection() without a username and password
Filip
jpma
In other words instead of committing to single port request TC use a port range
for connector?
You might be able to accomplish the task by developing an algorithm which
rewrites server.xml with 'unused port'
Not sure if this has been accomplished
?
Martin
___
Hello,
I have some question, it is possible to make SSL with an Tomcat project, which
will be served trough the ISAPI Filter in IIS?
Open with http Port 80 is fine, but open with https .. "Page cannot be found"
will be displayed.
Greetings
Alexander
Is it possible to use Tomcat to host socket servers? Or is Tomcat a strictly
1 port operation?
thanks
> From: Toriacht [mailto:brian.p.gunn...@gmail.com]
> Subject: Beginner - Netbeans IDE
>
> 1 .How do I deploy this to my Tomcat server using my current
> configuration
First, uninstall the .exe version and download and install the .zip one. The
.zip includes the scripts, including ones to instal
Hello all,
not sure if this should be asked here or in the apache list so I will try
here first.
I have an application running completely inside of tomcat 6...lets call it
webappTomcat which runs on port 8084.
A coworker developed an application that runs mainly on apache(html and
javascript) alt
Hi, was wondering if someone could clear this up for me.
We have mod_jk in apache loadbalancing our JBOSS cluster with session affinity.
We've noticed that once the JESSIONID has been created with the call to
req.getSession() and the jvmroute encoded by the tomcat worker, that if the
JBOSS in
David Smith-2 wrote:
>
> Case matters. Make sure you match case in all places where you refer to
> the jndi name of your datasource. Off the top, I see you configured
> jdbc/TestIDMS, but then try to use jdbc/testIDMS in the test jsp.
>
> --David
>
>
Ah thanks for spotting that.
I am now
Hi,
I am trying to deploy my first webservice. I downloaded Netbeans IDE to
develop it (normally use Eclipse). I already had Tomcat downloaded as an
.exe, installed and running as a service for a while
When i try to deploy my app to my server Netbeans complains that it can't
find Catalina.bat...
Case matters. Make sure you match case in all places where you refer to
the jndi name of your datasource. Off the top, I see you configured
jdbc/TestIDMS, but then try to use jdbc/testIDMS in the test jsp.
--David
jpmad4it wrote:
> Filip, here is my configuration so far:
>
> I have created a te
Tetsuya wrote:
My Tomcat send content-type like this:
Content-Type: text/xml;charset=UTF-8
The separator is ";" now.
But Apache's separator is "; ".
So I want to change it from ";" to "; ", because some of clients which is
made very strictly don't understand the content-typ
Hello,
First, I'm sorry for my poor English...
My Tomcat send content-type like this:
Content-Type: text/xml;charset=UTF-8
The separator is ";" now.
But Apache's separator is "; ".
So I want to change it from ";" to "; ", because some of clients which is
made very strict
Martin Gainty wrote:
> please display non-proprietary attributes of HTTPS (Port 8443 or 443)
> Connector element values from %TOMCAT_HOME%/conf/server.xml
OP: Don't attempt to decipher or respond to the above, it's a red
herring. You could instead tell us exactly which 6.x you are using and
on w
Filip, here is my configuration so far:
I have created a test application under the tomcat webapps folder with the
following structure:
IDMSTest/
IDMSTest/WEB-INF/
IDMSTest/WEB-INF/classes/
IDMSTest/WEB-INF/lib/
IDMSTest/WEB-INF/web.xml
IDMSTest/WEB-INF/test.jsp
Here is my IDMSTest/WEB-INF/web.
49 matches
Mail list logo