FORBIDDEN access

2003-08-02 Thread Bradberry, Rick
Hi, This may be a bit os specific but I would appreciate any help. I am trying to get apache and tomcat talking on Mandrake 9.0 using the default installation. Each server work independently. When I try access examples through apache I get a FORBIDDEN , you do not have permissions to access

Re: FORBIDDEN access

2003-08-02 Thread Mike Millson
Does the directory above your Apache DocumentRoot directory have execute permissions? For example, if DocumentRoot = /home/tomcat/your_app, then /home/tomcat needs to have execute permissions. chmod u+x /home/tomcat/your_app Does the user that tomcat runs under own the directory and files

Running external C routine from a servlet ? Please help me !!!!

2003-08-02 Thread Michel Jubault
Hi there ! I'm running a little C program from a servlet. I'm using runtime, process and exec to do this. I gather the result in an inputstream. In fact there's no pb on that. The problem is rather a path problem. All servlets in my app are using relative path to found the others and properties

Re: Tomcat and LDAP Issues

2003-08-02 Thread Tim Funk
Feel free to lurk, but please don't troll! ;) -Tim Jon Wynacht wrote: Thanks Jeff, I saw that you posted it thereshall I look to the list for an answer or troll both? Thanks, Jon - To unsubscribe, e-mail: [EMAIL

RE: FORBIDDEN access

