Help Install TOMCAT under APACHE

2001-04-29 Thread Samuzeau Pascal
Hi, After installing TOMCAT, try to get the mod_jk.so module, and finally compile it and copy it under the well directory, I try to start Apache. Well, an error occurs as : "API module structure 'jk_module' in file mod_jk.so is garbled - perhaps this is not an APache module DSO?" What's happen

Re: how can i get apache to redirect a whole subdir to a servlet ?

2001-04-29 Thread Dieter Plank
Hi, try mod_rewrite. It's great! You have a nice doc in Apache's docs. cu. o,,,o ( 'o' ) >< (''')(''') __ Interpersonal Computing GmbH Dieter Plank Fachinformatiker - Anwendungsentwicklung (IHK) -Entwicklung- Augustenstrasse 20 - 22 80333 Muenchen Tel: ++49 89 219975-0 Web

struts / turbine etc.

2001-04-29 Thread Ivan
Has any one used struts, turbine or any other class framework for programming web applicattions?  I was wondering if they are worth the effort to learn them, and if so which one is the best and or most popular.   Thanks for your ideas, Ivan

session timeout

2001-04-29 Thread teh j
hi guys! just wondering if there some kind of session timeout on in Tomcat itself? If i leave a page that I am using sessions on for security for a while, and come back to it and try and do something on it, it gives me a message that suggests to me that there is some kind of timeout for sessions

Re: Default home for server

2001-04-29 Thread Krishna Kant T
Yes, i am trying to set /ROOT/muDir as default webserver home dir - krishnakant Barthélémy TEHAM wrote: > Try by adding ApJServMount /ROOT/myDir in your tomcat configuration file > > Are you try to set /ROOT/myDir as default webserver home dir ? > > --- Krishna Kant T <[EMAIL PROTECTED]> a écri

Re: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Ivan
Did you guys notice that the problem goes away when you restart Tomcat? I posted this earlier, but I found this problem due to rebuilding classes while Tomcat is running and then the classes have different time stamps from the ones already loaded on Tomcat. If you restart Tomcat after making cha

RE: core java <>

2001-04-29 Thread Warren Crossing
i think what you want is an executable .jar file i think it has the icon in the manifest.inf file and a main.class with public static void main ( str [] ).   pc workgroup.. fuck.. what sort of application are you building =) can you ask the dhcp server for a? list probably not.. um can y

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Cory L Hubert
The casting itself isn't the problem. The issue is the ClassLoader. When jasper tries to pick up classes off tomcat's classpath dynamically issues popup. For example. You can be working on a JSP file. Hit it from the browser. It compiles, everything

Authentiication problem

2001-04-29 Thread Pradeep BS
Hi, We are facing a strange problem It goes something like this... 1. We're using Tomcat as a stand alone servlet engine. we've set up authentication for accessing certain web pages. 2. First time if we access a web page ( ex: default.html) the browser prompts for username password. 3. Now

core java <>

2001-04-29 Thread Shailendra
hi all of you<>this is about  some core java problem please help me(in any form ie. redirection to other site...) to get the ans. of these question?please mail me on my mail id [EMAIL PROTECTED]firsthow to produce a class file that run withod showing dos prompt(just   like a procces)?basica

Re: solaris exception

2001-04-29 Thread johnd
I've been told, 'see I told you not to run solaris on x86...'. Do you think if I moved this to a sparc box with solaris 8, the problem would still exist? I'm basically trying solaris x86 to get a feel for solaris. If I like solaris I'll move to sparcs...I was told don't evaluate solaris on x86,

Re: solaris exception

2001-04-29 Thread Steve Brunton
On Sun, Apr 29, 2001, Purple Mutants made johnd write: > Anyone running Solaris 8 x86? > Ohh ohh me me.. > Since switching to Solaris I see a lot of 'SocketExceptions:' something > about reset my peer... > What log file are you seeing these in? If your seeing them in the Webserver logs th

solaris exception

