On 01/12/2009 05:13, vramanaj wrote:
Still getting the same error after changing Data Source name to
'jdbc/DefaultDS'. Added resource link in webapp.xml.
Error : Error During Lookup Name jdbc is not bound in this Context
What is the full stack trace?
Are you adding it to
Full Stack Trace:
Dec 1, 2009 1:46:58 AM
org.josso.gateway.identity.service.store.db.DataSourceIdentityStore
getDataSource
SEVERE: Error during DB connection lookup
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at
vramanaj wrote:
Still getting the same error after changing Data Source name to
'jdbc/DefaultDS'. Added resource link in webapp.xml.
Error : Error During Lookup Name jdbc is not bound in this Context
Are there any extra customizations required for Josso+Tomcat6?
The 'trick' with
Ich werde ab 01.12.2009 nicht im Büro sein. Ich kehre zurück am
07.12.2009.
Ihre E-Mail wurde nicht weitergeleitet.
Bitte wenden Sie sich bei dringenden Fragen telefonisch an unseren Customer
Support unter der für Ihre Frage zutreffenen Nummer.
Produkt Telefonnummer
vramanaj wrote:
1. Defined DataSource within GlobalNamingResources
Resource name=/DefaultDS
As already mentioned here, you should rather use jdbc/DefaultDS.
* add JNDI support to josso webapp (e.g. and ResourceLink to
META-INF/context.xml and resource-ref to
Hi,
I am trying to create a AJP connector on Tomcat5.5 which is running in Embedded
mode by using following API's
Embedded em = new Embedded();
// create new engine
StandardEngine engine = (StandardEngine) em.createEngine();
engine.setName(Catalina);
engine.setDefaultHost(localhost);
String
On 01/12/2009 10:36, vramanaj wrote:
Full Stack Trace:
Dec 1, 2009 1:46:58 AM
org.josso.gateway.identity.service.store.db.DataSourceIdentityStore
getDataSource
SEVERE: Error during DB connection lookup
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at
I have used jdbc/DefaultDS. Added ResourceLink to
Catalina/localhost/webapp.xml.
Context path=/partnerapp
docBase=/usr2/tomcat/sso/apache-tomcat-6.0.18-sso/webapps/partnerapp
debug=99 reloadable=true antiJARLocking=true
antiResourceLocking=false crossContext=true
ResourceLink
Thanks all for your comments, I do appreciate the expert assistance.
As I suspected I will have to split the webapp into seperate apps based
on the authentication method required.
Seems like a funny way to arrange an application but such is life.
As for cross application communication I will have
vramanaj wrote:
I have used jdbc/DefaultDS. Added ResourceLink to
Catalina/localhost/webapp.xml.
Context path=/partnerapp
docBase=/usr2/tomcat/sso/apache-tomcat-6.0.18-sso/webapps/partnerapp
debug=99 reloadable=true antiJARLocking=true
antiResourceLocking=false crossContext=true
I have removed path and docbase from webapp.xml file. I have tried the db
connection from a servlet as below. I have gone through the josso source
codes. It is failing at below getDataSource function.
protected DataSource getDataSource() throws SSOIdentityException {
if (_datasource
2009/12/1 Anthony Jay anthony...@fastmail.fm:
As for cross application communication I will have to revisit our own
code to see if there are static/singleton services that can be
re-engineered and decoupled.
This may be one of the few appropriate times where you may want to put
code for the
Added context.xml in META-INF directory. And also added resurce-ref in josso
webapp. Still getting the same error.
Mikolaj Rydzewski-2 wrote:
vramanaj wrote:
I have used jdbc/DefaultDS. Added ResourceLink to
Catalina/localhost/webapp.xml.
Context path=/partnerapp
Peter Crowther wrote:
2009/12/1 Anthony Jay anthony...@fastmail.fm:
As for cross application communication I will have to revisit our own
code to see if there are static/singleton services that can be
re-engineered and decoupled.
This may be one of the few appropriate times where you may want
I have passed through this DataSource look up problem. I altered
context.xml/web.xml of josso webapp. And also used short JNDI names at
tomcat/web.xml/context.xml level (e.g. jdbc/DefaultDS), and full JNDI name
at Josso configuration level (e.g.
java:comp/env/jdbc/DefaultDS).
Now when i try to
On 01/12/2009 11:41, vramanaj wrote:
I have removed path and docbase from webapp.xml file. I have tried the db
connection from a servlet as below. I have gone through the josso source
codes. It is failing at below getDataSource function.
protected DataSource getDataSource() throws
No, DataSource is working fine now. Thank yoy very much for all of your
support in resolving that problem.
New issue has come in configuring the authentication scheme.
Pid Ster wrote:
On 01/12/2009 11:41, vramanaj wrote:
I have removed path and docbase from webapp.xml file. I have tried
On 01/12/2009 12:37, vramanaj wrote:
I have passed through this DataSource look up problem. I altered
context.xml/web.xml of josso webapp. And also used short JNDI names at
tomcat/web.xml/context.xml level (e.g. jdbc/DefaultDS), and full JNDI name
at Josso configuration level (e.g.
User name and password are correct only.
Pid Ster wrote:
On 01/12/2009 12:37, vramanaj wrote:
I have passed through this DataSource look up problem. I altered
context.xml/web.xml of josso webapp. And also used short JNDI names at
tomcat/web.xml/context.xml level (e.g. jdbc/DefaultDS),
Hello,
Is using singleton patterns in Tomcat (in servlets programming and deploying
them in tomcat) a really bad idea?? I came accross many forum posts and
wikis that warn about of OOM errors. One really useful post is
http://wiki.apache.org/tomcat/OutOfMemory
Resolved AuthenticationFailureException issue. This is coming because i have
used basic-authentication scheme. If basic-authentication scheme used, we
need remove hasAlgorithm and hasEnconding properties in
josso-gateway-auth.xml file.
Now Josso session id is getting created. But getting the
everything below is just my knowledge :-)
comments inlined
On Tue, Dec 1, 2009 at 2:01 PM, jkv j.kumara...@gmail.com wrote:
Hello,
Is using singleton patterns in Tomcat (in servlets programming and deploying
them in tomcat) a really bad idea?? I came accross many forum posts and
wikis that
From: jkv [mailto:j.kumara...@gmail.com]
Subject: Singletons in Tomcat(6.0)
Is using singleton patterns in Tomcat (in servlets programming and
deploying them in tomcat) a really bad idea??
No, it's fine.
One really useful post is
http://wiki.apache.org/tomcat/OutOfMemory
Unfortunately,
Hi,
I am trying to set up mod_jk to forward requests to the webapp in
tomcat. The webapp itself works when accessed directly. But I get a
400 error in mod_jk when I try to access it (even the index.jsp)
through apache.
I see the error 400 in mod_jk.log but see nothing in tomcat logs. Its
as if
Caldarale, Charles R wrote:
From: jkv [mailto:j.kumara...@gmail.com]
Subject: Singletons in Tomcat(6.0)
Is using singleton patterns in Tomcat (in servlets programming and
deploying them in tomcat) a really bad idea??
No, it's fine.
One really useful post is
groupalias v wrote:
httpd.conf
-
LoadModule jk_module modules/mod_jk.so
IfModule jk_module
What the h.. is this line for : ?
Alias /test/ /srv/tomcat6/webapps/A
It kind of contradicts these next lines :
JKMount/test/ A
JkMount /test/* A
Because of
Hi, I have a cluster with many tomcat and I want to manage the log's files
on a centralized basis in order to collect, display, analyze and manage all
files of logs from a single client. Do you know a system that allows me to
do? Many thanks.
Hello to all,
Struggling to enable UTF-8 encoding on apache tomcat 6 Windows service.
The option we used to activate (within startup.bat) was
-Dfile.encoding=UTF-8 -server
Looks like tomcat is able to start when launched from startup.bat, but, if we
intend to configure tomcat
From: olivier giorgi [mailto:olivier_gio...@yahoo.fr]
Subject: Tomcat 6 as a windows service fails to start with -server
option
Looks like tomcat is able to start when launched from startup.bat, but,
if we intend to configure tomcat as a service, the -server flag causes
the process to
Hi,
Thanks for the great advice.
On placing singletons etc in jar libraries in tommcat /lib directory,
that would be a very simple hack that could keep code pretty much as is.
Thank you for that suggestion, it may well be a runner, I didnt think
that was possible.
In terms of fronting
My setup: Mac OS X 10.5.8, Tomcat/6.0.20[from apache], java version
1.6.0_15
I'm starting Tomcat with ~bin/startup.sh.
I have a SessionListener which is not being invoked when I connect to
the webapp,
and I don't understand why.
The SessionListener works correctly in a a slight variation
From: Ken Bowen [mailto:kbo...@als.com]
Subject: SessionListener not being invoked
I have a SessionListener which is not being invoked when I connect to
the webapp, and I don't understand why.
Most likely because your webapp didn't choose to create a session. You'll need
to look at the
No, we always create a session (or want to).
The only %@ in the welcome page are
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib uri=http://tiles.apache.org/tags-tiles; prefix=tiles %
%@ taglib uri=http://java.sun.com/jstl/core_rt; prefix=c %
As I mentioned at the end of
I want to manage the log's files on a centralized basis
Does this help?
http://linux.die.net/man/1/mergelog
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your tomcat app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day free trial, Google Checkout
Hi,
I have to move the tomcat directory with in my user and i ask is it safe if
i do it while tomcat is running as i need to avoid downtime of my
application.
Thanks in Advance
Dean
Dean Chester wrote:
Hi,
I have to move the tomcat directory with in my user and i ask is it safe if
i do it while tomcat is running as i need to avoid downtime of my
application.
Thanks in Advance
Dean
I doubt you would even be able to do so, at least not in Windows.
I would be doing it on red hat. Would it just be easier to email all the
users and say its down for maintenance and then just move it?
Dean
On Tue, Dec 1, 2009 at 9:02 PM, David kerber dcker...@verizon.net wrote:
Dean Chester wrote:
Hi,
I have to move the tomcat directory with in my user and
Ok thanks what i meant is that the tomcat directory is in
~/tomcat6/apache-tomcat-6.0.20/ and i need to move it to my home directory
~/. Basically was it safe to do it while tomcat is still running.
On Tue, Dec 1, 2009 at 9:12 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From:
2009/12/1 Dean Chester dean.g.ches...@googlemail.com:
Ok thanks what i meant is that the tomcat directory is in
~/tomcat6/apache-tomcat-6.0.20/ and i need to move it to my home directory
~/. Basically was it safe to do it while tomcat is still running.
No, that is not safe. Tomcat may access
Ok i will turn tomcat off then move the directory.
Dean
On Tue, Dec 1, 2009 at 9:30 PM, Peter Crowther
peter.crowt...@melandra.comwrote:
2009/12/1 Dean Chester dean.g.ches...@googlemail.com:
Ok thanks what i meant is that the tomcat directory is in
~/tomcat6/apache-tomcat-6.0.20/ and i need
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 11/30/2009 7:39 PM, André Warnier wrote:
Well, just make a simple test :
(I don't really know how to handle JSP pages, I only do servlets and
filters, otherwise I'd do it myself).
:)
- create a simple html form with a UTF-8 charset,
See answers inline -
On Tue, Dec 1, 2009 at 7:26 AM, André Warnier a...@ice-sa.com wrote:
groupalias v wrote:
httpd.conf
-
LoadModule jk_module modules/mod_jk.so
IfModule jk_module
What the h.. is this line for : ?
I don't understand. Am I using the wrong module
Hi,
We are using tomcat 6.0.20. We installed the self signed certificate, its
working fine.
Now we installed the CA (goDaddy) certificate in order to use CA certificate
and updated the server.xml and restarted the tomcat server. But tomcat ssl
port is still picking the old self-signed certs. Do
groupalias v wrote:
See answers inline -
On Tue, Dec 1, 2009 at 7:26 AM, André Warnier a...@ice-sa.com wrote:
groupalias v wrote:
httpd.conf
-
LoadModule jk_module modules/mod_jk.so
IfModule jk_module
What the h.. is this line for : ?
I don't understand. Am I using
Thanks for your reply. I am using the standalone tomcat app server, no web
server.
We are using tomcat 6.0.20. We installed the self signed certificate on it,
its working fine.
Now we installed the CA (goDaddy) certificate in order to use CA certificate
and updated the server.xml and restarted
From: Ashok Kumar [mailto:asho...@gmail.com]
Subject: Re: Debugging tomcat-apache(mod_jk) bridge
Thanks for your reply. I am using the standalone tomcat app server, no
web server.
You replied to the wrong thread - the subject line should have given you a
clue. No one has attempted to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 12/1/2009 10:26 AM, André Warnier wrote:
groupalias v wrote:
httpd.conf
-
LoadModule jk_module modules/mod_jk.so
IfModule jk_module
What the h.. is this line for : ?
It's for conditional inclusion of Apache
Rajat Gupta05 rajat_gupt...@infosys.com wrote in message
news:784ae6e0ec8c2343975b7ff4daeaa34b0ce6638...@blrkecmbx06.ad.infosys.com...
Hi,
I am trying to create a AJP connector on Tomcat5.5 which is running in
Embedded mode by using following API's
Embedded em = new Embedded();
// create
Hi friends,
When i ran tomcat and shut it down my java process is not closing along with
shutdown.i need to kill it explicitly. So I would like to know how to
identify the java process of the logged in user who started the server. so
that i can kill the process id from the shutdown.sh script
In java i don find any API that returns the id of the process. Hopefully, It
is because process ID is not standard for all the operating system. I am not
sure about this.
But in linux you can write a simple C/C++ function to get the process id.
And that later can be integrated with java through
Thanks alot anirban for your help. No i want to get the java process id from
linux only. Can you help me with some script to get the same?
THanks,
Phani.
On Wed, Dec 2, 2009 at 12:14 PM, Anirban Talukdar
talukdar.anir...@gmail.com wrote:
In java i don find any API that returns the id of the
Have a look on the demo hello world program in JNI, you can find it over
net, and instead of printing the Hello world message just return the process
id, which can be found from the linux API.
please find the article
http://www.pacifier.com/~mmead/jni/cs510ajp/index.html
Thanks Regards
On unix (posix, linux) systems you can move anything even when in use.
Files that are open will remain open, and the application will continue
to use them. Problems will arise when the application attempts to open
new files, because then they have to be at the expected location.
If you really
Without stopping the JVM you want to change the files that the JVM is using?
I wonder. Hopefully, you can copy the files to another location, if the
application dont have any open inputstream. But the JVM current execution
path will not change if you donot restart it.
Thanks Regards
Anirban
Hi,
On your Linux box type “locale” + enter. The results should be UTF 8. If not
change it. You can also set it in the file encoding java environment
variable as suggested above as extra safety measure.
Tomcat’s logic of determining the encoding from the request only applies
when Tomcat is
55 matches
Mail list logo