usage of @resource annotation

2009-07-08 Thread alla winter
I can sucessfully access the DataStore using JNDI, but cannot access it when I am using @RESOURCE annotation. I do not use JPA. I though that I do not need JPA for @RESOURCE annotation Here it is the code: * private* @Resource (mappedName=jdbc/Cobra) DataSource ds; *public* DataSource

Re: usage of @resource annotation

2009-07-08 Thread alla winter
I would appreciate if you can tell me specifically what is wrong. thanks On Wed, Jul 8, 2009 at 1:04 PM, Mark Thomas ma...@apache.org wrote: alla winter wrote: TOMCAT 5.5.25; Windows XP, JDK 1.5.0_17. Currently I am trying to use Tomcat from IBM RAD What makes you think annotations

Re: usage of @resource annotation

2009-07-08 Thread alla winter
thanks On Wed, Jul 8, 2009 at 1:28 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: alla winter [mailto:alla1.win...@gmail.com] Subject: Re: usage of @resource annotation I would appreciate if you can tell me specifically what is wrong. Is it too hard to read

javajni.c] [error] Could not create instance of java/io/FileOutputStream

2008-07-07 Thread alla winter
Hello, I am running Tomcat 5.5.25 on Win64 2003 server as a service It was running ok till now. The following error appears in the log: [2008-07-07 11:14:47] [info] Procrun (2.0.3.0) started [2008-07-07 11:14:47] [info] Running Service... [2008-07-07 11:14:47] [info] Starting service...

Fwd: javajni.c] [error] Could not create instance of java/io/FileOutputStream

