I have tried couple of tests with jsp and servlet redirection to
Tomcat. jsp(s) work fine. Having a problem with servlets.
To begin with, here is my obj.conf settings:
NameTrans fn=pfx2dir from=/try dir="/usr/jakarta-tomcat-5.5.0/webapps"
...
NameTrans fn="assign-name" from="/try/servlets-example
InputStream in = getClass().getResourceAsStream(sPackageNameWithSlashes);
If the class name is com.myCo.data
You put it in like this /com/myCo/data
Also because this stuff looks for a class loader I dont think it will
work in a STATIC class.
Use a normal class
NO DOTS have fun
Hi,
I'd been using connection pooling setting in Tomcat for MySQL, MSSQL and
Derby(or Cloudscape) so i guess DB2 could be setup just as same.
Make sure your driver jar file includes the Driver which is packaged as you
had declared in the XML. And place it in the Tomcat common lib folder (In
The following is copy/pasted from
http://jtds.sourceforge.net/faq.html#noSuitableDriver
Why do I get a java.sql.SQLException: "No suitable driver" when trying to
get a connection?
The "No suitable driver" exception is thrown by the DriverManager when none
of the registered Driver implementations
I have the following code:
package net.digitalassembly.auth;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.io.InputStream;
import java.io.IOException;
import net.digitalassembly.auth.PamModule;
import net.digitalassembly.auth.PamHibernateModule; // Ma
On 4/12/07, Kevin Gutch <[EMAIL PROTECTED]> wrote:
Hi,
Do unnecessary jar files affect performance of an application?
Only if the classes in the JAR files are called, but then that
wouldn't make the JAR file unnecessary :-) .
-Rashmi
--
Your Tomcat version is not known, so I'm assuming the latest version 6.0.10.
Here's what should go in:
--
./MyProject/WEB-INF/web.xml
--
http://java.sun.com/xml/ns/javaee";
xmlns:x
Hi,
Do unnecessary jar files affect performance of an application? If so
does anyone have a tool that can profile whether or not a jar file gets
utilized during an application?
Thanks
-Kevin
smime.p7s
Description: S/MIME Cryptographic Signature
It might be helpful to look at your code. I suspect that getting DB2 to work
involves more then just replacing the MySql driver with a DB2 equivalent.
I have tried using the examples to get this to work.
-Original Message-
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
Sent: Thursday, Apr
The problem is where someone stated earlier in the load of
pam.conf. So different question:
How does one either modify web.xml or read a config file from within
the WEB-INF directory?
Thanks
Thomas
On Apr 12, 2007, at 7:45 PM, Thomas Polliard wrote:
Ok, so if the constructor is empty it
I tried the example shown at the bottom of the page here:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
with MySQL and I got it to work, but I don't have DB2.
If you want the code with MySQL I can post it.
-Rashmi
On 4/12/07, Fargusson.Alan <[EMAIL PROTECTED]> wrot
Thanks. Unfortunately I did try this example before. It doesn't work. I get
an exception, and along with the stack dump I display I get "Caused by:
java.sql.SQLException: No suitable driver".
I am hoping that someone has a working example that they actually tested.
-Original Message-
Ok, so if the constructor is empty it works fine, but as soon as you
put something in the constructor it fails.
Code:
package net.digitalassembly.auth;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.io.FileInputStream;
import java.io.IOException;
im
On Apr 12, 2007, at 6:58 AM, Filip Hanik - Dev Lists wrote:
David Blevins wrote:
Plugging into Tomcat 6 doesn't work yet as the classloader
structure changed just slightly. It'd likely be just a couple day
effort to get it in, but we're very busy trying to finish up the
EJB 3 work (we're
Alan-
http://www.itjungle.com/fhg/fhg051204-story01.html
Viel Gluck/Buena Suerte
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in er
Can someone point me to documentation on setting up a DataSource to DB2?
I tried to use the examples for Oracle and MySql, but I have not been able to
get it to work.
I am able to access DB2 using the DriverManager.
-
To start
Ok, here they are:
I think those are the defaults.
Martin Gainty wrote:
>
> Mike--
> in your server.xml please display for us defaultHost and Host name e.g.
>
>
> M--
> This email message and any files transmitted with it contain confidential
> information intended only for the pe
Mike--
in your server.xml please display for us defaultHost and Host name e.g.
- Original Message -
From: "mikat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2007 5:07 PM
Subject: Apache+Tomcat w/ mod_jk, only works with "localhost" URL
Hi, I finally got mo
Hi, I finally got mod_jk working. I have used Tomcat for quite a while and
finally integrated with Apache httpd, but I have a crappy situation and if
anyone could help I'd greatly appreciate it. Right now my Tomcat webapps
are only fetched through httpd if I use localhost in the URL. It doesn't
Hi Corey-
In server.xml can we see your realm spec for LDAP?
(do a search for ldap in server.xml and you should see something like
connectionURL=ldap://ldap.computerName:Port)
M--
This email message and any files transmitted with it contain confidential
information intended only for the person
I want to clarify this email a little more. I believe the issue
is the userSearch. Because when I try to connect to my webapp I need to
type in mydomain\username to authenticate against the active directory.
My web app is going to be running on my web server so how to do I get
the filter to
Thanks Martin have it installed... everthing else works BUT IE6, tracert
ping 6, ipconfig... all show protocol is installed and working... IE7 works,
Opera Works, IE6 doesnt... there is some problem with IE6...
- Original Message -
From: "Martin Gainty" <[EMAIL PROTECTED]>
To: "
YES, thought so IE7 works with all the IP6 address's below
The problem is IE6... get IE7
BUT
Internet Explorer 7 will run on Windows XP Service Pack 2 (SP2), Windows XP
Professional x64 Edition, and Windows Server 2003 Service Pack 1 (SP1).
Memory requirements listed below are for Intern
John--
You'll have to add in IPv6 stack OR run IPv6 on IPv4...for specifics follow
this link for installing IPv6 in XP SP2
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/intmgmt/14_xpip6.mspx
Once IPv6 is installed on all boxes and configured I would run IPv6
utilities such as
Hello and thanks for the help. However, now I am receiving this
error in my log
javax.naming.InvalidNameException: cn=domain\uname,ou=Th
Users,ou=Building Users,dc=domain,dc=xxx: [LDAP: error code 34 -
208F: NameErr: DSID-031001AA, problem 2006 (BAD_NAME), data 8349,
best match of:
I
Isnt IPv6 aweful!
I think these committees are so damn busy feeding a private agenda like a
new router design or some new security structure... they have forgotten
humans have to type these awefull things... HEX are they nuts!... and then
they scope with a % so it has to be escaped in a URL...
Have you tried with http://[0:0:0:0:0:0:0:1]:8080/ ? That's the canonical
IPv6 loopback address (minus the port, of course).
| -Original Message-
| From: SAVERIO FERRARO [mailto:[EMAIL PROTECTED]
| Sent: Thursday, 12 April, 2007 06:04
| To: [EMAIL PROTECTED]
| Subject: Tomcat 5.5.17 and I
Hi,
>
> I have a Java servlet running with Tomcat 5.5 under Linux Debian. This
> servlet calls other processes. I need to specify environment variables
> to indicate where are located these processes.
> Is it possible to specify environment variables but only available for
> my web application (
Thanks too much for the responce!
I try with http://127.0.0.1:8080/ and it works.
But it doesn't work with both http://[::127:0:0:1]:8080/ and
http://[127:0:0:1::]:8080/.
I try also with http://[::127.0.0.1]:8080/ and http://[127.0.0.1::]:8080/,
but nothing.
thank.
Saverio
From: "Rashmi
Hi,
I'm using TC 4.1.31.
My question is, would it be relatively easy to implement a login attempt method
to the existing classes that use the login.html page?
I'd like to make it forward to another page after 6 consecutive unsuccessful
logon attempts.
I'm not sure which class file I'd ne
Did http://127.0.0.1:8080/ work before you installed anything?
Probably you are using an incorrect IP Address Format?
Try http://[::127:0:0:1]:8080/ or http://[127:0:0:1::]:8080/
Reference: http://tools.ietf.org/html/rfc2732
-Rashmi
On 4/12/07, SAVERIO FERRARO <[EMAIL PROTECTED]> wrote:
Hi
Pranas--
Curious as to why you are implementing on JRockit instead of Sun JVM or IBM
JVM
Are you implementing on BEA?
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you ha
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.defaultlog=error
you are forcing commons-logging to not use log4j
Filip
Pranas Baliuka wrote:
Hello,
Can some one help me problems in starting TomCat 5.5 on JRockit with log4
David Blevins wrote:
On Apr 11, 2007, at 8:21 PM, Filip Hanik - Dev Lists wrote:
http://geronimo.apache.org
they did it :)
filip
:)
Just as a general note, as with OpenEJB 1.0 and before (0.9.x, 0.8.x,
etc) you can once again plug OpenEJB 3 into Tomcat. OpenEJB 3 is the
EJB 3.0 version bas
The problem was with UNIX environment variables.
- Original Message -
From: Pranas Baliuka
To: [EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 3:54 PM
Subject: Log4j with Tomcat 5.5 on JRockit
Hello,
Can some one help me problems in starting TomCat 5.5 on JRockit with l
Hello,
Can some one help me problems in starting TomCat 5.5 on JRockit with log4j ?
All steps performed according detail instruction in
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
Steps performed to enable log4j:
1. Put log4j.properties to /usr/local/apache-tomcat-5.5.20/common/class
It is true the tomcat 6 default classloader layout has changed. At
the release bundle all class are
located at common Classloader. You can easly switch to the old
layout. Please edit the
file conf/catalina.properties and move some files arround :-)
Regards
Peter
Am 12.04.2007 um 09:50 schri
.
In response to my message...
*Johnny writes:*
*"Strange
Here is the whole file for you..."*
*Thanks for sending that Johnny*
*it allows me to complete this task..*
**
**
*Followed by Mark:*
*"The JSP is no longer pre-compiled so you can just skip this stage and
edit the JSP directly."*
Artur Różycki wrote:
Hello,
We are running Red Hat Enterprise Linux ES (v. 4 for AMD64/Intel EM64T)
as an Web server with Apache (2.2.4 compiled from sources) connected
through mod_jk (1.2.21 compiled from sources) to tomcat server(5.5.17).
This is a kernel bug related to flock
With 1.2.22
GHOSTRIDER wrote:
> The problem I am seeing is..
>
> According to the tutorial..I should see something like this
> in my CATALINA_HOME/webapps/ROOT/WEB-INF/web.xml
>
>
>org.apache.jsp.index_jsp
>org.apache.jsp.index_jsp
>
>
>
>org.apache.jsp.index_jsp
>/i
Strange
Here is the whole file for you...
- Original Message -
From: "GHOSTRIDER" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2007 12:23 PM
Subject: Regarding: Tomcat default JSP edit
.
Hello,
I have a question,
I'm new to Tomcat but not new to
server
Rajiv M wrote:
BTW, Can the .so you supplied be used in production
Difficult to answer:
1) The non-debug .so is trunk code version. But trunk is *very* near to
be released as 1.2.22. So I think there is no special risk, apart from
the usual "it's a brand new patch release". I'm confident, th
Hi all,
I have some problem with tomcat 5.5.17 and IPV6.
I installed Microsoft IPv6 on Win 2000 sp3 and then Tomcat 5.5.17.
Now I can access to Tomcat page from Internet Explorer 6 with
http://localhost:8080 but not with http://[::]:8080.
I have just tried with http://[::1]:8080 and with http://[f
Ignore this mail. I sorted out the problem. Path configuration issues
within obj.conf. Thanks a lot Rainer.
BTW, Can the .so you supplied be used in production
Thanks
Rajiv
On 4/12/07, Rajiv M <[EMAIL PROTECTED]> wrote:
Now I tried to follow the below URL:
http://tomcat.apache.org/connectors-d
.
Hello,
I have a question,
I'm new to Tomcat but not new to
server configurations..
I have installed
Apache Tomcat/6.0.10
I'm attempting secure my installation
and I've hit a road block when trying
to follow the written tutorial
"*Editing the default JSP home page loaded by Tomcat*"
Located he
Now I tried to follow the below URL:
http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
And modified the obj.conf to add these lines:
NameTrans fn=pfx2dir from=/examples
dir="/usr/jakarta-tomcat-5.5.0/webapps/jsp-examples"
NameTrans fn="assign-name" from="/examples/jsp/*.jsp" name=
Are you able to produce a stack dump (from a core) of the httpd process,
which is responsible?
Artur Różycki wrote:
Hello,
We are running Red Hat Enterprise Linux ES (v. 4 for AMD64/Intel EM64T)
as an Web server with Apache (2.2.4 compiled from sources) connected
through mod_jk (1.2.21 compi
Hello,
We are running Red Hat Enterprise Linux ES (v. 4 for AMD64/Intel EM64T) as
an Web server with Apache (2.2.4 compiled from sources) connected through
mod_jk (1.2.21 compiled from sources) to tomcat server(5.5.17). Everything
is installed on IBM x346 with 3GB of RAM and Xeon 3Ghz CPU. The
Apologies for my ignorance. The server is up! I will try more tests
with the tomcat connector redirection now.
Thanks a trillion
Rajiv
-
To start a new topic, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
On Apr 11, 2007, at 8:21 PM, Filip Hanik - Dev Lists wrote:
http://geronimo.apache.org
they did it :)
filip
:)
Just as a general note, as with OpenEJB 1.0 and before (0.9.x, 0.8.x,
etc) you can once again plug OpenEJB 3 into Tomcat. OpenEJB 3 is the
EJB 3.0 version based on our 1.x code t
The plugin exits, because it can't stat the worker file.
In the zip you attached, the worker file is called worker.properties, in
magnus.conf it's called workers.properties. Note the difference! I hope
that's the solution to your problem (point 4) in my previous email).
If that fixes your pro
Just thought of a another way to map files... and I think it may work out
better... but dont ask me how to set it up I've forgotten... because linux
never breaks.
Try Samba on linux, it allows you to map the linux file system to
windows.
So the windows guys will be working with files jus
52 matches
Mail list logo