Re: virtual directory

2007-04-12 Thread Johnny Kewl
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

Re: nsapi_redirector.so

2007-04-12 Thread Rainer Jung
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

Re: Tomcat 6.0.x OpenEJB

2007-04-12 Thread David Blevins
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

Re: nsapi_redirector.so

2007-04-12 Thread Rajiv M
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]

Mod_jk and Kernel Panic - not syncing: Attempting to free lock on active lock list

2007-04-12 Thread Artur Różycki
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.

Re: Mod_jk and Kernel Panic - not syncing: Attempting to free lock on active lock list

2007-04-12 Thread Rainer Jung
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

Re: nsapi_redirector.so

2007-04-12 Thread Rajiv M
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

Regarding: Tomcat default JSP edit

2007-04-12 Thread GHOSTRIDER
. 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

Re: nsapi_redirector.so

2007-04-12 Thread Rajiv M
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:

Tomcat 5.5.17 and IPv6 configuration

2007-04-12 Thread SAVERIO FERRARO
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

Re: nsapi_redirector.so

2007-04-12 Thread Rainer Jung
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,

Re: Regarding: Tomcat default JSP edit

2007-04-12 Thread Johnny Kewl
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

Re: Regarding: Tomcat default JSP edit

2007-04-12 Thread Mark Thomas
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 servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class

Re: Mod_jk and Kernel Panic - not syncing: Attempting to free lock on active lock list

2007-04-12 Thread Mladen Turk
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

Re: Regarding: Tomcat default JSP edit

2007-04-12 Thread GHOSTRIDER
. 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.*

Re: Tomcat 6.0.x OpenEJB

2007-04-12 Thread Peter Rossbach
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

Re: Log4j with Tomcat 5.5 on JRockit

2007-04-12 Thread Pranas Baliuka
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

Re: Log4j with Tomcat 5.5 on JRockit

2007-04-12 Thread Pranas Baliuka
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

Re: Tomcat 6.0.x OpenEJB

2007-04-12 Thread Filip Hanik - Dev Lists
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

Re: Log4j with Tomcat 5.5 on JRockit

2007-04-12 Thread Filip Hanik - Dev Lists
-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

Re: Log4j with Tomcat 5.5 on JRockit

2007-04-12 Thread Martin Gainty
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

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-12 Thread Rashmi Rubdi
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

logon page -- amending session attempts

2007-04-12 Thread Propes, Barry L
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

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-12 Thread SAVERIO FERRARO
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

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-12 Thread Johnny Kewl
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:

RE: Question on setting up LDAP...

2007-04-12 Thread Smith, Corey
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

Re: Question on setting up LDAP...

2007-04-12 Thread Martin Gainty
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

Re: Apache+Tomcat w/ mod_jk, only works with localhost URL

2007-04-12 Thread Martin Gainty
Mike-- in your server.xml please display for us defaultHost and Host name e.g. Engine name=Standalone defaultHost=??? Engine name=Catalina defaultHost=??? Host name= M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to

Re: Apache+Tomcat w/ mod_jk, only works with localhost URL

2007-04-12 Thread mikat
Ok, here they are: Engine name=Catalina defaultHost=localhost Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false I think those are the defaults. Martin Gainty wrote: Mike-- in your server.xml please display

DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
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

Re: DB2 DataSource.

2007-04-12 Thread Martin Gainty
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

Re: Tomcat 6.0.x OpenEJB

2007-04-12 Thread David Blevins
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

Re: Singleton in Tomcat

2007-04-12 Thread Thomas Polliard
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;

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
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-

Re: DB2 DataSource.

2007-04-12 Thread Rashmi Rubdi
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]

Re: Singleton in Tomcat

2007-04-12 Thread Thomas Polliard
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

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
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,

unecessary JAR files

2007-04-12 Thread Kevin Gutch
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

Re: DB2 DataSource.

2007-04-12 Thread Rashmi Rubdi
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 -- ?xml version=1.0? web-app

Re: unecessary JAR files

2007-04-12 Thread Rashmi Rubdi
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

getResourceAsStream returning blank (NOT NULL)

2007-04-12 Thread Thomas Polliard
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; //

Re: DB2 DataSource.

2007-04-12 Thread Pulkit Singhal
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