Tomcat Service

2009-03-01 Thread motit
Hi, According to Tomcat bin/service.bat file, the environment variable JAVA_HOME needs to be existed, otherwise the service is not installed. The problem is that I want to use only the JAVA JRE installation (1.6.0, update 12) on that machine. I manually add the bin/server folder to that

help again... what means these errors?

2009-03-01 Thread Laura Bartolomé
Hi again... We are going on findind errors and problems... and we wanna cry... someone could explain what means these errors? The first: 01-Mar-2009 00:08:46 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet HumanReadableLinksServlet threw exception

Re: Can't use J2EE libraries in Eclipse

2009-03-01 Thread Pid
Mighty Tornado wrote: Hi, I am working on Mac OS X. I have the latest version of Tomcat, and Eclipse Europa. Mac OS X did not come with J2EE. Why do you need J2EE? If you're just making a JSP/Servlet application you don't need it. p I downloaded J2EE with GlassFish from Sun. Set it up

Re: not using the port number in the address???

2009-03-01 Thread Ben Stringer
Also, if you have an existing app listening on port 80, and you only have one IP address to use, you can use Apache httpd name-based virtual hosts to allow two entirely different apps to both be served from the same IP:port combination. For each virtual host, either use mod_jk, or the proxying

Can't use J2EE libraries in Eclipse

2009-03-01 Thread Mighty Tornado
Hi, I am working on Mac OS X. I have the latest version of Tomcat, and Eclipse Europa. Mac OS X did not come with J2EE. I downloaded J2EE with GlassFish from Sun. Set it up by running the setup shell script. Unfortunately the directory structure is very different now, I am guessing the J2EE is

Re: Can't use J2EE libraries in Eclipse

2009-03-01 Thread supareno
Mighty, you need to add to your classpath project the servlet.api to compile servlet tomcat6.0.x/lib/servlet-api.api (right click on the projet - build path/configure build path choose librairy/ add external jar) in glassfish v2, it is in glassfish/lib/javaee.jar now with javaee5, i'm not

Re: Tomcat Service

2009-03-01 Thread supareno
motit, will it possible to tomcat to compile jsps without a jdk? tomcat and a jre has ever been discussed here: http://www.mail-archive.com/users@tomcat.apache.org/msg50300.html hope this help supareno Hi, According to Tomcat bin/service.bat file, the environment variable JAVA_HOME needs

RE: Tomcat Service

