in the context.xml.
The Resource tags can be also placed in the server.xml, but I have bad
experience with JDBC resources there, so I didn't try it.
Try the configuration above. This must work for you!
PETR
On 6/2/06, Maciej Łabędzki <[EMAIL PROTECTED]> wrote:
Hadraba Petr napis
Hi Maciej,
I'm connecting from Tomcat to ActiveMQ with this configuration:
META-INF/context.xml:
...
...
WEB-INF/web.xml:
...
jms/ConnectionFactory
javax.jms.ConnectionFactory
jms/Test
javax.jms.Queue
...
Hope, it hel
Hi,
I have no experience with Windoze, but I see one solution to detect
drive letter:
what about to use small script written in Perl???
Install perl distribution on to your Memory Stick; under UNIX systems
is perl always present (99%).
Perl has more features then CMD.EXE...
Only idea
Good lu
Hi vasu!
What files do you want to delete? The files your application is using?
If yes, maybe you forgot call f.close()... Maybe... My idea...
PETR
On 5/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Setup:
Tomcat - 5.0.28
Java- 1.4.2
OS - Windows XP
Problem:
With
Hmm,
you are running Windows, don't you? Windows XP!
It looks like a firewall issue... Try to enable the port 8080 for
localhost---sorry, I'm not Windows Firewall expert...
Have a nice night
PETR
On 5/9/06, Java Newbee <[EMAIL PROTECTED]> wrote:
When i am not connected to internet, i get th
Yes!
Glassfish is cool;-)
Also most of the sources are available -- https://glassfish.dev.java.net
Glassfish is "more strict" then Tomcat; I'm using Glassfish for
debugging and testing.
PETR
On 5/3/06, Bernhard Slominski <[EMAIL PROTECTED]> wrote:
> -Ursprüngliche Nachricht-
> Von:
Hi,
this warning says that tomcat is using log4j, but can't find the
configuration file /common/classes/log4j.properties.
But I don't know how tell tomcat to ignore log4j.jar.:-(
More info about Tomcat vs. Log4j:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
PETR
On 4/21/06, lee hwayin
Hi Vikas,
some details:
I see you're correctly using the getClass.getResource() (I'm using
getServletContext().getResourceAsStream() or
getServletContext().getResource()). But, Why are you creating
resources? You see all the war content in the host OS filesystem
because of unpackWars="true". This
Hi,
you have two options: 1. move your application to the ROOT by renaming
your war to ROOT.war (case sensitive) or 2. use mod_rewrite.
PETR
On 4/17/06, biai <[EMAIL PROTECTED]> wrote:
>
> Hi.
> I have the same question as you do.
> When you get the answer, please email me to [EMAIL PROTECTED]
>
Hi,
maybe the element will solve your problem...
PETR
On 4/15/06, Arshad Mahmood <[EMAIL PROTECTED]> wrote:
> 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. T
Hi,
I'm successfuly using PostgreSQL 8.1.3 with Tomcat 5.5.15 with JDBC
drivers 405 (build)...
I have the definition in the META-INF/context.xml and
in the WEB-INF/web.xml I have the element. The
I'm using for the ActiveMQ client connection.
Also the JDBC drivers are placed in the common/lib
Hi,
check if the different user has read permissions for the
/opt/jakarta-tomcat-5.5.9/conf/tomcat-users.xml.new file
PETR
On 4/3/06, Ali Kassem <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am using tomcat 5.5.9 with linux, and jdk1.5.0_6
>
> When I start the tomcat as root user every thing it started
Hi,
I'm using OpenSSL and have no problems...
PETR
On 3/31/06, Indraveni <[EMAIL PROTECTED]> wrote:
> Hi friends,
>
>If we are giving the apcahe configuration command as ./configure
> --enable-ssl then which ssl packages does the system require.
>
> ssl support
>
> since I am facingan er
Hi Scott,
look at awstats ( http://awstats.sourceforge.net ). This projects
parses Apache httpd's logs and can determine who's bot and who's not.
Maybe you find there some insteresting informations.
PETR
On 3/27/06, Jon Wingfield <[EMAIL PROTECTED]> wrote:
> Looks like you are running the defau
Hi Lety,
so, in short, I don't understand your problem. But, probably your
links (the element) have broken the href URL. Am I right?
Please, describe more your problem. I didn't find any problems about
URLs in the Tomcat 5.5.x...
PETR
On 3/25/06, Benitez Badillo, Leticia <[EMAIL PROTECTED]> w
Hello,
be careful using filesystem directly. This piece of code will not work
if the unpackWARs="no". Use
getServletContext().getResource("/WEB-INF/jsp/test.jsp") == null
instead. This will work for both options: for unpacked WARs and
"packed" WARs.
PETR
On 3/23/06, Rapthor <[EMAIL PROTECTED]>
Hi,
On 3/20/06, David Kerber <[EMAIL PROTECTED]> wrote:
> Caldarale, Charles R wrote:
>
> >>From: David Kerber [mailto:[EMAIL PROTECTED]
> >>Subject: Re: [OT] How does Synchronized code interact with
> >>other applications
> >>
> >>Ok. So if I were to port the Delphi app to java and run it
> >>as
Hi all friends,
I spent two days solving this problem and because there is not so
complex informations about this in the internet, I find this helpful.
I hope, this will help.
I need to connect from Tomcat web application into the standalone
ActiveMQ broker. I repeat -- standalone broker. But I
Hi,
and what about to write a servlet filter?
I have my test domain with several virtual hosts IN CNAME to localhost
(or any other IP where is Tomcat listening) in my DNS. I wrote an
simple filter which parses virtual host name (request.getLocalName()
-- always contains full computer name from re
Sorry,
for my posting, but
On 3/8/06, David Delbecq <[EMAIL PROTECTED]> wrote:
> Buddy wu a écrit :
>
> >2006/3/7, David Kerber <[EMAIL PROTECTED]>:
> >
> >
> >>
> >>
> >>
> >thanks a lot. it worked.
> >and I think someone discussed other problem of these question maybe
> >right. but my goal is on
SO on UNIX. To connect one needs to setup a ODBC datasource which may
> be painful, if you have to redistribute a client. (You need to integrate
> the entire ODBC stuff in your setup program). This driver is relatively
> new (compared to jConnect) and was introduced with ASA 8 (I think)
.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> This means it does not find the driver jar file. I put it in all
> possible directories (lib directories of the webapp, tomcats common/lib
> and shared/lib) but all without success. Do I have to set a CLASSPATH
> somewhere?
Hi,
do you have the tomcat-users.xml file in the $CATALINA_HOME/conf
directory? The user database I think is the file storing user names,
roles and their passwords...
Hope it helps
PETR
On 3/3/06, C Rose <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I'm having problems starting Tomcat after my home
Hi,
I'm not using Sybase under Tomcat; I have PostgreSQL...
Eclipse? My configuration is, Eclipse does not modify Tomcat
configuration (this is the default)
In your WebContent under META-INF create context.xml with the
definition. The element does not require
any attributes:
And finaly,
Hi,
or generate text file using response.getWriter().println() and connect
using telnet this way:
GET http://localhost:8080/context_path/servlet_path HTTP/1.1
HOST localhost:8080
And you will see headers sent by Tomcat
This works for me (specially the `chuncked' encoding)
PETR
On 3/3/06, Coro
Hi,
I saw this error yesterday. I tried to run second instance of the Tomcat.
First tomcat was configured to use port 8080 and redirect port 8443
The second instance was configured to port 9080 and redirect 9443
When I tried to start the new instance, the error about port 8005
occured... In the
Hmm,
I wrote simple servlet which finds corresponding image in webapp
resources and sends it to the client. This servlet also sets some
headers like Last-Modified etc:-( I'm writing web application which
uses SEO, supports XHTML, WML etc and I don't want to have tons of
servlets:-(
If you want, I
Hi,
did you try to copy the `activation.jar' in the common/lib/ (or
common/endorsed/ if newer version then in JRE) directory? This path is
_always_ included in the CLASSPATH by the startup scripts...
I have there JDBC drivers, xalan, xerces (in the common/endorsed-) and
it works fine.
And the se
Try upgrade from GNU Java (which is the default JVM in the Fedora
distribution) to the Sun Java 5.
GNU Java has too many issues because of is not in the final version (I
remembere) :-(
PETR
On 2/16/06, Medha Parathasarathy <[EMAIL PROTECTED]> wrote:
> I have gone through the server.xml model gi
Hi,
no, you must delete whole the original contents of the existing
directory webapps/ROOT and deploy your own ROOT.war web application.
Be careful. The `ROOT' word is case sensitive.
The default URL mapping is:
http://[machine]:[port]/[context]/[servlet]/
where
machine is currently localhost,
Hi,
maybe helps this, but it's working on Tomcat 5.5.15:-(
http://mail-archives.apache.org/mod_mbox/tomcat-users/200602.mbox/[EMAIL
PROTECTED]
PETR
On 2/13/06, chen jacky <[EMAIL PROTECTED]> wrote:
> hi,
> Do you mean add the following code in the web.xml?
>
> DB Connection
> j
31 matches
Mail list logo