2010/3/17 Goldberg, Michael1 michael1.goldb...@citi.com:
I am using Tomcat version 6.0.x, Spring 2.5 in eclipse 3.4.2. Trying to
configure a tomcat webserver which hosts the backend for a flex web app.
Now on startup tomcat is having an issue resolving some spring dependancies
which
On 03/17/2010 09:35 PM, Anthony J. Biacco wrote:
I may have found it from 5 minutes earlier, I didn't go back that far in
the log. I'll mail it privately, I don't feel comfortable posting the
content in whole publicly, if that's alright.
OK. Here is the problem
Send request header
[Wed Mar
Please have a look
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
Thanks;
--Gurkan
2010/3/18 Narahari 'n' Savitha savith...@gmail.com
Friends:
I have the following setup.
A Jar file with a class called DBConnectionUtil that reads a specific
string
for
- Forwarded Message -
From: ganesh.sabb...@oracle.com
To: users@tomcat.apache.org
Sent: Thursday, March 18, 2010 2:16:39 PM GMT +05:30 Chennai, Kolkata, Mumbai,
New Delhi
Subject: Fwd: Tomcat not able to access folder which is in virtual drive
- Forwarded Message -
From:
On 18 March 2010 08:58, Ganesh Sabbani ganesh.sabb...@oracle.com wrote:
I have created the project in eclipse and it is working perfectly fine
using tomcat and reads the log files, but the issue which i am facing is
when i create a WAR file and deploy it on tomcat it is unable to access the
On 18/03/2010 04:26, Goo Sam Kong wrote:
Hi Mark,
Will apache.org correct the Tomcat documentation or fix the code?
The docs are correct. This is already fixed in Tomcat 7 and has been
proposed for Tomcat 6.
Mark
-
To
I've registered a bug on that, with all needed files to reproduce.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48933
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail:
Hi
I suggest separating the Project into 2 parts
1) Vitual application to read the log files
This can be achieved in tomcat
[ /conf/Catalina/localhost/ virtualdirectory.xml ] via remote directory
mount
virtualdirectory.xml can have something like this [real path of log files ]
Thank you for the answer. I have had gone thru it before asking question
and after. If there is a specific area that you want me to look at let me
know.
If anyone has had this direct global JNDI access need could you share that
info ?
A hack, a round about. I dont have access to the source
2010/3/18 Narahari 'n' Savitha savith...@gmail.com:
If anyone has had this direct global JNDI access need could you share that
info ?
What do you mean by global JNDI access.
Note that, IIRC, you cannot access resources defined in server.xml's
GlobalResources, unless you add a ResourceLink
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Subject: Re: jndi global look up questions
What do you mean by global JNDI access.
Judging from the example code supplied by the OP, he or she wants a kludge in
Tomcat to so that it presumes the presence of the java:comp/env prefix.
From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com]
Subject: RE: Tomcat not able to access folder which is in virtual drive
I suggest separating the Project into 2 parts
How is that going to help, when
A) the webapp operates properly under Eclipse; and
B) Windows services
Bingo. Exactly. Is there a way to kludge Tomcat into doing this ?
Please...
-Narahari
On Thu, Mar 18, 2010 at 9:05 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Subject: Re: jndi global look
From: Narahari 'n' Savitha [mailto:savith...@gmail.com]
Subject: Re: jndi global look up questions
Bingo. Exactly. Is there a way to kludge Tomcat into doing this ?
Better to change your code to be spec-compliant, and not dependent on the
illogical (and illegal) behavior of certain app
Unfortunately dont have choice over this. Since Websphere allows this the
team that provides this JAR file has used shabby programming practices. Now
I am trying to make this app work in Tomcat.
So if thee is a setting in Tomcat to say allow shabby programming practices
to get thru, it will be
From: Narahari 'n' Savitha [mailto:savith...@gmail.com]
Subject: Re: jndi global look up questions
So if thee is a setting in Tomcat to say allow shabby programming
practices to get thru, it will be great.
What do you say ? Any ideas ;)
I can't think of any way to do this via
Hi,
I am having a quite serious problem for which I could not find solution.
Tried to ask this question on couple apache forum and was adviced to ask it
on tomcat forums.
The configuration:
Apache: 2.2 serving as load balancer
workers.properties
worker.list=balancer
worker.engine1.port=10001
On 03/18/2010 07:05 AM, Caldarale, Charles R wrote:
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Subject: Re: jndi global look up questions
What do you mean by global JNDI access.
Judging from the example code supplied by the OP, he or she wants a kludge in
Tomcat to so that
On Tue, Mar 16, 2010 at 9:53 PM, Campbell, Lance la...@illinois.edu wrote:
I have a web server and an application server. I use mod_jk to
communicate between apache2.0 and tomcat 6. I don't believe the
communication between apache and tomcat is secured by default. Is there
a way to have it
From: Goldberg, Michael1 [mailto:michael1.goldb...@citi.com]
Subject: RE: Tomcat-Spring-Eclipse/Flex Classpath Issue
Yes that jar is there.
Does the jar appear anywhere else in the classloader hierarchy?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
The spring.jar only appears in WEB-INF/lib. Based on the stacktrace which is
the class not found ?
com.citi.cpm.util.SystemPropertyInitializingBean which resides in
WEB-INF/classes or org.springframework.beans.factory.InitializingBean which is
in WEB-INF/lib ?
-Original Message-
On 18/03/2010 15:22, Andrey Ilyin wrote:
Is there a way to force apache to always rebalance to same box for different
tomcat contexts?
You can try setting emptySessionPath=true on the connector.
Mark
-
To unsubscribe,
On 03/18/2010 04:14 PM, Caldarale, Charles R wrote:
From: 2smart4u [mailto:rc4...@googlemail.com]
Subject: Re: mod_jk - apache to tomcat using SSL
why encrypting the traffic between httpd and tomcat (frontend /
backend) anyways?
Depends on the location of the two boxes, the accessibility of
Hi,
We all want to see a Tomcat track at the ApacheConNA2010, don't we?
I have created a wiki page to collect the presentation proposals.
Fell free to add the stuff you would like to present at the ApacheCon.
The tomcat PMC will review it and then propose it to the planners of
conference.
Note
Yes, and it's essentially the same. And I seem to have gotten this no matter
the version I've tried out (6.018, 6.0.24, etc.)
SEVERE: Servlet.service() for servlet jsp threw exception
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at
markt-2 wrote:
On 18/03/2010 15:22, Andrey Ilyin wrote:
Is there a way to force apache to always rebalance to same box for
different
tomcat contexts?
You can try setting emptySessionPath=true on the connector.
Mark
Hi Mark,
Thank you, this works perfectly. Can you elaborate
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
Yes, and it's essentially the same. And I seem to have gotten this no
matter the version I've tried out (6.018, 6.0.24, etc.)
If you don't mind, please repost your Resource
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Asangansi,
On 3/18/2010 8:17 AM, Asangansi wrote:
Yes, i want to avoid conflicts with the host computer's default tomcat ports.
From what you said about using a virtualized server, if i used VM Ware
could it be made bootable? I'd like to try the
Not a problem.
Resource config located in: .../webapps/chngctrl/META-INF/context.xml -
Context
Resource name=jdbc/myoracle
auth=Container
type=javax.sql.DataSource
driverClassName=oracle.jdbc.driver.OracleDriver
maxActive=125
maxIdle=15
maxWait=7
removeAbandoned=true
On 18 March 2010 16:59, Christopher Schultz ch...@christopherschultz.netwrote:
If, as Todd reports, the JVM can be installed to a USB stick, Id just go
with that: pick a port that's unlikely to be used by the host machine
(like 80801) and use that for your setup. Avoid using anything other
Good Morning Everybody,
Currently I am trying set up a tomcat instance so that it can access web
service by accepting server side certificate and pass the client side cert
to server.
I am not sure how to do it,
I thought one way would be to set
CATALINA_OPTS=-Djavax.net.ssl.trustStore=java key
On 3/18/2010 12:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Asangansi,
On 3/18/2010 8:17 AM, Asangansi wrote:
Yes, i want to avoid conflicts with the host computer's default tomcat ports.
From what you said about using a virtualized server, if i used VM
From the docs:
= [cut] =
If set to true, all paths for session cookies will be set to /. This
can be useful for portlet specification implementations. If not
specified, this attribute is set to false.
= [cut] =
More or less, it drops the context from the Cookie-path, meaning the
cookie is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
On 3/18/2010 1:16 PM, Propes, Barry L wrote:
Resource name=jdbc/myoracle
In web.xml, located in.../webapps/chngctrl/WEB-INF/web.xml
(for what it's worth, and I think it's immaterial, this at the top-)
?xml version=1.0
I'll give that a shot, Chris, and see.
Seems like I've tried it with and without those set of params listed (not just
listed by you but by me) and had the same naming context issue.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday,
Resource-Ref is definately 2.3-standard.
Here's a configuration we're running in production. Adapt it to your
needs, should work with TC 5.5 and 6.x:
META-INF/context.xml:
?xml version='1.0' encoding='utf-8'?
Context
Resource
auth=Container
description=somedescr
name=jdbc/someName
Asangansi,
I'm all for VM's and I use ESXi at home myself. I can't speak to Xen or
other virtualization tech. And I don't think you can make a bootable
VM, but I'll admit if I'm wrong. You can check the VMWare forums.
I've just found that often times it's easier to sell the client on just
From: 2smart4u [mailto:rc4...@googlemail.com]
Subject: Re: DB connection error -Tomcat 6 config
factory=org.apache.commons.dbcp.BasicDataSourceFactory
Note that this is using the commons-dbcp library, *not* the DBCP packaged with
Tomcat. The OP is trying to make his webapp function with
Good point...I'll switch back to
factory=org.apache.tomcat.dbcp.DataSourceConnectionFactory
Although I've attempted with and without a factory reference, all to the same
outcome.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thursday, March
Right but do you know how to do this.
On Thu, Mar 18, 2010 at 10:43 AM, Filip Hanik - Dev Lists
devli...@hanik.com wrote:
On 03/18/2010 07:05 AM, Caldarale, Charles R wrote:
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Subject: Re: jndi global look up questions
What do you
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
Good point...I'll switch back to
factory=org.apache.tomcat.dbcp.DataSourceConnectionFactory
Again, that factory reference is incorrect - there's no such class. If you
insist on
However notice that there is 5 minutes gap between the actual data
has been read from the client and send to the tomcat.
By that time tomcat already closed the connection (30 seconds in
server.xml) and then
any request to send the data fails. Actually all sockets shut down.
So, seems
Sorry for not clarifying...no IDE -- and this is on my 6.0.18 build.
Should it behave the same way as 6.0.26?
I'm thinking it does, but let me check...I'm not even deploying this one from
the Tomcat manager...just starting from the startup.bat file from the bin
folder.
Much like I'd done with
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
Should it behave the same way as 6.0.26?
No, 6.0.18 did not copy every instance of a Context element.
If you can, move up to 6.0.26 so we can all be looking at the same release.
- Chuck
--- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
If you can, move up to 6.0.26 so we can all be looking at
the same release.
From one of the OP's earlier messages:
An error occurred at line: 68 in the jsp file: /chngctrl/chgctrl_details.jsp
Type
Ok, Chuck, I'll give that one a shot and then deploy.
Thanks.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thursday, March 18, 2010 3:57 PM
To: Tomcat Users List
Subject: RE: DB connection error -Tomcat 6 config
From: Propes, Barry L
On 18/03/2010 21:26, Bob Hall wrote:
--- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles
Rchuck.caldar...@unisys.com wrote:
If you can, move up to 6.0.26 so we can all be looking at
the same release.
From one of the OP's earlier messages:
An error occurred at line: 68 in the jsp file:
Tried it Bob.
Same errors in both of those attempts.
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
-Original Message-
From: Bob Hall [mailto:rfha...@yahoo.com]
Sent: Thursday, March 18, 2010 4:27 PM
To: Tomcat Users List
Subject: RE: DB connection error
--- On Thu, 3/18/10 at 3:02 PM, Pid p...@pidster.com wrote:
Context envCtx = initCtx.lookup(java:comp/env);
DataSource ds = initCtx.lookup(jdbc/myoracle);
should be:
Context envCtx = initCtx.lookup(java:comp/env);
DataSource ds = envCtx.lookup(jdbc/myoracle);
no?
I was
Yes, it should be.
Not sure how that got jumbled as such but what I did have was:
Connection connection = null;
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup(java:comp/env);
DataSource ds = (DataSource) envCtx.lookup(jdbc/myoracle);
Tried other variations
I tried that, too, and still get a NameNotFound exception. jdbc is not bound
in this Context
-Original Message-
From: Bob Hall [mailto:rfha...@yahoo.com]
Sent: Thursday, March 18, 2010 5:07 PM
To: Tomcat Users List; p...@pidster.com
Subject: Re: DB connection error -Tomcat 6 config
--- On Thu, 3/18/10 at 3:07 PM, Propes, Barry L barry.l.pro...@citi.com wrote:
Yes, it should be.
Not sure how that got jumbled as such but what I did have
was:
Connection connection = null;
Context initCtx = new InitialContext();
Context envCtx = (Context)
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
Connection connection = null;
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup(java:comp/env);
DataSource ds = (DataSource)
A little bit...but I'll probe into it some more.
Thanks for the suggestion.
-Original Message-
From: Bob Hall [mailto:rfha...@yahoo.com]
Sent: Thursday, March 18, 2010 5:14 PM
To: Tomcat Users List
Subject: RE: DB connection error -Tomcat 6 config
--- On Thu, 3/18/10 at 3:07 PM,
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
I tried that, too, and still get a NameNotFound exception. jdbc is
not bound in this Context
Still indicates the Resource element is not being found by Tomcat.
- Chuck
THIS
Sorry for any confusion.
I do have my JSP source as the following:
Connection connection = null;
Context initCtx = new InitialContext(); Context envCtx = (Context)
initCtx.lookup(java:comp/env); DataSource ds = (DataSource)
envCtx.lookup(jdbc/myoracle);
connection = ds.getConnection();
Ok, Chuck,
I blew the other 6.x build (0.18 and 0.24) away and moved it to Tomcat 6.0.26.
Installed and reconfigured the context.xml an web.xml files in their respective
directories under the webapps/[webapp]/ folder.
I configured it with the proper factory reference below and now get the
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
I configured it with the proper factory reference below
And if you remove the factory attribute?
Double-check that tomcat-dbcp.jar is in Tomcat's lib directory and nowhere
else, and
I also run MySQL off the thumb drive. Though I honestly don't use it much. I
use db4o for rapid prototyping.
-Original Message-
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com]
On Behalf Of Peter Crowther
Sent: Thursday, March 18, 2010 1:19 PM
To: Tomcat Users
59 matches
Mail list logo