2008-07-07 Thread alla winter
I will answer on this question myself just in case if somebody else hit this problem: file system security was updated incorrectly: the user SYSTEM was removed. As soon as it was fixed, everything went normal thanks -- Forwarded message -- From: alla winter [EMAIL PROTECTED

Re: Cannot retrieve rtf file when user data constrains applied

2007-11-16 Thread alla winter
, how can I change the header, or I have to create a servlet to access those files? thanks On Nov 15, 2007 8:00 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: alla winter [mailto:[EMAIL PROTECTED] Subject: Cannot retrieve rtf file when user data constrains applied when I apply

Cannot retrieve rtf file when user data constrains applied

2007-11-15 Thread alla winter
Hello, I am having the following issue: when I apply the security constrain to force users to access our web site via https: user-data-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint I can not retrieve PDF, excel or rtf files from our web site. When I

Fwd: Issue with setting TOMCAT 5.5.28 on AMD64

2007-11-14 Thread alla winter
) started [2007-11-14 13:37:47] [info] Running Service... [2007-11-14 13:37:47] [info] Starting service... [2007-11-14 13:37:47] [174 javajni.c] [error] %1 is not a valid Win32 application.e.bat -- Forwarded message -- From: alla winter [EMAIL PROTECTED] Date: Nov 14, 2007 1:25 PM Subject

Re: Issue with setting TOMCAT 5.5.28 on AMD64

2007-11-14 Thread alla winter
a lot!!! On Nov 14, 2007 2:00 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: alla winter [mailto:[EMAIL PROTECTED] Subject: Fwd: Issue with setting TOMCAT 5.5.28 on AMD64 I had run service.bat it installed TOMCAT as a service( all parameters in my e-mail bellow

Issue with setting TOMCAT 5.5.28 on AMD64

2007-11-14 Thread alla winter
Hello, I installed TOMCAT 5.5.25 with APR on the computer with Intel(R) XEON(R) Processor E5345 with operating SYstem Server 2003 R2 64 bit java environment: jdk 1.5.13 64 bit I am able to start TOMCAT with startup.bat and run the application over http and https protocols. However, I can not

Fwd: How can I ensure that client access servlets via HTTPS?

2007-10-23 Thread alla winter
I would appreciate if you answer the question bellow thanks -- Forwarded message -- From: alla winter [EMAIL PROTECTED] Date: Oct 22, 2007 2:48 PM Subject: How can I ensure that client access servlets via HTTPS? To: users@tomcat.apache.org I would appreciate if you give me

How can I ensure that client access servlets via HTTPS?

2007-10-22 Thread alla winter
I would appreciate if you give me a suggestion how to enforce clients to access servlet through SSL for TOMCAT 5.2.25 and JDK 1.5.0_12. ( The TOMCAT is set up for SSL with APR 1.9 and I can access it via HTTPS) I was thinking that I can accomplish that with the following:

Please help with APR configuration

2007-10-17 Thread alla winter
I am trying to set up Tomcat 5.0.28 with APR 1.1.9 on the Windows 2000 workstation I downloaded openssl.exe and tcnative-1.dll and put them in the tomcat's bin directory I put an existing signed certificate and the key that works in production with APACHE web server into TOMCAT conf directory and

Re: Please help with APR configuration

2007-10-17 Thread alla winter
thanks for your prompt response On 10/17/07, alla winter [EMAIL PROTECTED] wrote: I am trying to set up Tomcat 5.0.28 with APR 1.1.9 on the Windows 2000 workstation I downloaded openssl.exe and tcnative-1.dll and put them in the tomcat's bin directory I put an existing signed certificate

href to .xls file shows raw file

2007-10-15 Thread alla winter
I would appreciate if you would give me a hint, what should I do to make browser to display excell spread sheet when href to .xls file is selected? It displays the raw file insted. a href=/cobra_source/beneficiary_template.xls target=_blankExcel template /a P.S. I am using Tomcat 5.0.28 and jdk

Re: href to .xls file shows raw file

2007-10-15 Thread alla winter
? thanks On 10/15/07, Len Popp [EMAIL PROTECTED] wrote: On 10/15/07, David Delbecq [EMAIL PROTECTED] wrote: alla winter a écrit : I would appreciate if you would give me a hint, what should I do to make browser to display excell spread sheet when href to .xls file is selected

Re: href to .xls file shows raw file

2007-10-15 Thread alla winter
be finding the program based on the file extension.) -- Len On 10/15/07, alla winter [EMAIL PROTECTED] wrote: I added to web.xml ( on both, server level and application level) the following clause mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
and it has control characters that governs the formatting. The second question was about how to set up TOMCAT not to allow the directory listing thanks for your help On 9/26/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alla, alla winter wrote

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
SIGNED MESSAGE- Hash: SHA1 Alla, alla winter wrote: Thanks for the quick response. So, I want to make sure that understand it right : you are proposing that the servlet should display the file, instead of allowing Tomcat to invoke Microsoft Word to disply the file content. I

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
were I defined my servlets. What should I do to disallow the directory listing? thanks On 9/26/07, Pid [EMAIL PROTECTED] wrote: alla winter wrote: I am confused now web.xml instructs Tomcat what application needs to be called for a given MIME type No, unless you've got some weird setup

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
/init-param Mitesh Shah Hosted Services Engineer eClinicalWorks LLC -Original Message- From: alla winter [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 2:00 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Security restrictions for Tomcat OK, I got

Security restrictions for Tomcat

2007-09-25 Thread alla winter
Hello, My application can crate report on a fly ( a file) for an authorized clients. The client authentication is conducted by the application and Tomcat is not involved in this process. Other clients may create a file in the same directory, but the application will show the links only to the

from what site can i download admin tool for TOMCAT 5.0.28?

2007-08-27 Thread alla winter
Hello, the download page for tomcat http://tomcat.apache.org/download-55.cgi#5.0.28 doesn't contain zip file for TOMCAT 5.0.28 admin tool. But it does contain Administration Web Application zip file for Tomcat 5.0.23 or 5.030. Will be ADMIN tool for version 5.0.23 good for version 5.0.28? I

Please help me to configure TOMCAT with APR connector Thanks

2006-10-09 Thread Alla Winter
I would appreciate if you would answer on my questions. Thanks From: Alla Winter [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 1:13 PM To: users@tomcat.apache.org Subject: Please help me to configure TOMCAT with APR connector Thanks I am trying to configure

RE: Please help me to configure TOMCAT with APR connector Thanks

2006-10-09 Thread Alla Winter
. As far as your questions are concerned, someone will able to answer that. :) Regards, D --- Alla Winter [EMAIL PROTECTED] wrote: I would appreciate if you would answer on my questions. Thanks _ From: Alla Winter [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 1

RE: Please help me to configure TOMCAT with APR connector Thanks. Solved

2006-10-09 Thread Alla Winter
, someone will able to answer that. :) Regards, D --- Alla Winter [EMAIL PROTECTED] wrote: I would appreciate if you would answer on my questions. Thanks _ From: Alla Winter [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 1:13 PM To: users@tomcat.apache.org

Please help me to configure TOMCAT with APR connector Thanks

2006-10-06 Thread Alla Winter
I am trying to configure TOMCAT 5.5.17 JDK, 1.4.2.12 with APR on Windows 2000. I was able to start this version of tomcat without ssl configuration and my application is working OK with it. Here are the steps what I did: I downloaded tcnative-1.dll into c\Cobra\nativeLib I added

can not set up HelloWorldExample servlet to be called from a different directory

2006-09-08 Thread Alla Winter
Hello, I think I am trying to do a very simple thing - to deploy my application to TOMCAT5.5.17. I am using j2sdk1.4.2_12, and I did install the computability pack. Windows 2000 I was able to start tomcat and run HelloWorldExample servlet, but I am not able to access my application in the

RE: can not set up HelloWorldExample servlet to be called from a different directory

2006-09-08 Thread Alla Winter
file: servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern/servlet/HelloWorldExample/url-pattern /servlet-mapping Put it after /servlet in your web.xml. Also, the CLASSPATH environment variable is ignored in tomcat. Don't try to set it. --David Alla Winter wrote: Hello

Please help with introducing a new application

2006-01-06 Thread Alla Winter
I am trying to migrate to Tomcat 5 an existing application, and it seems that I am having a problem. I am getting 404 error no matter what I do. I copied the HelloWorldExample under my application cobra_source WEB-INF directory and still no luck to execute it. I am submitting you the

RE: Please help with introducing a new application

2006-01-06 Thread Alla Winter
Can you please be more specific what exactly I am doing wrong? Thanks -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 12:54 PM To: Tomcat Users List Subject: RE: Please help with introducing a new application From: Alla Winter

RE: Please help with introducing a new application

2006-01-06 Thread Alla Winter
Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 12:54 PM To: Tomcat Users List Subject: RE: Please help with introducing a new application From: Alla Winter [mailto:[EMAIL PROTECTED] Subject: Please help with introducing a new application I

RE: Please help with introducing a new application

2006-01-06 Thread Alla Winter
I noticed that the attachments some how do not get through, so that is why you are not getting the detailed info. I sent you before word document, now I am sending images. Hopefully they are going to go through. I have CATALINA_HOME\conf\Catalina\localhost\cobra_source.xml

FW: Upgrading Tomcat

2005-12-01 Thread Alla Winter
Thanks for finding this link. Beside the explanation on various packages of TOMCAT, the message in there also suggests that it is not worthy to use APACHE on a top of TOMCAT due to TOMCAT now is handling static pages almost as good as APACHE. But what about handling SSL - somewhere I read that

Tomcat won't start

2005-12-01 Thread Alla Winter
I just installed TOMCAT, set the environment variable for JAVA_HOME and CATALLINA_HOME and just wanted to start the TOMCAT to see if it starts up. I got the message Can not find file -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager'. Make sure that the path and file name are

RE: Tomcat won't start

2005-12-01 Thread Alla Winter
: Alla Winter [mailto:[EMAIL PROTECTED] Sent: Thursday, December 01, 2005 4:00 PM To: users@tomcat.apache.org Subject: Tomcat won't start I just installed TOMCAT, set the environment variable for JAVA_HOME and CATALLINA_HOME and just wanted to start the TOMCAT to see if it starts up. I got

How to integrate tomcate 5, apache 2 using jk1.2 for Win32

2005-11-23 Thread Alla Winter
Can anybody refer me to the HOW TO instructions to integrate Tomcat 5, Apache 2 using jk1.2 for Windows environment? thanks

How to set restrictions on the retreival of files from some directories

2005-11-17 Thread Alla Winter
BY default it is possible to retrieve files located under the 'WEB-INF' directory. For example: www.someserver.com/WEB-INF./web.xml or www.someserver.com/WEB-INF./classes/MySer http://www.someserver.com/WEB-INF./classes/MySer%20vlet.class vlet.class What needs to be done to prevent it ? Why