2009-03-01 Thread Caldarale, Charles R
From: supareno [mailto:reno.rkc...@free.fr] Subject: Re: Tomcat Service will it possible to tomcat to compile jsps without a jdk? Tomcat does not need a JDK to compile JSPs (and it's been that way a long time). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

Re: help again... what means these errors?

2009-03-01 Thread André Warnier
Laura Bartolomé wrote: Hi again... We are going on findind errors and problems... and we wanna cry... We certainly would not want that to happen, because then your messages here would get all mushy and more difficult to read. And Tomcat would probably not care. someone could explain what

RE: Tomcat Service

2009-03-01 Thread Caldarale, Charles R
From: motit [mailto:moti@expand.com] Subject: Tomcat Service According to Tomcat bin/service.bat file, the environment variable JAVA_HOME needs to be existed, otherwise the service is not installed. Looks like the text in the script was not updated; read the Tomcat doc first:

RE: instance has been stopped. could not loadoracle.toplink.essentials...

2009-03-01 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Thufir Subject: instance has been stopped. could not loadoracle.toplink.essentials... I can't quite predict with certainty when this error will occur: And we can't predict what Tomcat version you're running on. You might be a mentat, but

Re: Tomcat Service

2009-03-01 Thread motit
We precompiled all our JSPs. supareno wrote: motit, will it possible to tomcat to compile jsps without a jdk? tomcat and a jre has ever been discussed here: http://www.mail-archive.com/users@tomcat.apache.org/msg50300.html hope this help supareno Hi, According to Tomcat

Re: Tomcat Service

2009-03-01 Thread supareno
Caldarale, Charles R a écrit : From: supareno [mailto:reno.rkc...@free.fr] Subject: Re: Tomcat Service will it possible to tomcat to compile jsps without a jdk? Tomcat does not need a JDK to compile JSPs (and it's been that way a long time). sorry, i apologize - Chuck THIS

Re: RemoteAddrValve and RemoteHostValve

2009-03-01 Thread Zak Mc Kracken
Thanks again. André Warnier wrote: It would in my view make a lot more sense to have a single Remote Access Valve to which one could specify, in allow or deny, a hostname AND/OR an IP address expression. Like Valve className=x allow=localhost,www.mydomain.com,192\.168\.1

Re: RemoteAddrValve and RemoteHostValve

2009-03-01 Thread Zak Mc Kracken
Gregor wrote: marc, do i understand you correct that you only whant to accept requests from localhost? I have a Java web application that computes some data from an existing Java-based infrastructure and output it as simple plain text. The output is intended to be consumed by other PHP

Re: help again... what means these errors?

2009-03-01 Thread Alan Chaney
Hi Andre Totally agree with your comments with respect to the OP's first exception. However, they actually had two exceptions in their original email with completely different time stamps. The 2nd exception appears to be a HibernateException 01-Mar-2009 11:36:21

Re: help again... what means these errors?

2009-03-01 Thread André Warnier
Alan Chaney wrote: Hi Andre Totally agree with your comments with respect to the OP's first exception. However, they actually had two exceptions in their original email with completely different time stamps. The 2nd exception appears to be a HibernateException Yes, which I mentioned also

friendly urls

2009-03-01 Thread Dan Vega
I am having a problem running a application on tomcat and its due to the ses urls. I am pretty new to tomcat so I am sure you guys (girls) already know this. I have a url that looks like this and from what I understand tomcat does not support this and I was presented with 2 options.

RE: friendly urls

2009-03-01 Thread Caldarale, Charles R
From: Dan Vega [mailto:danv...@gmail.com] Subject: friendly urls I have a url that looks like this and from what I understand tomcat does not support this Your understanding is incorrect; Tomcat doesn't care what URLs you give it - but your webapp might.

Re: friendly urls

2009-03-01 Thread Serge Fonville
* I would really like to go with option 2 but as I said I am new to this, so anyone who could confirm this and point me in the right direction would be awesome! When I googled tomcat friendly urls, the first link was

Re: friendly urls

2009-03-01 Thread Dan Vega
Thanks for the help Chuck. I am actually running railo under tomcat fine right now and as you said its just a specific app thats not working because it uses a convention for urls. From what I understand Tomcat only allows one * per mapping and thats why these urls are not working and that resin

Re: RemoteAddrValve and RemoteHostValve

2009-03-01 Thread Gregor Schneider
On Sun, Mar 1, 2009 at 6:05 PM, Zak Mc Kracken zakmc...@yahoo.it wrote: Yes, but localhost-only is simpler in my case. ehem, still not sure if i got you right: you've been asking the valve-stuff because you want to limit the access to requests coming from localhost only? why then not make

Re: help again... what means these errors?

2009-03-01 Thread Alan Chaney
Sorry, didn't see the end! Alan André Warnier wrote: Alan Chaney wrote: Hi Andre Totally agree with your comments with respect to the OP's first exception. However, they actually had two exceptions in their original email with completely different time stamps. The 2nd exception appears

Re: instance has been stopped. could not loadoracle.toplink.essentials...

2009-03-01 Thread Thufir
On Sun, 01 Mar 2009 09:24:08 -0600, Caldarale, Charles R wrote: From: news [mailto:n...@ger.gmane.org] On Behalf Of Thufir Subject: instance has been stopped. could not loadoracle.toplink.essentials... I can't quite predict with certainty when this error will occur: And we can't predict

Re: instance has been stopped. could not loadoracle.toplink.essentials...

2009-03-01 Thread Thufir
On Sun, 01 Mar 2009 09:24:08 -0600, Caldarale, Charles R wrote: (Mixing anything from Oracle with MSSQL? That's gutsy.) - Chuck Glad you saw that. It seems like toplink is required for JPA? Do you have suggestion beyond don't use mssql because mssql is what my school uses, so I have

Re: Can't use J2EE libraries in Eclipse

2009-03-01 Thread Mighty Tornado
Thanks, I resolved this issue by having Eclipse use the Tomcat SDK. Unfortunately I now have a different problem with my initial app. I have an HTML page - index.html which asks the user to select one of two values from a dropdown and then click a Submit button. It's a regular HTML form using

RE: Can't use J2EE libraries in Eclipse

2009-03-01 Thread Martin Gainty
you need to identify a program that submit will post to as in this example form method=POST action='chat' name=loginForm input type=hidden name=action value=login/ Nickname: input type=text name=nickname/ /form where the contents of web.xml map chat to submit its contents to ChatServlet

Re: Can't use J2EE libraries in Eclipse

2009-03-01 Thread Mighty Tornado
Here is what I have: HTML form action=GetInfo.do method=post p Please Choose Info: /p select name=InfoSelect option value=MembersFamily Members/option option value=TimeTime/option /select /form input type=submit web.xml === welcome-file-list

JkMount a different location

2009-03-01 Thread Andres Riancho
List, I've search the Tomcat FAQ, but I haven't been able to find any answers, so... here is my question... I have a JSP application deployed in Tomcat inside the /abc/ directory; and I want to be able to access it from *two different locations* from Apache, for example, when I access:

RE: instance has been stopped. could not loadoracle.toplink.essentials...

2009-03-01 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Thufir Subject: Re: instance has been stopped. could not loadoracle.toplink.essentials... Glad you saw that. It seems like toplink is required for JPA? Got no idea; what I said was mostly a joke, like mixing oil and water. Should have

RE: Can't use J2EE libraries in Eclipse

2009-03-01 Thread Caldarale, Charles R
From: Mighty Tornado [mailto:mighty.torn...@gmail.com] Subject: Re: Can't use J2EE libraries in Eclipse form action=GetInfo.do method=post pPlease Choose Info:/p select name=InfoSelect option value=MembersFamily Members/option option value=TimeTime/option /select /form input

manager 401 error fixed with restart

2009-03-01 Thread Thufir
I'm getting: HTTP Status 401 - type Status report message description This request requires HTTP authentication (). http://localhost:8080/manager/html on tomcat6 for ubuntu 8.10 with sun java. Neither restarting tomcat nor logging out gained access to the manager page, had to restart.

Re: help again... what means these errors?

2009-03-01 Thread Laura Bartolomé
Hi again! Well, I give you more information about our setup... We have 2 servers ( both with IIS + .NET and Tomcat ) and 1 server DB with MySQL and MS SQL Server. Applications in IIS work with MS SQL and applications in Tomcat work with MySQL. Both 3 servers are virtual machines distributed in

Re: manager 401 error fixed with restart

2009-03-01 Thread Thufir
On Mon, 02 Mar 2009 05:49:53 +, Thufir wrote: I'm getting: HTTP Status 401 - type Status report message description This request requires HTTP authentication (). http://localhost:8080/manager/html on tomcat6 for ubuntu 8.10 with sun java. Neither restarting tomcat nor