Re: Calling my class gives compiler error!

2003-02-15 Thread Terje Hopsø
I created them as a package and now it works! Thanks! - Terje - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 14, 2003 1:54 PM Subject: RE: Calling my class gives compiler error! I guess you are using jdk 1.4 ?

servlets don't work in own webapp

2003-02-15 Thread Jaap Duursma
status : succesfully installed Tomcat 4.1.18, can access the webserver tru http://localhost:8180/ and the examples also work. problem : servlets don't work in my own webapp, jsp's do work. what I did : created own directory structure in the webapp folder (next to examples) : webapps/pso

servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Jaap Duursma
(sorry for the first mail, i exedently pressed control-s, this time finished writing it) status : succesfully installed Tomcat 4.1.18, can access the webserver tru http://localhost:8180/ and the examples also work. problem : servlets don't work in my own webapp, jsp's do work. what I did :

RE: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Paul Bothma
Hi, Look at the web.xml for /examples. You'll see that you need to map your servlet, etc. Looks something like this: servlet servlet-nameSendMailServlet/servlet-name servlet-classSendMailServlet/servlet-class /servlet servlet-mapping

Re: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Jaap Duursma
It didn't make any difference, I put the following in my web.xml file : ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-namePSO webapp/display-name

RequestDispatcher problem

2003-02-15 Thread Sergio Ocio Barriales
Hi, I'm making a web-based wizard to create xsl templates. These templates are stored in a database. I have a servlet to control this wizard. It recieves a parameter, called state and depending on its value, it decides which way to follow. When it recieves state=1 and there is no template

Re: How It's Done (was Re: Need help - tomcat do not generate .javaand .class file in the work folder)

2003-02-15 Thread Chong Yu Meng
Hi Steve : I've written a kind of tutorial that hopefully will help you (and other newbies) get started. It isn't complete yet, but I think I covered most of the essential bits for people new to Tomcat. It's not an admin guide, so you don't have to worry about flipping to and fro for answers.

Junk email

2003-02-15 Thread Etienne
Everyone who participate in the my attitude thread are already in my junk email (stop downloading it from the pop server). I think everyone should do the same thing, until the mail administrator takes some action. Thanks. Etienne.

Re: AW: modified jsp-files and jasper2

2003-02-15 Thread Sven Köhler
I just checked the web.xml file in $CATALINA_HOME/conf/web.xml. It suggests the development is the default mode in which Jasper operates. Have you tried leaving development, reloading, and checkInterval out of your web.xml file to see if the standard behavior works? The tomcat-docs also state,

Tomcat 4.1.18 and J2EE server (default server that ships with the J2EE) problem

2003-02-15 Thread Martijn
Dear reader, I've been trying to let Tomcat remotely call an EJB (Enterprise Java Bean) from a JSP page. But so far without any result (but many different exceptions). I am new to Tomcat, so I guess I am missing something somewhere. Tomcat runs in a separate JVM and so does the default J2EE

RE: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Turner, John
What URL did you use? The URL you use to access your server has to match the URL in url-pattern. John -Original Message- From: Jaap Duursma [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 15, 2003 6:57 AM To: Tomcat Users List Subject: Re: servlets don't work in own webapp

RE: changing the IPaddress !

2003-02-15 Thread Turner, John
Yes, it is fully supported. If you want to use a name instead of an IP address to access your web applications, you will need to do one of the following: 1) setup DNS for the name you want to use 2) setup a record in the hosts file on your computer, and on every computer that needs to access

Re: Unknown command answers manager!

2003-02-15 Thread Michael Micek
On Fri, Feb 14, 2003 at 10:49:02PM +0100, Thijs Thiessens wrote: Following my previous post, I stumbled across another weird situation I'm unable to solve during last week. The manager context redirects me to a page saying: FAILED: unknown command? What possibly could that mean?

Re: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Chong Yu Meng
where I can access it succesfull at : http://localhost:8180/examples/servlets/HelloWorld but when I go to http://localhost:8180/pso/servlets/HelloWorld it doesn't work and gives me a 404 error, resource is not available. The default invoker URL /pso/servlets/HelloWorld is

NT Services

2003-02-15 Thread RandySteiner
Hi, I am having a problem configuring Tomcat 4.0 as a service. I run the install to set up Tomcat as a service and it starts up fine, but the paths to Java and Tomcat are not set up correctly. Can anyone tell me where they are set. My environmental variables are setup fine and Tomcat runs

Please help!

2003-02-15 Thread Anish Mehta
Hi, I am extremely confused with setting up SSL to work with my GUI application. So when attempting to connect to the server using a https connection I obtain the error in the window where tomcat is running: at java.lang.Thread.run(Thread.java:484) [ERROR] PoolTcpEndpoint - -Handshake

Class loaders

2003-02-15 Thread Warrren Burholt
On os x 10.2.3 I have installed jakarta-tomcat-4.1.8-LE-jdk14 in usr/local I cannot get Tomcat to load my classes. Besides putting them in webapps/ROOT/WEB-INF/classes, I have tried common/classes and shared/classes. I successfully have run my jsp and class files on Tomcat in another

Re: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Jaap Duursma
On Sat, 15 Feb 2003 23:12:50 +0800 Chong Yu Meng [EMAIL PROTECTED] wrote: where I can access it succesfull at : http://localhost:8180/examples/servlets/HelloWorld but when I go to http://localhost:8180/pso/servlets/HelloWorld it doesn't work and gives me a 404 error,