2003-08-02 Thread Bradberry, Rick
Mike, Thanks for the help, but all the directories have a minimum of r-x, most have rwx and are owned by root. Tomcat runs as root and apache runs as apache. Rick -Original Message- From: Mike Millson [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 9:20 AM To: Tomcat Users

RE: Running external C routine from a servlet ? Please help me !!!!

2003-08-02 Thread Bradberry, Rick
Michel, I had a similar problem creating files in a servlet. I found that in my case, the relative path start in the directory where tomcat is started. I changed the startup script to do a cd to $tomcat_home then called bin/startup.sh. Hope this helps Rick Bradberry NCR WCS Managed Services

Re: Running external C routine from a servlet ? Please help me !!!!

2003-08-02 Thread Michel Jubault
Hi ! Many thanks, it's a good idea !!! You're right it's the same case for me : the default dir is the directory where I launch tomcat Is it a particar behavior of the 4.1.24 version? Regards Michel - Original Message - From: Bradberry, Rick [EMAIL PROTECTED] To: 'Tomcat Users List'

RE: FORBIDDEN access

2003-08-02 Thread Bradberry, Rick
Found this in the httpd error_log file: [Sat Aug 2 11:48:26 2003] [error] [client 127.0.0.1] client denied by server configuration: /usr/share/webmin/apache/jakarta-tomcat-4.1.18/webapps/examples Does anyone know what I should look for? and where? Rick -Original Message- From:

Errors on Apache1.3.27 using mod_jk2

2003-08-02 Thread Raffi B.
I'm trying to connect Apache 1.3.27 to Tomcat 4.2.27 using mod_jk2.dll on Win32. Apache is working, and so is Tomcat, but I keep getting a 500 error when I try to access a JSP on Tomcat from Apache. In http.conf for Apache, I've defined the following for mod_jk2.dll LoadModule jk2_module

Following Symbolic Links under ROOT

2003-08-02 Thread Bongrip
I want to enable symbolic links under the ROOT webapp, but cannot find any documentatiob on configuring this. Is this possible to do? I have a directory of data that is symbolically links to the webapps/ROOT directory. ranger:/usr/local/tomcat/webapps/ROOT#ls -l total 192 lrwxrwxrwx1 root

RE: Errors on Apache1.3.27 using mod_jk2

2003-08-02 Thread Bradberry, Rick
Raffi, First let me say I'm no expert on Tomcat. Second I just tried to get mod_jk2 to work on win2k and could not get it to work. After a couple of days of frustration, I changed to mod_jk and not it works great. I don't know if my configuration was incorrect or what. Never did get it figured

NoClassDefFoundError happens only on Tomcat 4.0.2 on Sun Solaris, not on Windows.

2003-08-02 Thread Meng-Wei Tsai
Hi, I have a program using third party Web Services implementation, which internally needs to load javax.xml.namespace.QName. This class is in some of the jar files( jaxrpc.jar, wsdl4j.jar, and jaxrpc-api.jar ) under WEB-INF/lib. When I deploy the app to my local Tomcat 4.0.4 on Windows 2000

RE: Errors on Apache1.3.27 using mod_jk2

2003-08-02 Thread Raffi B.
Hey Rick, Thanks for the reply. You say that you successfully got mod_jk working on Windows? I'm assuming that you are using Apache to serve static files and forward all other requests to Tomcat because this is the only reason why I'm trying to get the module working. If at all possible, if

RE: Errors on Apache1.3.27 using mod_jk2

2003-08-02 Thread Bradberry, Rick
This is the howto I used and it seems to work ok for me. I'm using apache 2.0.44, tomcat 4.1.18 and mod_jk-2.0.43.dll on win2k one note, if you go to mod_jk make sure you comment out all lines in jk2.properties http://www.johnturner.com/howto/winxp-howto.html Rick -Original Message-

Error compiling jk2 on tomcat 4.1.27

2003-08-02 Thread Neil Aggarwal
Hello: When I try to compile the jk2 connector for tomcat 4.1.27, I get this error: [so] cc -c -I/usr/local/jakarta-tomcat-connectors-4.1.27-src/jk/native/common -I/usr/local/apache/include -I/usr/java/j2sdk1.4.2/jre/../include -g -W -D_REENTRANT -DCHUNK_SIZE=4096 -DREUSE_WORKER

Tomcat 4.1x running as NT Service Issue

2003-08-02 Thread Robert Porter
I have scanned all the archives, and have seen some issues that are similar but not quite the same so I am posting this request. We are running Tomcat 4.1.24 Binary release, as a Service on Windows 2000 SP3 and SP4 Pro version. No JSP just servlets. The Tomcat instance is hosting 2 servlets that

Tomcat startup problems

2003-08-02 Thread bbonkosk
Hello, I am running WIN98 trying to get Tomcat to run. It installs with no problems, but then when I proceed to execute the startup batch file I get a bunch of JAVA errors, Following is the contents of my catalina_log files. Any help would be greatly appreciated. -Brad --LOG FILE---

webdav with tomcat standalone?

2003-08-02 Thread Randolph Jones
Is there a way to get the tomcat native http server to sue the mod_dav-psql module to deliver files in a postgresql database through webdav? I dont have any static files, I want to load and store openoffice docs in postgresql, and get them though openoffice's webdav interface. This works for

Re: Following Symbolic Links under ROOT

2003-08-02 Thread Tim Funk
I think this is what you are looking for. http://jakarta.apache.org/tomcat/faq/misc.html#symlink -Tim Bongrip wrote: I want to enable symbolic links under the ROOT webapp, but cannot find any documentatiob on configuring this. Is this possible to do? I have a directory of data that is

Re: Tomcat 4.1x running as NT Service Issue

2003-08-02 Thread Nathan Ward
I'm not sure that this is it, but you might try setting the JVM min and max memory limits when starting Tomcat by adding the following to $CATALINA_HOME\bin\catalina.bat: set JAVA_OPS = -Xms100m -Xmx100m Default for the JVM I believe should be 64mb, but who knows. Why are you using jdk 1.3.1?

Connection Pooling

2003-08-02 Thread Gregg Bolinger
I am trying to setup MySQL connection pooling in Tomcat 4.1.24 and when I try and add resource-ref descriptionDB Connection/description res-ref-namejdbc/TestDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref to my web.xml

RE: Tomcat 4.1x running as NT Service Issue

2003-08-02 Thread Robert Porter
I am not sure why we are not running 1.4, but the image from corporate has 1.3.1 and we have been told to live with it. We are running pretty much the same configuration from what you describe but with drastically different results. I am checking on JVM settings, and I will try what you

RE: Connection Pooling

2003-08-02 Thread Gregg Bolinger
Ok, got that resolved. I just had the element order in my web.xml file wrong. Of course now I am getting this error: cannot create resource instance So I am off to research that. Gregg -Original Message- From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003