2001-04-29 Thread johnd
Anyone running Solaris 8 x86? I am now running Solaris 8 on x86, I used to run linux on x86. Since switching to Solaris I see a lot of 'SocketExceptions:' something about reset my peer... on linux I never saw these. Does anyone know what I'm talking about? if so...does it concern you?

Httpd error

2001-04-29 Thread Stuart Folo
Hello, When I start httpd I get the following error.. [Mon Apr 30 10:46:46 2001] [emerg] (38)Function not implemented: Error while opening the workers Please let me know what the possable error is.. Thanks in advance.. Stuart

Re: 2 Critical Problems with Tomcat 3.2.x

2001-04-29 Thread Andrew McDonald
Hi there! Thank you very much for your report on the "white screen" problem. There seems to have been a lot of work on the web connector since I used it last and I was hoping that this problem was resolved. This is great news if I experience the same behaviour you have. Time for some testing!

Re: 2 Critical Problems with Tomcat 3.2.x

2001-04-29 Thread Andrew McDonald
Indeed. The documentation I've found doesn't seem to clarify this :( but I'll be testing and posting results here on the list. Cheers AndyM Jeff Kilbride wrote: > Hi Andy, > > Sorry, I was assuming you were using Tomcat with Apache. I'm not sure if you > can configure thread pooling the same

Help: Newbie problem starting web server.

2001-04-29 Thread jackling
version: tomcat 3.1 platform: win98 I'm new in configuring tomcat and fail to start the web server. I've following questions: 1) can I run the tomcat web server on Win98 (9X)? or must be WinNT/2000? 2) after I type 'startup' from the /bin directory, another DOS window prompts up w/ the log (s

Mod_jk.so

2001-04-29 Thread Stuart Folo
Hello, I have compiled Tomcat from the source on RH 7.0 and now I am getting the following error: API module structure `jk_module' in file /usr/lib/apache/mod_jk.so is garbled - perhaps this is not an Apache module DSO? So then I removed it and have sine recompiled it but I am still getting the

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Warren Crossing
Hi, I have experienced the same problem, in varying degrees of complexity.. I think it may be possible to trick java using Serialization & the serialVersionUID field in a class. the tool serialver displays the serialVersionUID of a class and this use of serialization is typically used in stream

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Cory L Hubert
Yes the problem is very wierd. Obviously an issue with the classloader. Are you developing on Win32? I am developing on Win32 and deploying on Unix? What really boggled me was when I did a instanceof and it was exactly the type I was trying to cast too. -Original Message-

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Cory L Hubert
It's not in the classpath at all. I think it's just a dynamic classloader quirk. All my classes are picked up from the WEB-INF/classes directory. After I stopped looking into problem so deeply and just kicked tomcat (restarted it). Everything worked. I also did some mo

RE: IIS & tomcat

2001-04-29 Thread test test
Hello I'm trying to get IIS/Tomcat working with the ISAPI_REDIRECTOR.DLL Almost there now. The problem now is that my own (myjsp.jsp) works fine when I place the files under: c:/jakarta-tomcat/webapps/examples/jsp and use: http://localhost/examples/jsp/myjsp.jsp but using: http://localho

JDBCRealm not working with cookies disabled...

2001-04-29 Thread Jeff Kilbride
Hi All, I have a JDBCRealm setup and working with Tomcat 3.2.1, Redhat 6.2 (2.4.3 kernel), and MySQL. Everything works fine until I disable cookies in Internet Explorer (v5.5, WindowsNT 4.0sp6a). Once cookies are disabled, the realm stops working and doesn't write the JSESSIONID into the URL. Am

Re: mod_jk

2001-04-29 Thread Jan Labanowski
map_name_at is a function in jk_map.c in jakarta-tomcat-3.2.1-src/src/native/jk Obviously you did not compilie/link your mod_jk.so right. Since you are using nonstandard directories, and you do not tell us how you compiled the thing, it is hard to help you. You may try to go to the jakarta-

Re: Best IDE for Servlet Development?

2001-04-29 Thread johnd
Here is a link to a list to some IDEs for linux: http://www.linuxmafia.com/~rick/faq/#idedev

Final resolution on JCE exceptions and Tomcat (3.2.1)?

2001-04-29 Thread Doug Fields
Hello all, Today I encountered the same problem as several others (based upon my search of the archive on mikal.org) regarding using Sun JCE 1.2.1 in a web app deployed in Tomcat (3.2.1) by putting the four jar files in the WEB-INF/lib dir. That is, it throws a SecurityException (see below).

Re: Best IDE for Servlet Development?

2001-04-29 Thread Brian Murray
Hi Curtis I think 'best IDE' is like 'best flavor of ice cream' and is a matter of personal taste, but here are a few places to look. I highly recommend visits to Sun's Forte pages and NetBeans.org, if for no other reason than all the great places they lead. AnyJ from Netcomputing http://www.

mod_jk

2001-04-29 Thread johnd
Please help if you know how to get mod_jk working, I'm desperate. I am really stuck...I have apache compiled to take DSOs, I am using redhat linux 6.2, on a x86 box. The latest download of apache. I built my own mod_jk.so from source. I get this error message when I run apache. --

Re: problems loading mod_jk

2001-04-29 Thread Leon Chakmakian
Hi Chuck. The permissions were setup kind of strict. I changed it so everyone had read,write,execute access to the file and I still got the same error. This is what the permissions say: -rwxrwxrwx 1 root wheel 88245 Apr 29 11:02 mod_jk.so . . . and the error: Syntax error on line 283 of

Re: Best IDE for Servlet Development?

2001-04-29 Thread Ivan
I tried it brieflly and it didn't have methods such as getSession() so I called there tech support and they said they didnt support 2.2 so I dropped it there. I assume you are right about adding the latest server.jar, I never got that far because I took the tech support guy at his word. Ivan -

Re: Best IDE for Servlet Development?

2001-04-29 Thread AC
I'm using Visual Age 4 java v. 3-5 and it seems to me very good for develobing and debugging... ac At 11.22 29/04/2001 -0700, you wrote: >huh? I used Visual Cafe 4.0 for a long time, doing servlet 2.2 stuff...when >you say it didn't support the latest servlet api what do you mean? Just put >t

Would really appreciate some help: Serlvet mappings in web.xml not available in Apache

2001-04-29 Thread Mark Diggory
At 12:28 PM 4/29/01 -0400, Mark Diggory wrote: >I have servlet mappings in my web.xml file that map URI's to servlets. >These URI's may contain files with jsp extensions on them. when I >integrate Tomcat 3.2.1 with Apache I can see any of my jsp's and servlets >and have them execute. However, i

Re: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Ivan
I posted the same problem yesterday but totally solved it on my case two things Technically Java should only allow you to cast an object to a superclass or subclass of the class, so if member is not inherited from Object then trying to cast an object to a member should fail. however i found thi

Re: problems loading mod_jk

2001-04-29 Thread Charles Williams \(CEO\)
check the permissions on the mod_jk.so file. make sure that nobody or httpd can access the file (or whatever uid httpd runs under). chuck - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 29, 2001 8:50 PM Subject: problems loading mod_jk > Hi e

problems loading mod_jk

2001-04-29 Thread gregchak
Hi everyone, I've gone through the documentation very thoroughly and feel as though I am just missing something simple. I have modified all the appropriate files: server.xml, workers.properties, httpd.conf. I have put my mod_jk.so file in my /usr/libexec/httpd directory where a bunch of oth

Re: Best IDE for Servlet Development?

2001-04-29 Thread johnd
huh? I used Visual Cafe 4.0 for a long time, doing servlet 2.2 stuff...when you say it didn't support the latest servlet api what do you mean? Just put the latest server.jar in the classpath... On Sat, 28 Apr 2001, you wrote: > > I like JBUilder, I tried VIsual cafe but it didnt support the la

IIS redirector

2001-04-29 Thread Will Thien
I can't seem to get the redirector to work. I can serve the examples pages. I copied the examples area and renamed it. I can't get it to work. I have looked all through the online and docs and can't find where to set the my new context "willtest". I entered it into the uriworkermap.properties. I c

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread CPC Livelink Admin
Are any of the classes you are using defined outside of the web app. That is, are you using any libraries, or class files which you specify on the classpath prior to tomcat starting, which may also be in your web-app. It is situations like this which the more experienced folks point to as the c

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Cory L Hubert
Casting could happen in a regular fashion if you just restart. Wierd. Is anyone planning on fixing this issue, no developer should have a 12 hour problem because of a faulty Dynamic class loader. -Original Message- From: Cory L Hubert [mailto:[EMAIL PROTECTED]] Sent: Sunday, Apr

Serlvet mappings in web.xml not available in Apache

2001-04-29 Thread Mark Diggory
I have servlet mappings in my web.xml file that map URI's to servlets. These URI's may contain files with jsp extensions on them. when I integrate Tomcat 3.2.1 with Apache I can see any of my jsp's and servlets and have them execute. However, it appears that the mappings I supplied in web.xml

jsp package names

2001-04-29 Thread Dave Ford
I have descovered that jasper uses the folder names to create package names. for example, if I have the following jsp file: c:\MyWebApp\foo\boo\My.jsp jasper creates: package foo.boo; There is a big problem with this however. Windows folder naming rules are not the same as java package name ru

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Cory L Hubert
When I restart that little trick doesn't work anymore. I have a feeling it's defenaitley a bug. Can anyone confirm? -Original Message- From: Cory L Hubert [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 29, 2001 11:14 AM To: [EMAIL PROTECTED] Subject: RE: Wierd Casting Problem. T

Help: Newbie problem starting web server.

2001-04-29 Thread jackling
version: tomcat 3.1 platform: win98   I'm new in configuring tomcat and fail to start the web server. I've following questions: 1) can I run the tomcat web server on Win98 (9X)? or must be WinNT/2000?   2) after I type 'startup' from the /bin directory, another DOS window prompts up w/ the lo

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread Cory L Hubert
I found out the problem. This looks like an extreme hack though. <$=((member) ((Object)e.nextElement()) ).getFname()%> Works. But why do I have to cast to an Object before I cast it back to it's appropiate type. My only guess is that the Servlet DownCast the Vector t

*.xml mapping

2001-04-29 Thread Dave Ford
I am trying to map al requests ending in *.xml to a jsp called /Style.jsp. The following mapping works in OrionServer but not in Tomcat. Anyone know why? StyleServlet StyleServlet /Style.jsp StyleServlet *.xml Dave Ford Smart Soft - The Java Training Company http://www.smart-s

tomcat.policy Problem

2001-04-29 Thread Daniel Strobl
I'am running Tomcat 3.2 with -security. I have included an entry in tomcat.policy to grant read, write Permissions from /webapps/examples/- to /webapps/examples/-, but Tomcat still gives me an AccessViolation on any JSP and servlet trying to access (create) a file in /webapps/examples/. Did I miss

Re: 2 Critical Problems with Tomcat 3.2.x

2001-04-29 Thread Kim Jong Tae
I experienced TC 3.2.1 white screen problem!. I found bug #1006 of TC 3.2.1 and I upgraded TC 3.2.2b3 and white screen problem never happened. I recommend you should upgrade TC 3.2.2.. And if your application uses session, check your session timeout. If timeout is too long, your JVM may

Wierd Casting Problem.

2001-04-29 Thread Cory L Hubert
Ok. Here is the problem. I am using Model 2 Architecture. So my Servlet handles all the biz logic and pushes the results that are then displayed by jsp pages. Within a jsp page I grab my vector from the request like so.. Vector mems =(Vector)request.get