Application redeploy does not work!

2003-02-15 Thread Jim Cobban
When I use the manager app to redeploy my servlet context it does not affect the behavior as seen by the outside world. On my ISP users come in through an Apache server, not directly to the Tomcat server. Issuing the redeploy command through the manager app reloads the classes only on the

Admin web tool not working properly

2003-02-15 Thread simonech
Hello all, I'm experiencing a strange behveour after installing tomcat 4.1.18 (I previously had 4.0.4) I'm still on test server, but when I use the admin web tool to add to the server.xml other hosts everything starts to go on his way :-) the default host is ok but the others have jsp in the

RE: NT Services

2003-02-15 Thread Christopher Watson
The NT/2000 service is configured through the registry, hence doesn't taker notice of CATALINA_OPTS etc Try looking in the following registry key. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.0\Parameters The 4.1 is

Re: AW: modified jsp-files and jasper2

2003-02-15 Thread Sven Köhler
I just checked the web.xml file in $CATALINA_HOME/conf/web.xml. It suggests the development is the default mode in which Jasper operates. Have you tried leaving development, reloading, and checkInterval out of your web.xml file to see if the standard behavior works? The tomcat-docs also

Tomcat and JBoss

2003-02-15 Thread Lior Shliechkorn
What is the difference between these two software applications? I heard of JBoss recently, and as my exposure to these technologies is still very new I'm just not sure. Does JBoss replace Tomcat, or are they two different layers in the structure of application presentation. I know this is not

huge web.xml

2003-02-15 Thread Liq Wnq
My web.xml is getting bigger and bigger. What are convenient ways to maintain it? TIA. __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com

RE: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Turner, John
Please be more specific. What exactly do you mean by this doesn't work? What URL are you using? If you have a pattern of /HelloWorld and are using http://some-host/servlets/HelloWorld it will not work. John -Original Message- From: Jaap Duursma [mailto:[EMAIL PROTECTED]] Sent:

RE: NT Services

2003-02-15 Thread Turner, John
Are your environment variables setup as user level or system level? If user level, a service will not find them. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 15, 2003 10:15 AM To: [EMAIL PROTECTED] Subject: NT Services Hi, I

using apache access control?

2003-02-15 Thread Nick Wesselman
I'm using mod_jk w/ TC 4.1.18 Coyote connector. Is it possible to get apache to apply access control directives (e.g. basic auth, deny allow) to files mounted to tomcat? I'd like to be able to keep my access control in apache, so I don't have to set it up separately for my static and dynamic

RE: NT Services

2003-02-15 Thread RandySteiner
The variables are set at the system level. Are your environment variables setup as user level or system level? If user level, a service will not find them. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Tomcat as a production server?

2003-02-15 Thread Arcadius A.
Hello! We're using tomcat 4.1.12, Apache 1.3.27 , mod_jk1.2.2 on a redhat 7.3 server ( AMD Duron 1.2GHz, 256 RAM). The problem is that the server runs quite fine the first few days but after a week, the server is heavily busy: While the number of tomcat processes and the memory usage is

Re: Tomcat as a production server?

2003-02-15 Thread Arcadius A.
the top file can be found here: http://ahouans.sh.cvut.cz/top.txt Arcadius. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to enable secured JSP to be cached by browser?

2003-02-15 Thread Bill Lunnon
Adam, Even if you could do this (and it is not recommended!!!) the caching is not going to solve the problem, each browser implements its own and different caching policy. The better way to do this is populate the form before the data is re-displayed to the user (a two phase approach). Scriplet

Re: Tomcat and JBoss

2003-02-15 Thread Bryan Field-Elliot
They are very different systems, but they work great together, and JBoss even distributes a special version of JBoss bundled with (integrated with) Tomcat. In short - Tomcat is a container (basically, a server) for Java Servlets and JSP pages. There are some extra bells and whistles thrown in but

RE: changing the IPaddress !

2003-02-15 Thread Swapneel Dange
john ! i guess what ur saying is making sense to me like i should set up the DNS on my comp as mine will be the NATIVE MACHINE , which will be used to run the SRVLETS( so the idea of changing the DNS makes sense here) but when my clients will access the servlets from the remote machine, i am

Re: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Chong Yu Meng
See my document on this http://www.starhub.net.sg/~cymbiote/linux-sxs/tomcat4.1x.html#3.2 In particular, the section on saying HelloWorld and the URL that you should key into the browser, after doing the servlet-mapping Regards, chong Turner, John wrote: Please be more specific. What

Re: changing the IPaddress !

2003-02-15 Thread Chong Yu Meng
Hello Swapneel ! In a typical scenario, your computer or server will have a name, for example , www.swapneel.org. This DNS name will exist on a DNS server somewhere on the Internet, and it would have been registered under InterNIC (or Verisign now, isn't it ?). Anybody anywhere in the world

/manager does not work on Tomat 4.0.3

2003-02-15 Thread Alex K.
Hello, How is everyone ? I get this error when I try to access manager app: java.lang.NullPointerException at org.apache.catalina.realm.MemoryRealm.authenticate(MemoryRealm.java:216) I am running Tomcat 4.0.3 tomcat-users.xml has an entry with user that uses role manager Any thoughts?

RE: changing the IPaddress !

2003-02-15 Thread Turner, John
It is possible to have internal DNS without having to register any domains with an Internet domain registrar. Many organizations run an internal DNS that never touches the public Internet. As long as you have a server willing to serve requests for a particular domain, and clients know to query