If your SSL terminates on Apache then you are obviously in the wrong
mailing list :)
You have nothing to configure in Tomcat.
On Thu, Mar 18, 2010 at 7:20 PM, rangeli nepal wrote:
> Good Morning Everybody,
>
> Currently I am trying set up a tomcat instance so that it can access web
> service b
On 03/18/2010 09:27 PM, Anthony J. Biacco wrote:
Is there something in the new code that is just making things more
sensitive on the mod_jk side, which is why this never showed up in .28?
Yes it is. Although your particular uses case should be
shown in earlier versions as well. At least there
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 L
> 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
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 error
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();
> 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 element is not being found by Tomcat.
- Chuck
THIS COMMUNICAT
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, Propes
> 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) envCtx.lookup("jdbc/
--- On Thu, 3/18/10 at 3:07 PM, Propes, Barry L 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)
> initCtx.lookup("java:comp/env");
> DataSour
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
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
--- On Thu, 3/18/10 at 3:02 PM, Pid 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 w
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 -Tom
On 18/03/2010 21:26, Bob Hall wrote:
--- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles
R 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
Believe it or not, I didn't try
70: DataSource ds = (DataSource) initCtx.lookup("java:/myoracle");
But I did in fact try
70: DataSource ds = (DataSource) initCtx.lookup("java:jdbc/myoracle"); to no
avail.
Let me test the first DataSource attempt and see.
-Original Message-
From: Bob H
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 [mailto
--- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles R
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 mismatch: cannot convert fro
> 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 element.
If you can, move up to 6.0.26 so we can all be looking at the same release.
- Chuck
T
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
Well, while I did point it to the proper factory object -
factory="org.apache.tomcat.dbcp.dbcp.DataSourceConnectionFactory"
I still get the same error -
An error occurred at line: 68 in the jsp file: /chngctrl/chgctrl_details.jsp
Type mismatch: cannot convert from Object to Context
65:
66: Co
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
> Subject: RE: DB connection error -Tomcat 6 config
> However, I do not have an additional element
> in the conf/Catalina/ folder or subfolders
That in itself is suspicious, since Tomcat 6.0.26 should be copying every
element it finds f
>
> 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
Oh yes, you're correct on the factory reference -- the double dbcp reference.
My fault.
However, I do not have an additional element in the conf/Catalina/
folder or subfolders being referenced at all.
But it does appear to be ignoring the element.
-Original Message-
From: Caldarale,
> 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 s
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
>>>
>>> W
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
Thanks, Gregor.
Tried this exactly, but still get the same error unfortunately -
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
at org.apache.naming.NamingContext.lookup(NamingContext.ja
> 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
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
le
One more word:
The config I posted refers to 2.4 xsd, so put this at the beginning of
your deployment-descriptor:
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
http://java.sun.com/xml/ns/j2ee/web-app_
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:
You don't habe to specify the DS in your deployment-descriptor (web.xml) at all.
Within your servlet / jsp, your get
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, Mar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
On 3/18/2010 1:16 PM, Propes, Barry L wrote:
> 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-)
>
>
> http://java.sun.com/xml/ns/javaee";
>xmlns:xsi="http:
>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 vali
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 Wa
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=
-Djavax
On 18 March 2010 16:59, Christopher Schultz wrote:
> 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
> than Tomcat and I think you
Not a problem.
config located in: .../webapps/chngctrl/META-INF/context.xml -
---
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-)
http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://ww
-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
> 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 configuration, re
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.
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 org.apache.naming.NamingCo
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 w
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 th
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, e-m
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-
From
> 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 the network
connection between them, and how m
> 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
On Tue, Mar 16, 2010 at 9:53 PM, Campbell, Lance 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 send the inform
Yes that jar is there. I also decreased log level to FINEST and received
classloader ouput in the following order,
FINE: Returning class interface
org.springframework.beans.factory.InitializingBean
Mar 18, 2010 9:50:27 AM org.apache.catalina.loader.WebappClassLoader findClass
FINE:
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 tha
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
> 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 co
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
>
> 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 a
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 glob
> 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
> 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 pref
Thanks alot Chris and Todd,
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 option
I have actually tried xampp Todd mentioned, but the problem i ha
2010/3/18 Narahari 'n' Savitha :
> 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 element to your
context.xml
htt
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 cod
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 ]
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: users-h...
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 un
On 18 March 2010 08:58, Ganesh Sabbani 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
> virtual drive!
>
What
- 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: ganesh.
67 matches
Mail list logo