Hi list..
what is the difference between running tomcat server and as client
if running it as client is different can u tell me the procedure of
how to do this
thanks for any help
The information contained in this electronic message and any
From: Kusuma Pabba [EMAIL PROTECTED]
what is the difference between running tomcat server and as client
Tomcat is a Web server. There is no concept of running it as a client.
What are you trying to do? We might be able to help more if you tell us!
- Peter
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Does Tomcat do the same thing as Apache? ie http; as well as the bonus of
java?
Yes, with reservations. Tomcat's a Web server in its own right - and a pretty
fast one, in its modern versions. You'll saturate your network bandwidth long
before you
Susan G. Conger wrote:
When you go into the Tomcat Manager you get a list of running web
applications. Then the next section lets you deploy a host directory or
local WAR file. It asks for the following information:
Context Path (optional): [I have found this is not optional]
XML
Right, since I seem to be the only alien having this problem I would
be happy to know how you write jdbc classes and (if any) a datasource manager.
Do you create a separate class for retrieving connections or datasources.
Are the methods static.
How do your dao's code look like?
For example
On Wed, Sep 17, 2008 at 1:45 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
- Original Message - From: Erik Onnen [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, September 17, 2008 10:27 PM
Subject: Re: URLEncoding of \ Character
Thanks Mark, much
Paul McGurn wrote:
OK, I successfully deployed this in our test environment.
Great!
Could you point me toward the general guidelines for properly creating
documentation in the acceptable format? I'll start by documenting the
existing cluster example that includes the farm section and work
Hi to everybody!
I installed Tomcat as service in Windows XP.
In my application i use java.awt.TrayIcon to show an icon in system Traybar.
If i start tomcat (as service) without checking allow service interact with
Desktop i don't see my icon on system traybar. Checking that flag makes my
icon
- Original Message -
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, September 18, 2008 5:26 AM
Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active connections
keepincreasing
From: sinoea kaabi [mailto:[EMAIL
This cuts across IDE, OS and server.
I'm running Ubuntu:
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION=Ubuntu 8.04.1
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ sudo apt-get update; sudo apt-get
Peter Crowther wrote:
From: Kusuma Pabba [EMAIL PROTECTED]
what is the difference between running tomcat server and as client
Tomcat is a Web server. There is no concept of running it as a client.
What are you trying to do? We might be able to help more if you tell us!
- Peter
From: Kusuma Pabba [mailto:[EMAIL PROTECTED]
actually i want to use tomcat on my arm processor and i am not
understanding how to use it on that
1) Set up an appropriate operating system on your ARM processor that includes a
TCP/IP stack and support for a good Java virtual machine (must be at
Hi,
We have a problem with new tomcat starting with our application i got
the error in catalina.out
Exception in thread main java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at
Peter Crowther wrote:
From: Kusuma Pabba [mailto:[EMAIL PROTECTED]
actually i want to use tomcat on my arm processor and i am not
understanding how to use it on that
1) Set up an appropriate operating system on your ARM processor that includes a
TCP/IP stack and support for a good Java
Pavel Savara wrote:
Hi,
We have a problem with new tomcat starting with our application i got
the error in catalina.out
Exception in thread main java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
Struts datasource usage is deprecated, they encourage users not to try their
datasource configuration in the xml.
Instead I was advised to manually configure JNDI connection pooling with Struts.
From: [EMAIL PROTECTED]
To: users@tomcat.apache.org
Subject: Re: Tomcat 5.5, JNDI Connection
Sounds like https://issues.apache.org/bugzilla/show_bug.cgi?id=45585
The fix is http://svn.apache.org/viewvc?view=revrevision=685715
The catalina.sh change is the only one you need to apply.
That was it thanks a lot
Pavel
On Thu, 2008-09-18 at 12:08 +0100, Mark Thomas wrote:
Pavel
- Original Message -
From: sinoea kaabi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, September 18, 2008 1:24 PM
Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active connections
keepincreasing
Struts datasource usage is deprecated, they
If this measurement is made from the point of view of the DB server (I don't
think the OP ever said), the number if fine.
Actually if you look at the code in the OPs original post, you'll see
how the measurement is being made. It's essentially:
public static DataSource getDataSource()
John-
your approach works best for long term operational and maintenance
considerations
layersa properly architected and designed enterprise system has ability to
interchange either the UI or DB with minimal impact to the other layers except
for predefined 'interface points' which AOP folks
The datasource object is threadsafe and a prime example of the factory
pattern. In my designs, I tend to retrieve a reference to it early on
and then store it somewhere convenient for the life of the request.
Then each db access method get's a connection, uses it and closes it
before returning.
- Original Message -
From: SerFingolfin [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, September 18, 2008 10:44 AM
Subject: Tomcat as Windows service and output window
Hi to everybody!
I installed Tomcat as service in Windows XP.
In my application i use
1. Don't ever modify the CLASSPATH. Tomcat by default ignore's it and
for good reason.
2. Your webapp's WEB-INF/lib and tomcat's common/lib are essentially
mutually exclusive when it comes to jar files. If the .jar file exists
in one, it can't exist in the other. If you have jt400.jar in both,
Ayden,
On Thu, Sep 18, 2008 at 12:53 AM, [EMAIL PROTECTED] wrote:
I would also like a Blogger like WordPress or Apache ROLLER
Actually it's pretty simple:
- Wordpress is based on PHP
- Apache Roller is based on Java (Java-Webapp)
There are some options to run PHP using Tomcat, but it's not
Hi.
In a Tomcat servlet application context, I use the jCIFS filter (see
jcifs.samba.org) to perform Windows NTLM authentication of IE clients.
It works well.
However, to work around a problem of browsers not being set up properly,
I would need a servlet filter inserted *before* jCIFS in the
agreed
you should'nt duplicate any jars for webapp specific WEB-INF/lib with same
driver jars in COMMON/lib
keep your java and JDBC and TC environment simple by deploying everything
either on windows and or unix box first
when you get Java, TC, DB and webapps working and your boss has alot of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hassan,
Hassan Schroeder wrote:
On Wed, Sep 17, 2008 at 2:57 PM, Christopher Schultz
[EMAIL PROTECTED] wrote:
Why not have your upload servlet invoke rsync when a new file has
been stored?
You're not seriously suggesting that as a viable
From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir
Subject: hello world
I'm running Ubuntu:
[EMAIL PROTECTED]:~$
I thought mentats weren't supposed to use computers...
Do I need to install Tomcat 5.5 from Ubuntu
We've had no end of problems with 3rd-party repackaged versions of
Caldarale, Charles R wrote:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir
Subject: hello world
I'm running Ubuntu:
[EMAIL PROTECTED]:~$
I thought mentats weren't supposed to use computers...
No matter what, the spice must flow. If it takes a computer, it takes a
None of them worked. Although putting the
-Dcom.sun.management.jmxremote=true i stopped getting the error
messages, but still Jconsole wouldn't work. The only way was to copy
directly in the command in the catalina.bat, which is terrible I
know!!!
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS%
Thanks for your help!
But that's not so easy doing that...
I was wondering how Netbeans can make my traybar work
hiding tomcat's output window at the same time!
And not only hide : they can redirect tomcat's output to a text area
inside the IDE...
--
View this message in context:
On Thu, Sep 18, 2008 at 7:47 AM, Christopher Schultz
[EMAIL PROTECTED] wrote:
I suppose it depends on the frequency of image uploads. 100 images a day
wouldn't be too bad. 100 images per minute would seriously suck.
True, I was envisioning a relatively low-frequency operation, for
no
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sinoea,
sinoea kaabi wrote:
The static methods are not thread-safe you say!
No, your static methods are perfectly threadsafe. Johnny is just getting
itchy because it's not what he'd do. You aren't using any class-level
members in your static
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sinoea,
sinoea kaabi wrote:
Collection branches = new BranchData().loadBranches(Data.getDataSource(), 1);
Can the getDataSource method be static?
Not only can the getDataSource method be static, you could also call it
directly from your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peng,
Peng Tuck Kwok wrote:
You could use ant to automate it.
+1
I use good old emacs (while ducking to avoid being hit with fruit) and
ant scripts to do everything, including compiling, deployment, and even
starting and stopping tomcat. Each of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alan,
Alan Chaney wrote:
As far as the database side of it goes it seems to me that much of it is
a question of making the 'live-update' a design requirement for any
upgrades. You have to make it possible for the changes to the database
to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
However, to work around a problem of browsers not being set up properly,
I would need a servlet filter inserted *before* jCIFS in the chain,
which would :
- detect if a client attempts a Basic (or Digest)
- Original Message -
From: SerFingolfin [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, September 18, 2008 5:29 PM
Subject: Re: Tomcat as Windows service and output window
Thanks for your help!
But that's not so easy doing that...
I was wondering how Netbeans can make
I want to invoke JSPs/servlets from non-request threads, e.g. to render
HTML for use in e-mails, etc.
I tried the simple-minded approach (with Tomcat 6.0.18):
ServletContext servletContext = MyContextMonitor.getContext(
/myContextName );
RequestDispatcher dispatcher =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kusuma,
Kusuma Pabba wrote:
i also have firefox on my arm processor but i am not able to
understand how to use http on it
Wait... are you running on embedded hardware, or just a desktop/server
running on an ARM processor?
i cannot load full
Hi,
Just upgraded my Tomcat from 5.5 to 6.0 and noticed that my JspC task in
build.xml is no longer working. The documentation for 6.0 quote is below, but
with 6.0 there seems to be no such thing as server/lib and common/lib, so
something is not right. Could someone plese tell me how to fix
On Thu, 2008-09-18 at 08:34 -0700, Hassan Schroeder wrote:
On Thu, Sep 18, 2008 at 7:47 AM, Christopher Schultz
[EMAIL PROTECTED] wrote:
I suppose it depends on the frequency of image uploads. 100 images a day
wouldn't be too bad. 100 images per minute would seriously suck.
True, I was
- Original Message -
From: Jess Holle [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, September 18, 2008 6:36 PM
Subject: Invoking JSP/servlet from non-request thread?
I want to invoke JSPs/servlets from non-request threads, e.g. to render
HTML for use in e-mails, etc.
if i'm going to be using sha-1 for the encryption, do i just specify
digest=SHA, digest=SHA1, digest=SHA-1?
thanks,
joe
Try something like
taskdef classname=org.apache.jasper.JspC name=jasper2
classpath id=jspc.classpath
pathelement location=${java.home}/../lib/tools.jar/
fileset dir=${tomcatHome}/bin
include name=*.jar/
/fileset
pathelement
- Original Message -
From: Joe A [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, September 18, 2008 8:07 PM
Subject: question about realm auth and digest attribute
if i'm going to be using sha-1 for the encryption, do i just specify
digest=SHA, digest=SHA1,
Johnny Kewl wrote:
- Original Message - From: Joe A [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, September 18, 2008 8:07 PM
Subject: question about realm auth and digest attribute
if i'm going to be using sha-1 for the encryption, do i just specify
digest=SHA,
--- On Wed, 9/17/08, Hassan Schroeder [EMAIL PROTECTED] wrote:
From: Hassan Schroeder [EMAIL PROTECTED]
Subject: Re: Balance and sync data
To: Tomcat Users List users@tomcat.apache.org
Date: Wednesday, September 17, 2008, 6:13 PM
On Wed, Sep 17, 2008 at 2:57 PM, Christopher Schultz
[EMAIL
Hi Guys,
Thanks for the tips.
Ok - I'll make sure I have jt400.jar in only one dir.
And not mess with the ClassPath, got it.
Yep, sorry - I meant JDBC.
We never used jk2, just mod_jk - I mis-wrote!
Wwe found that we coded the server.xml wrong.
Apparently it changed - we had been using Tomcat
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
However, to work around a problem of browsers not being set up properly,
I would need a servlet filter inserted *before* jCIFS in the chain,
which would :
- detect if a client attempts a Basic
For anyone who's interested in this, I've got a alpha version of the
CentOS5/RHEL5 installer here:
http://clubwheat.viviotech.net/openbd_rhel5.sh
This installer sets up isolated instances of Sun's JRE, OpenBD, and
Tomcat, specifically for the purpose of processing CFML templates.
It is meant to
Thank you!
--- On Thu, 9/18/08, Jess Holle [EMAIL PROTECTED] wrote:
From: Jess Holle [EMAIL PROTECTED]
Subject: Re: JspC woes in Tomcat 6 (Urgent)
To: Tomcat Users List users@tomcat.apache.org
Cc: Tom Cat [EMAIL PROTECTED]
Date: Thursday, September 18, 2008, 2:21 PM
Try something like
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Joe A wrote:
if i'm going to be using sha-1 for the encryption, do i just specify
digest=SHA, digest=SHA1, digest=SHA-1?
I'm not sure you have a choice... I think it's MD5 by default with no
other options.
Greetings,
I am using Apache Tomcat 6.0 on Windows Server 2003. I'm not serving any
pure HTML pages - all pages are JSPs, so I plan to use Tomcat in a
standalone mode.
I want to use port 80 for HTTP and port 443 for HTTPS/SSL versus the
out-of-the-box Tomcat ports of 8080 / 8443.
I
Yes there is.
I recommend this article as far as properly configuring SSL (this one is with a
self signed certificate though)
http://techtracer.com/2007/09/12/setting-up-ssl-on-tomcat-in-3-easy-steps/
Here's an example config for both, which also will allow connections on 80 to
redirect to
I have a test server and a staging server: In the test server I have two
war files abclaunch.war and abcota.war
It works fine when I pull up it from the web browser
I copy this two file to the staging but it shows me the old version on
the staging web page I have confirmed there the same release
Paul,
Thanks very much for the help. I have already configured SSL to work using
port 443 as follows:
Connector port=80 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=443 /
Connector port=443 protocol=HTTP/1.1 SSLEnabled=true
Check to make sure your Tomcat work directory is being updated when you deploy
the new war. Also, have you confirmed it isn't just the browser cacheing the
content (CTRL+F5 to hard refresh that)?
Paul McGurn | Manager, Customer Support
Escalations
I had a similar issue, and it turned out to be an address binding issue.
Can you access the site on localhost by using your actual hostname, or the LAN
IP address vs. 127.0.0.1?
I'm also pretty sure you need the SSLEngine=on to make it all work properly.
Tomcat will respond on 443 with
From the Apache Tomcat server I can access my webapp via SSL/443 using
localhost and/or the server's LAN IP address.
No errors in the logfile.
More and more, this problem looks like a firewall/port blocking issue.
Thanks again.
-Original Message-
From: Paul McGurn [mailto:[EMAIL
Hmmm, here are my jk settings:
JKWorkersFile /etc/libapache2-mod-jk/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkShmFile /var/log/apache2/mod_jk.shm
JkOptions +ForwardURICompatUnparsed
The JK connector is the one from the mod_jk debian
Martin Spinassi wrote:
[...]
Martin,
I re-read the thread from the beginning, and as I understand it you have
- clients that upload files, most of then images
- clients that download these same images
- and you would like a system that handles this and duplicates the
images to 2 or more
Gauss wrote:
From the Apache Tomcat server I can access my webapp via SSL/443 using
localhost and/or the server's LAN IP address.
No errors in the logfile.
More and more, this problem looks like a firewall/port blocking issue.
Yes, it probably is. Also check the Windows Firewall, if it might
Christopher Schultz wrote:
[lots of good stuff snipped]
You could check out http://tuckey.org/urlrewrite/, but I think that
mod-rewrite is a full Swiss Army Chainsaw while urlrewrite is more of a
santoku knife.
Went there, saw it, downloaded it. It seems to do what I want, and lots
more.
Hello!
For Connection on database i initialize in context.xml:
[CODE]
Realm className=org.apache.catalina.realm.JDBCRealm debug=0
driverName=com.Driver
connectionURL=jdbc:url
connectionName=CONNAME connectionPassword=CONPASS userTable=BFWBBUSR
userNameCol=LOGINNM userCredCol=USRPASS
Hi,
I am also using antiResourceLocking flag in context.xml. Once the flag is
set to true, Tomcat starts exploding web application in temp directory. It
works well for me in Linux and Windows environment, but in AIX, I cannot
even start tomcat with antiResourceLocking flag set to true.
When I
Hi,
I am using antiResourceLocking flag in context.xml. Once the flag is set to
true, Tomcat starts exploding web application in temp directory. It works
well for me in Linux and Windows environment, but in AIX, I cannot even
start tomcat with antiResourceLocking flag set to true.
When I saw
Check you port bindings using netstat -an and see if it is bound to a specific
IP address.
-Original Message-
From: Gauss [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2008 4:23 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 6 HTTP / HTTP SSL Connector Port - Configuration
There's a lot of good suggestions here, maybe you could also justify
maintaining a separate instance for the American customers. That would at
least allow at a minimum to roll out changes specific for them, conform to
their maintenance time :P. Yes I do realize it would be a replication of
code in
On Thu, 18 Sep 2008 11:02:42 -0400, Brantley Hobbs wrote:
I thought mentats weren't supposed to use computers...
Later on they do :)
No matter what, the spice must flow. If it takes a computer, it takes a
computer.
Yes :)
-Thufir
On Thu, 18 Sep 2008 09:50:18 -0500, Caldarale, Charles R wrote:
Do I need to install Tomcat 5.5 from Ubuntu
We've had no end of problems with 3rd-party repackaged versions of
Tomcat.
Ok, yeah, I've seen mention of that, but thought that must be in error.
If Apache installs then why not
From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir
Subject: Re: hello world
If Apache installs then why not tomcat?
Apache is a software organization with numerous products; if by Apache you
mean httpd, it may be because the 3rd-party developers are more familiar with
it so less
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kusuma,
Kusuma Pabba wrote:
i also have firefox on my arm processor but i am not able to
understand how to use http on it
Wait... are you running on embedded hardware, or just a desktop/server
running on an ARM
- Original Message -
From: Frank Uccello [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, September 18, 2008 10:42 PM
Subject: staging
I have a test server and a staging server: In the test server I have two
war files abclaunch.war and abcota.war
It works fine when I
74 matches
Mail list logo