RE: Equivalent of Resin "run-at" servlet configuration

2005-03-03 Thread Aris Javier
No, meaning impossible?

cause if it would be very beneficial to many then why
not change the specs to accommodate such service?

Pardon me, maybe because I really don't understand the specs.
I was just thinking in a layman's way.

Thanks
Aris
 

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 04, 2005 9:42 AM
To: Tomcat Users List
Subject: Re: Equivalent of Resin "run-at" servlet configuration

no. (unless the spec says so)

-Tim

Aris Javier wrote:
> If this is not supported in Tomcat, is there a way or a plan to have 
> this kind of service? This would really be a big help to many 
> developers.
> 
> Just a thought
> 
> Aris
> 
> -Original Message-
> From: David Smith [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 03, 2005 9:34 PM
> To: Tomcat Users List
> Subject: Re: Equivalent of Resin "run-at" servlet configuration
> 
> I think the Cocoon project has such a facility.  I'm not sure how 
> complicated it would be to pull out that functionality, but their work

> might be worth looking at for this.
> 
> --David
> 
> Parsons Technical Services wrote:
> 
> 
>>With all the questions and suggestions flying around, a question to 
>>the other programmers: If one was to write a class for the purpose of 
>>running classes at set times, what pitfalls would one need to watch
> 
> for?
> 
>>I have a class that loads on startup and runs a continuous loop that 
>>is timed (sleeps, wakes up, does something, sleeps again). It runs 
>>fine, but I know that it could be better.
>>
>>Any guidance or suggestions would be appreciated. And maybe we could 
>>create an add-on and post it for use in apps that need such a device.
>>
>>Thanks
>>
>>Doug
>>
>>
>>- Original Message - From: "Nikola Milutinovic" 
>><[EMAIL PROTECTED]>
>>To: "Tomcat Users List" 
>>Sent: Thursday, March 03, 2005 6:55 AM
>>Subject: Re: Equivalent of Resin "run-at" servlet configuration
>>
>>
>>
>>>Subramanya Sastry wrote:
>>>
>>>
>>>>Hello,
>>>>
>>>>I am developing a Java web application, and one of the requirements 
>>>>is to run a particular servlet periodically, or even at specified 
>>>>times.  Resin provides this ability via its "run-at" configuration 
>>>>element for servlets in web.xml
>>>>
>>>>Example Resin configuration:
>>>>  
>>>> download
>>>> DownloadNewsServlet
>>>> 
>>>>  
>>>>
>>>>However, I haven't found an equivalent configuration for Tomcat.  I 
>>>>searched the web and was unsuccessful.  So, any pointers as to how I
> 
> 
>>>>could achieve this for Tomcat would be appreciated.
>>>>
>>>
>>>There is none and shouldn't be any. I understand the need to run 
>>>periodical tasks, but J2EE specification, prior to 1.4 has no such 
>>>provisions. Further, Servlet/JSP specification has no such provision,
> 
> 
>>>even in J2EE 1.4. You'd be best advised to setup a cron-job to 
>>>perform this periodic activity. There are several good HTTP client 
>>>packages out there, Jakarta-Commons HTTPclient, to name one, that 
>>>will help you in building the client side of your cron-job.
>>>
>>>Nix.
>>>
>>>-
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Equivalent of Resin "run-at" servlet configuration

2005-03-03 Thread Aris Javier
If this is not supported in Tomcat, is there a way or a plan to have
this kind 
of service? This would really be a big help to many developers. 

Just a thought

Aris 

-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 03, 2005 9:34 PM
To: Tomcat Users List
Subject: Re: Equivalent of Resin "run-at" servlet configuration

I think the Cocoon project has such a facility.  I'm not sure how
complicated it would be to pull out that functionality, but their work
might be worth looking at for this.

--David

Parsons Technical Services wrote:

> With all the questions and suggestions flying around, a question to 
> the other programmers: If one was to write a class for the purpose of 
> running classes at set times, what pitfalls would one need to watch
for?
>
> I have a class that loads on startup and runs a continuous loop that 
> is timed (sleeps, wakes up, does something, sleeps again). It runs 
> fine, but I know that it could be better.
>
> Any guidance or suggestions would be appreciated. And maybe we could 
> create an add-on and post it for use in apps that need such a device.
>
> Thanks
>
> Doug
>
>
> - Original Message - From: "Nikola Milutinovic" 
> <[EMAIL PROTECTED]>
> To: "Tomcat Users List" 
> Sent: Thursday, March 03, 2005 6:55 AM
> Subject: Re: Equivalent of Resin "run-at" servlet configuration
>
>
>> Subramanya Sastry wrote:
>>
>>> Hello,
>>>
>>> I am developing a Java web application, and one of the requirements 
>>> is to run a particular servlet periodically, or even at specified 
>>> times.  Resin provides this ability via its "run-at" configuration 
>>> element for servlets in web.xml
>>>
>>> Example Resin configuration:
>>>   
>>>  download
>>>  DownloadNewsServlet
>>>  
>>>   
>>>
>>> However, I haven't found an equivalent configuration for Tomcat.  I 
>>> searched the web and was unsuccessful.  So, any pointers as to how I

>>> could achieve this for Tomcat would be appreciated.
>>>
>>
>> There is none and shouldn't be any. I understand the need to run 
>> periodical tasks, but J2EE specification, prior to 1.4 has no such 
>> provisions. Further, Servlet/JSP specification has no such provision,

>> even in J2EE 1.4. You'd be best advised to setup a cron-job to 
>> perform this periodic activity. There are several good HTTP client 
>> packages out there, Jakarta-Commons HTTPclient, to name one, that 
>> will help you in building the client side of your cron-job.
>>
>> Nix.
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: jspISAPI solution?

2005-03-02 Thread Aris Javier
JspIsapi is good but I don't know if they have already 
fixed some old issues before.

1. Like request.getRemoteUser(), where it fails to yield values
on other browsers othen than IE.
2. Have problems on windows xp clients. hangs.

please confirm these issues to their tech support akash kava's hotmail
messenger.

before akash told me that they're planning to make tomcat plugins to
IIS. 

regards
aris


I've created a new thread, just in case this got lost in the shuffle...
Does anyone know anything about the below "solution" (+ or -) and/or
recommend (or not recommend) it?

Thanks,
-Matt


On Mon, 28 Feb 2005, Matt wrote:

> Something else you may want to look into (and I'd LOVE to hear
feedback on
> from this list?) is the following:
> http://jspisapi.neurospeech.com/
>
> We are now using this on our production IIS 6 server, mostly due to
the
> conflciting, or at least the lack of concise and authoratative, docs
out
> there (and mostly due to timing - this needed to be setup ASAP for a
> professor).
> I don't directly maintain the IIS 6 server, and its admin got antsy
> waiting for us to iron-out the confugration issues (and dreading
> future changes taking as much effort, like SSL support) with Tomcat
and
> went with this instead ($50).
>
> Was this wise?  Anyone?
> I'm curious (and not in front of this system now either) if it uses
jk2 or
> jk and what version, and anything else it may be doing.
>
> Thanks,
> -Matt
>
>
> On Mon, 28 Feb 2005, Fadil wrote:
>
> > Thanks a lot I'll test this ASAP.
> >
> > Unfortunately, I must setup IIS6 / Tomcat because it's my production
> > environement and I've no choice : I don't want to learn dotnet !!
I'm
> > a beginner J2EE developper.
[snip]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: TC (4), IIS & isapi_redirector.dll

2005-02-27 Thread Aris Javier
sorry...
forgot ".com" =)

anyway, here's the site again.

http://www.shiftomat.com/opensource/ 

regards
aris
philippines



-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 28, 2005 2:39 PM
To: Tomcat Users List
Subject: RE: TC (4), IIS & isapi_redirector.dll

 
Hi & thanks, but that link is dead!

Hello!

visit this site to automate your integration of tomcat and iis.
http://www.shiftomat/opensource

download the file and follow the instructions... 

regards
aris 

-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 2:25 PM
To: tomcat-user@jakarta.apache.org
Subject: TC (4), IIS & isapi_redirector.dll

Hi,
I am attempting to serve up my pages using IIS, and have Tomcat
process my JSPs/Servlets using JK 1.2 Connector. I am following a what I
would call a reputable tutorial
(http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html) which tells
me to look here
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.0/bin/ for the isapi_redirector.dll, there or under my Win32
directory. I am running XP Pro and do not appear to have a Win 32
directory. In the above page are the various project downloads. Can
someone tell me where I am being directed please? I see no effervescence
to Isapi, IIS, redirector, JK or anything else of a similar topic.
 
thanks and regards
 
Paul. 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: TC (4), IIS & isapi_redirector.dll

2005-02-27 Thread Aris Javier
Hello!

visit this site to automate your integration of tomcat and iis.
http://www.shiftomat/opensource

download the file and follow the instructions... 

regards
aris 

-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 28, 2005 2:25 PM
To: tomcat-user@jakarta.apache.org
Subject: TC (4), IIS & isapi_redirector.dll

Hi,
I am attempting to serve up my pages using IIS, and have Tomcat
process my JSPs/Servlets using JK 1.2 Connector. I am following a what I
would call a reputable tutorial
(http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html) which tells
me to look here
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.0/bin/ for the isapi_redirector.dll, there or under my Win32
directory. I am running XP Pro and do not appear to have a Win 32
directory. In the above page are the various project downloads. Can
someone tell me where I am being directed please? I see no effervescence
to Isapi, IIS, redirector, JK or anything else of a similar topic.
 
thanks and regards
 
Paul. 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: errors with IE

2005-02-27 Thread Aris Javier
you can download some spywares from download.com.

aris 

-Original Message-
From: deepak suldhal [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 28, 2005 10:44 AM
To: Tomcat Users List; Jason Bainbridge
Subject: Re: errors with IE

if I type the
http://localhost:8080/ I get tomcat page.
but
If I pull the same from the address bar I get mysearch default search
engine through spyware.

How do I get rid of spyware. I keep getting everytime I try to open a
page.


Thanks




--- Jason Bainbridge <[EMAIL PROTECTED]> wrote:

> On Sun, 27 Feb 2005 17:54:19 -0800 (PST), deepak suldhal 
> <[EMAIL PROTECTED]> wrote:
> > When I use IE and try to access localhost I get
> >
>
http://kd.mysearch.myway.com/jsp/GGmain.jsp?PG=SEAS&SEC=ABONE&ptnrS=KD&s
t=addr&searchfor=localhost:8080
> > 
> > I have been posting this error mail since many
> days
> > and want to know how should I solve this.
> > 
> > This is really irritating to see some junk pages
> every
> > time I want to access localhost.
> 
> mysearch must be set as your default search engine through spyware or 
> whatever... are you typing just localhost:8080? MSIE gets confused by 
> that as it thinks the : is the : in http:// so you need to type 
> http://localhost:8080, if you are typing that and still getting the 
> error then it means that Tomcat isn't starting up for some reason or 
> another.
> 
> Regards,
> --
> Jason Bainbridge
> http://kde.org - [EMAIL PROTECTED]
> Personal Site - http://jasonbainbridge.com
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




__
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: errors with IE

2005-02-27 Thread Aris Javier
have you tried to access your web app from different pc?
cause im suspecting some spams on your pc. 

aris 

-Original Message-
From: deepak suldhal [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 28, 2005 9:54 AM
To: tomcat users
Subject: errors with IE

When I use IE and try to access localhost I get
http://kd.mysearch.myway.com/jsp/GGmain.jsp?PG=SEAS&SEC=ABONE&ptnrS=KD&s
t=addr&searchfor=localhost:8080

I have been posting this error mail since many days and want to know how
should I solve this.

This is really irritating to see some junk pages every time I want to
access localhost.

Thanks
D



__
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: trying with my first site on Tomcat with IIS 5.0 (3)

2005-02-23 Thread Aris Javier
Hi David,

I have the same problem like yours before. And found this site.
http://www.shiftomat.com/opensource/ 

It's effective and it's free! =)

I've been using this for a long time now and encountered no problems. 

Hope this helps.
Aris
Philippines


-Original Message-
From: Matt [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 24, 2005 12:07 AM
To: Tomcat Users List
Subject: Re: Re: trying with my first site on Tomcat with IIS 5.0 (3)

These are documented in lots of places (Google for the terms), but
confusing in that they have the extra instructions that you don't need
when you use the jk_1.2.8.exe (that installer is GREAT, it's all the
various docs that need updating and clarification).

The link that I sent you (and you refer to below) is what I used to
configure IIS 5 on Win2K myself.  Again, don't be confused by what the
jk_1.2.8.exe installer has already done for you, just move on to the
next step(s).
In IIS 5, you will still have to:
1) Add the ISAPI filter (clear in the instructions)
2) Add "Application Configuration" for .jsp w via the 1.2.8 DLL (not as
clear, if at all in the instructions)

It seems some docs expect that Step 1 and Step 2 are the same thing, but
they're not.  If you're having trouble with the two steps above, you may
need to investigate IIS configuration docs/instructions.  Let me know,
but I'm not in front of this system again until late tonight to try to
give you any more epxlicit step-by-step instructions.

Thanks!
-Matt


On Wed, 23 Feb 2005, David IBARRA ROSALES wrote:

> Thanks Allistair
>
> Is there documentations for IIS 6.0 , I use IIS 5.0 on win2000,  I 
> have found something new in documentation IIS 6.0:
> http://web.archive.org/web/20031229123839/www.rit.edu/~ack5504/tomcat-
> iis6-howto/WebServiceExtension.JPG
> that maybe help me if I found the similar in  IIS 5
>
> I already know , I 'd have use IIS 6.0, but i don'want to do more MS 
> upgrading , o maybe Linux and Apache :o , but that will have time, 
> menwhile I  change JSP and PHP for ASP.
>
> Regards
> David
>
>
> - Original Message -
> From: "Allistair Crossley" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" 
> Sent: Wednesday, February 23, 2005 11:59 AM
> Subject: RE: Re: trying with my first site on Tomcat with IIS (2)
>
>
> actually Matt appears to be correct I admit - i've just checked our 
> 1.2.8 config and it is indeed uriworkersmap.properties you need to add

> your mappings to.
>
> sorry for the confusion
>
> > -Original Message-
> > From: David IBARRA ROSALES [mailto:[EMAIL PROTECTED]
> > Sent: 23 February 2005 15:05
> > To: Tomcat Users List
> > Subject: Re: trying with my first site on Tomcat with IIS (2)
> >
> >
> > Thanks Allistar
> >
> > I will go on trying... it can be only a small thing i think your

> > message encourage me, David
> >
> > mytwo files show this
> > --
> > # workers.properties.minimal -
> > worker.list=ajp13w
> >
> > worker.ajp13w.type=ajp13
> > worker.ajp13w.host=localhost
> > worker.ajp13w.port=8009
> > --
> > # uriworkermap.properties - IIS
> > #
> > /test/*=ajp13w
> >
> >
> > - Original Message -
> > From: "Allistair Crossley" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" 
> > Sent: Wednesday, February 23, 2005 11:43 AM
> > Subject: RE: trying with my first site on Tomcat with IIS
> >
> >
> > i was just going by the latest JK 1.2.8 documentation which 
> > discusses only the configuration of workers.properties. 
> > uriworkersmap used to be the file used for jk2 style config.
> >
> > http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html
> >
> > > -Original Message-
> > > From: Matt [mailto:[EMAIL PROTECTED]
> > > Sent: 23 February 2005 14:36
> > > To: Tomcat Users List
> > > Subject: RE: trying with my first site on Tomcat with IIS
> > >
> > >
> > > Actually, that's not entirely true.
> > > If you use jk_1.2.8.exe on Windows to install, it creates its own 
> > > folder (I forget the name and am away from this system at present,

> > > maybe ISAPI Redirection DLL or such, sorry!) at the same level as 
> > > $CATALINA_HOME (Tomcat 5.5 in my case).  In there is a conf folder

> > > and in
> > there are:
> > > uriworkermap.properties
> > > -AND-
> > > workers.properties.minimal
> > >
> > > You *should not* have to touch the second file, and will make all 
> > > of your configurations in the first file (at least I have)!  I 
> > > would imagine the
> > > 1.2.8 setup for other systems is similar?  If not, there's more 
> > > obfuscation that should be corrected...!
> > >
> > > Obviously, getting there with :8080 means he's well-beyond the 
> > > installation phase, and if he can get to the examples without 
> > > expressly using :8080, then he also has the DLL working already 
> > > (is this the case, David)?  I feel his pain on getting any further

> > > - the docs are obtuse at best.
> > >
> > > Although elementary for some, the addi

RE: SV: Build a portal

2005-02-14 Thread Aris Javier
You can make use of Windows Sharepoint Portal Server.
But that's too expensive... 

If you know how to use IFRAME and DIV then you can combine all your
webapps 
into one webapp.. =) and make it somewhat like a dashboard... =)

Aris 

-Original Message-
From: Roland Carlsson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 15, 2005 3:06 PM
To: TomcatUsers
Subject: VB: SV: Build a portal

Hi!
I'm sorry for not being clear in my question.

I have  dynamic content, much are info-screens that should be visible
all the time. Since these info-screens are from different webapps i'm
having trouble to combine them into one page.

If I read you correctly you are only speeking about static content and
not dynmaic content? Perhaps there are some other product  that could
handle this problem?

Thanks in advance
Roland Carlsson


Den 05-02-14 16.07, skrev "Jason Bainbridge" <[EMAIL PROTECTED]>:

> On Mon, 14 Feb 2005 14:39:57 +0100, Roland Carlsson 
> <[EMAIL PROTECTED]> wrote:
>> Hi!
>> 
>> I have built an intranet for a while now and have build everything in

>> small discrete parts that are quite independat of each other. Using 
>> the Single sign on valve made it easy to integrate the parts and 
>> since we are using a frameset the menus wasn't a problem.
>> 
>> Now we are going to replace our frameset with includes and now I 
>> forsee a pain in the neck keeping look and feel consistent since I 
>> don't have the framset but have to keep a copy of the common
components in every web-app.
>> 
>> I am really hoping that I have missed something but isn't there a way

>> to have common components in one place only?
> 
> Not really a Tomcat question and it isn't very clear exactly what you 
> are after but I am guessing you might want to use something like the 
> ROOT webapp to store all the common & static files and then you can 
> refer to them with absolute links like href=/media/images/logo.gif
> 
> Regards,
> --
> Jason Bainbridge
> KDE - Conquer Your Desktop - http://kde.org KDE Web Team - 
> [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: SV: Build a portal

2005-02-14 Thread Aris Javier
GFI MailSecurity's HTML
threat engine found HTML scripts in this email and has disabled
them.Hi!

You can make use of Windows Sharepoint Portal Server.
But that's too expensive... 

If you know how to use  Jason Bainbridge
> KDE - Conquer Your Desktop - http://kde.org KDE Web Team - 
> [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Jakarta Tomcat Connector and IIS; no log being generated.

2005-02-14 Thread Aris Javier
Hello!

I have another workaround on connecting tomcat and iis...

I used shiftomat. download the file and install it... it will
automatically configure your system hasle free.

http://www.shiftomat.com/opensource/

Aris 

-Original Message-
From: John Gordon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 15, 2005 12:14 AM
To: tomcat-user@jakarta.apache.org
Subject: Jakarta Tomcat Connector and IIS; no log being generated.

I'm having a bit of trouble getting isapi_redirect.dll to work and
generate a log.  If anyone can see what step I'm missing please let me
know.  I have done the following.  I am running a Windows Server 2003.
My Tomcat version is 5.0.28.  My IIS version is 6.0.

  1.. In the registry I created a new registry key named
"HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0" 
  2.. Added a string value with the name extension_uri and a value of
the full path to the folder containing isap_redirect.dll
  3.. Added a string value with the name log_file and a value pointing
to my jakarta logs directory.
  4.. Added a string value with the name log_level and a value of debug
  5.. Added a string value with the name worker_file and a value which
is the full path to my workers.properties file
  6.. Added a string value with the name worker_mount_file and a value
which is the full path to my uriworkermap.properties file
  7.. Using the IIS management console, added a new virtual directory to
my IIS web site. The name of the virtual directory is jakarta. Its
physical path is the directory where I placed isapi_redirect.dll.
Assigned it with execute access. 
  8.. Using the IIS management console, added isapi_redirect.dll as a
filter in my IIS web site. Named it jakarta and set its executable to
the full path to isapi_redirect.dll. 
  9.. Edited "Filter DLLs" key under
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters.
Inserted the full path to isapi_redirect.dll.
The green arrow showing activity in IIS is active for the filter.
Nothing comes up when going to http://localhost/example/Menu

My tomcat servlet comes up when going to
http://localhost:8080/example/Menu

My workers.properties file has

worker.ajp13w.host=localhost
worker.ajp13w.port=8009
worker.ajp13w.type=ajp13

My uriworkermap.properties file has

/example/*=ajp13w

I get no logs file in the location i placed the log file or anywhere
else on my system for isapi.

Thanks for any help.

John Gordon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Attn developers of Tomcat and JK

2005-02-08 Thread Aris Javier
If you want to integrate Tomcat and IIS with enough technical support,
then
go to a commercial site like http://jspisapi.neurospeech.com/. There you
can
find jspisapi redirector worth $50 I think...

Aris

-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 09, 2005 7:37 AM
To: Tomcat Users List
Subject: Re: Attn developers of Tomcat and JK

If you want immediately support Covalent offers it. I don't work for
covalent, but they are reliable.

the tone of your post is very rude and frankly completely inappropriate.
I've come across bugs in every webserver I've used.
Here is a short list, IIS, weblogic, websphere, resin, netscape and
tomcat.

of all the servers I've used over the last 6 years, tomcat is the most
responsive in terms of fixing bugs and useful responses. Now that
doesn't mean it's perfect or any where near perfect. Obviously you're
using IIS, so why not just use .NET, C# and ADO.

if you haven't got the experience or skill to use tomcat, than you're
wasting everyone's time. Including your own valuable time. Quite
honestly, for commercial products, you're looking at 8-12 months turn
around time for a patch. Even then, it probably won't fix the problem.
There are plenty of qualified and experienced developers who know tomcat
insdie and out. I would advise hiring some one because it's near
impossible to diagnose your problem without being at the system.

peter lin


On Tue, 08 Feb 2005 10:11:03 -0600, Eric Sandusky
<[EMAIL PROTECTED]> wrote:
> To the developers of Tomcat and JK:
> > If Tomcat + JK cannot process every request/response on a Windows 
> > server
> that is dual-xeon 3.0 Ghz processors with 4 GB of memory, then what 
> machine would?
> 
> And doesn't it seem strange how the JK2 project has been mysteriously 
> abandoned?  Thanks for going off in a seemingly better direction only 
> to jump ship and leave everyone SOL.  It makes me think that this 
> whole Tomcat development effort is more of just a hobby and not 
> something to be taken seriously.
> 
> If anyone is willing to contact me on this issue, I would be more than

> happy to talk one-on-one.  If you want to tell me that this is not the

> forum for ranting about Tomcat or JK, it should be.  If you want to 
> blackball me from this community, go ahead, I'm not getting any help 
> from it as it is.  I can only hope that this message reaches the 
> people who supposedly support this software and lights a fire 
> underneath them to improve it or tell us that it just doesn't work.
> 
> Eric
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Java / Tomcat Job Abroad

2005-02-01 Thread Aris Javier
Thanks Rhino for info.

Yeah, big adjustment in climate... 
but that's one sacrifice I'm willing to take to make a living.

=)

-Original Message-
From: Rhino [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 02, 2005 1:13 PM
To: Tomcat Users List
Subject: Re: Java / Tomcat Job Abroad

I think you'll find that there are Java jobs in Canada. I've seen some
at monster.ca and workopolis.ca. I don't know about Tomcat jobs; I've
never looked for Tomcat jobs.

I hope you like living in large cities in a climate that is sometimes
miserable (-40C in winter in Winnipeg for example) ;-)

Rhino

- Original Message -
From: "Aris Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Tuesday, February 01, 2005 8:52 PM
Subject: OT: Java / Tomcat Job Abroad


Hello!

This is an out of topic question...
Sorry, but since all of you guys are using Java and Tomcat,
and are from different countries...
im just wondering if i can land a job abroad?

I'm planning to migrate to Canada, US, or New Zealand from here
in Philippines... My skill is java programming (J2EE) and has 2 years
experience.

Is Java/Tomcat skill marketable in those countries i've mentioned?
Or does anyone of you need a java programmer that i can apply?

=)


Thanks!

Aris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



OT: Java / Tomcat Job Abroad

2005-02-01 Thread Aris Javier
Hello!
 
This is an out of topic question... 
Sorry, but since all of you guys are using Java and Tomcat,
and are from different countries... 
im just wondering if i can land a job abroad?
 
I'm planning to migrate to Canada, US, or New Zealand from here
in Philippines... My skill is java programming (J2EE) and has 2 years
experience.
 
Is Java/Tomcat skill marketable in those countries i've mentioned?
Or does anyone of you need a java programmer that i can apply? 
 
=)
 
 
Thanks!
 
Aris
 


RE: Edit session timeout

2005-01-30 Thread Aris Javier
Thanks Everybody!

=) 

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Monday, January 31, 2005 12:56 PM
To: Tomcat Users List
Subject: Re: Edit session timeout

Yes.

Doug
- Original Message -
From: "Aris Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Sunday, January 30, 2005 11:53 PM
Subject: RE: Edit session timeout


Thanks Drew!

I found it.. =)

can I also use this setting per web app? by editing web.xml per web app?



-Original Message-
From: Drew Jorgenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 12:41 PM
To: Tomcat Users List
Subject: RE: Edit session timeout


120


Look, at the web.xml file inside the conf directory, the global web.xml
file that is. You can usually find this right above the mime-type
mapping definitions.

Drew.



On Sun, 2005-01-30 at 20:28, Aris Javier wrote:
> I looked at my web.xml, and no sessionTimeout found there...
> can you give me an example on how to write it down in web.xml?
> 
> thanks!
> aris
> 
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 31, 2005 12:25 PM
> To: Tomcat Users List
> Subject: Re: Edit session timeout
> 
> From: "Aris Javier" <[EMAIL PROTECTED]>
> > How to edit session timeout? Tomcat's default value is 30mins...
> 
> Look in web.xml instead of server.xml. You can change it for the 
> entire container, or on a per-webapp basis, depending on which web.xml

> you edit.
> (Works for Tomcat 4.1, I haven't moved to 5 yet...)
> 
> --
> Wendy Smoak
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Edit session timeout

2005-01-30 Thread Aris Javier
Thanks Drew!

I found it.. =)

can I also use this setting per web app? by editing web.xml per web app?



-Original Message-
From: Drew Jorgenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 12:41 PM
To: Tomcat Users List
Subject: RE: Edit session timeout


120


Look, at the web.xml file inside the conf directory, the global web.xml
file that is. You can usually find this right above the mime-type
mapping definitions.

Drew.



On Sun, 2005-01-30 at 20:28, Aris Javier wrote:
> I looked at my web.xml, and no sessionTimeout found there...
> can you give me an example on how to write it down in web.xml?
> 
> thanks!
> aris
> 
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 31, 2005 12:25 PM
> To: Tomcat Users List
> Subject: Re: Edit session timeout
> 
> From: "Aris Javier" <[EMAIL PROTECTED]>
> > How to edit session timeout? Tomcat's default value is 30mins...
> 
> Look in web.xml instead of server.xml. You can change it for the 
> entire container, or on a per-webapp basis, depending on which web.xml

> you edit.
> (Works for Tomcat 4.1, I haven't moved to 5 yet...)
> 
> --
> Wendy Smoak
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Edit session timeout

2005-01-30 Thread Aris Javier
I looked at my web.xml, and no sessionTimeout found there...
can you give me an example on how to write it down in web.xml?

thanks!
aris 

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 12:25 PM
To: Tomcat Users List
Subject: Re: Edit session timeout

From: "Aris Javier" <[EMAIL PROTECTED]>
> How to edit session timeout? Tomcat's default value is 30mins...

Look in web.xml instead of server.xml. You can change it for the entire
container, or on a per-webapp basis, depending on which web.xml you
edit. 
(Works for Tomcat 4.1, I haven't moved to 5 yet...)

--
Wendy Smoak 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Edit session timeout

2005-01-30 Thread Aris Javier
Hello!
 
How to edit session timeout? Tomcat's default value is 30mins...
30 minutes of inactivity then a session will expire... In my apps,
i think 30minutes is too long.. i want 5 minutes of inactivity before
session expires... 
 
is it in server.xml? i only see connectionTimeout which is 2?
is connectionTimeout the same with sessionTimeout?
 
Thanks and regards,
Aris
 


SOLVED: Tomcat Bug?

2005-01-25 Thread Aris Javier
Thanks Drew for your suggestion!

It's ok now... =)


-Original Message-
From: Drew Jorgenson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 25, 2005 3:29 PM
To: Tomcat Users List
Subject: Re: Tomcat Bug?

OK, look inside TOMCAT_INSTALL_DIR/work/Catalina/localhost (or whatever
other virtual host you may be running) delete the cached file in
question or all of them and restart tomcat ;-)

Drew.

On Mon, 2005-01-24 at 20:11, Aris Javier wrote:
> Hello!
>  
> Please Help!
>  
> It seems Tomcat won't refresh the page...
>  
> I have this logout.jsp page.. have configured it so many times...
> deployed it to webapps/elog/web folder but still it's initial 
> logout.jsp appeared...
>  
> restarted tomcat, restarted browser, and even restarted my pc... but 
> to no avail.
>  
> im using tomcat 5.0.25 on windows 2000...
>  
> is this tomcat 5.0.25 bug?
>  
> Thanks!
> Aris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Bug?

2005-01-24 Thread Aris Javier
I've deleted the cookies, ie history, temp files...
is this the way to empty browser cache?

I've also deleted the whole webapp/elog folder before deployment.
but to no avail.

thanks
aris

 

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Tuesday, January 25, 2005 1:01 PM
To: Tomcat Users List
Subject: Re: Tomcat Bug?

Empty your browser cache. 

How are you doing the deploy?
Make sure the directory is being removed before redeploy. 
Are other pages updating?
What if you delete the page all together?

Doug


- Original Message -----
From: "Aris Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Monday, January 24, 2005 11:11 PM
Subject: Tomcat Bug?


Hello!
 
Please Help!
 
It seems Tomcat won't refresh the page...
 
I have this logout.jsp page.. have configured it so many times...
deployed it to webapps/elog/web folder but still it's initial logout.jsp
appeared... 
 
restarted tomcat, restarted browser, and even restarted my pc... but to
no avail.
 
im using tomcat 5.0.25 on windows 2000...
 
is this tomcat 5.0.25 bug?
 
Thanks!
Aris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Bug?

2005-01-24 Thread Aris Javier
Hello!
 
Please Help!
 
It seems Tomcat won't refresh the page...
 
I have this logout.jsp page.. have configured it so many times...
deployed it to webapps/elog/web folder but still it's initial logout.jsp
appeared... 
 
restarted tomcat, restarted browser, and even restarted my pc... but to
no avail.
 
im using tomcat 5.0.25 on windows 2000...
 
is this tomcat 5.0.25 bug?
 
Thanks!
Aris


RE: problem with Basic authentication -- no window to login

2005-01-20 Thread Aris Javier
assuming you're using linux.. I encountered this problem
in mozilla 1.6... downloaded 1.7 version and login window
appeared! =)

-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 21, 2005 11:21 AM
To: Tomcat Users List
Subject: RE: problem with Basic authentication -- no window to login

I have tried internet explorer and mozilla

Ashish
--- Aris Javier <[EMAIL PROTECTED]> wrote:

> what browser ar you using? 
> 
> -Original Message-
> From: Ashish Kulkarni
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 21, 2005 6:24 AM
> To: tomcat-user@jakarta.apache.org
> Subject: problem with Basic authentication -- no window to login
> 
> Hi
> i was able to make my application work with form authentication, then 
> i changed the login-config to make it basic authentication like below,

> but i am not getting any login window, it just gives me no access 403 
> error why   BASIC  
> Basic Authentication Area 
> 
> Ashish
> 
> 
> 
>   
> __
> Do you Yahoo!? 
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


=
A$HI$H



__
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: problem with Basic authentication -- no window to login

2005-01-20 Thread Aris Javier
what browser ar you using? 

-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 21, 2005 6:24 AM
To: tomcat-user@jakarta.apache.org
Subject: problem with Basic authentication -- no window to login

Hi
i was able to make my application work with form authentication, then i
changed the login-config to make it basic authentication like below, but
i am not getting any login window, it just gives me no access 403 error
why   BASIC  Basic
Authentication Area 

Ashish




__
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to let tomcat call a jsp automatically?

2005-01-10 Thread Aris Javier
You can make use of scheduled tasks in Windows...
This is the one im using to run my jsp automatically everyday to send
email notifications...

Aris 

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Tuesday, January 11, 2005 11:26 AM
To: Tomcat Users List
Subject: Re: How to let tomcat call a jsp automatically?

To rephrase, you want something to make a request for a jsp once every
two weeks?

If this is the case check the archives. Just last month or this one
there was a similar thread. I essence us an outside app like cron or
task manager to do it.

If this is not right, then explain your need in more detail as there may
be a better solution.

Doug


- Original Message -
From: "Alvin Cheung" <[EMAIL PROTECTED]>
To: 
Sent: Monday, January 10, 2005 7:31 PM
Subject: How to let tomcat call a jsp automatically?


> Dear all,
> I want to call a jsp for every two weeks automatically.
> How can I do it in tomcat? 
> Can Cocoon do it?
> Need I install J2EE?
> How to config the cocoon?
> Regards,
> Alvin 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-10 Thread Aris Javier
inside tomcat manager.. redeploy your web app...
 
http://localhost:8080/manager/html
 
 
 

  _  

From: Karthik N S [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 10, 2005 4:08 PM
To: TOMCAT_USERS
Subject: SERVLET CONTEXT [ START/STOP BY CODE]



 

Hi  Guys

Apologies.

Am a New Bee ,on this form

Somebody Please Tell me 

How to START/STOP  Tomcat5.x versions ServletContext 

by importing appropriate Package and code API's to make use of 

foa a particular Context 'ABC ' which is already started.

 

Thx in Advance.

 


WITH WARM REGARDS 
HAVE A NICE DAY 
[ N.S.KARTHIK] 



RE: index.jsp not found

2005-01-04 Thread Aris Javier
try to turn on/off browser when adding/removing index.jsp.
this way, it will free session memory.

just a thought  

-Original Message-
From: Atishay Kumar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 05, 2005 2:21 PM
To: Tomcat Users List
Subject: index.jsp not found

hi,
 I am using tomcat 4.1.27 on linux. I deleted my index.jsp page but even
then index.jsp was showing even after i refreshed the page. after
refreshing 2-3 times it said that index.jsp not found (which it should
have done first time itself).
After that i put a new index.jsp . but still it is showing that
index.jsp not found. even after refreshing numerous times.
what could be the possible problem? and what is the solution so that it
does not re-occur.

thanks
--
:)
Atishay Kumar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Suddenly Stopped!

2005-01-02 Thread Aris Javier
Before anything else, I would like to greet everybody 
HAPPY NEW YEAR!!! 
 
Ok, serious now...
 
Why is it Tomcat suddenly stopped... ?
 
I'm trying to figure out what happen... Is it with the
number of connections or users of my intranet web app?
But we are just 50 in the organization... 
 
I'm using 
Tomcat 5.0.25
jk2
IIS
Jsp/Servlets
 
Or do i have to upgrade my Tomcat to higher version?
 
Thanks!
Aris
 


RE: Help me off this list!

2004-12-15 Thread Aris Javier
I think you must receive and send a confirmation reply if you want to
subscribe or unsubscribe...

aris 

-Original Message-
From: TK Banks [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 15, 2004 3:56 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Help me off this list!

No matter how many times I send mail to
[EMAIL PROTECTED] I continue to be flooded with
tomcat-user mail.

Months ago I wanted to post a question to this list and found I couldn't
do so unless I joined the list. 
So, grudgingly, I joined, posted my question and immediately
unsubscribed.  I checked my mail again days later to find I had
gazillions of emails queued up.  Since that time I've been periodically
sending requests to unsubscribe and have had no success.

Was there some fine print I missed that said I had to join for at least
a year?



__
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
Thanks!

I've got Tomcat to work on port 80 with IIS service disabled! 

The problem now is request.getRemoteUser() returns NULL?
Before, when I'm integrating it with IIS, request.getRemoteUser()
returns
the login name of the user...

I need to get the user's domain login name... afterwhich, I will use
that
login name to verify in Active Directory if he/she exists... 

you mentioned a login box appears when I hit a site with security...?
how to make my site secured then?

So sorry to cause you too much trouble.. im the only java programmer
here.. =|

Thanks again!
aris

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Wednesday, December 08, 2004 12:34 PM
To: Tomcat Users List
Subject: Re: Help: Windows Server on Linux Client

1. Is IIS shutdown (Stop the service and disable it)?

2. Is Tomcat up and running?

3. http://localhost returns what?

If you get the default start page there is a link to the manager.

As for the login Benson is speaking of the authentication (login) box
that appears when you hit a site with security.

Doug

- Original Message -----
From: "Aris Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 2004 11:16 PM
Subject: RE: Help: Windows Server on Linux Client


thanks Chuck!

I've changed my server.xml to port 80 and disconnected IIS...
but "page cannot be displayed" appeared...?

http://server/myApp

then, how to go to Tomcat web manager? http://server:80?

aris

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 11:51 AM
To: Tomcat Users List
Subject: RE: Help: Windows Server on Linux Client

> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Subject: RE: Help: Windows Server on Linux Client
>
> if I will not use IIS, how to remove 8080 in URL then?

Tomcat's HTTP connector is configured in server.xml.  By default, Tomcat
ships with the port number set to 8080 so you can test without
interfering with any HTTP server you might already have installed.  Once
you're ready to put Tomcat in production, change the 8080 in server.xml
to 80.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
thanks Chuck!

I've changed my server.xml to port 80 and disconnected IIS...
but "page cannot be displayed" appeared...?

http://server/myApp

then, how to go to Tomcat web manager? http://server:80?

aris

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 08, 2004 11:51 AM
To: Tomcat Users List
Subject: RE: Help: Windows Server on Linux Client

> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Subject: RE: Help: Windows Server on Linux Client
> 
> if I will not use IIS, how to remove 8080 in URL then?

Tomcat's HTTP connector is configured in server.xml.  By default, Tomcat
ships with the port number set to 8080 so you can test without
interfering with any HTTP server you might already have installed.  Once
you're ready to put Tomcat in production, change the 8080 in server.xml
to 80.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
but where to type [EMAIL PROTECTED] or foo\domain in linux? 
sorry im a newbie in linux...

thanks!
aris

-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 08, 2004 10:12 AM
To: Tomcat Users List
Subject: RE: Help: Windows Server on Linux Client

The user can type [EMAIL PROTECTED] in as their user name to the basic auth
box, and their domain password, or foo\domain. And then the IIS will
cheerfully authenticate them to the domain.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
im just using IIS to remove 8080 port number... with the help of jk2
connector...

if I will not use IIS, how to remove 8080 in URL then?

thanks! 

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Wednesday, December 08, 2004 10:20 AM
To: Tomcat Users List
Subject: Re: Help: Windows Server on Linux Client

With the Anonymous Access disabled, did it prompt for a login on Linux
machines?

If yes, then Benson has you covered.

If not, then can you use Tomcat without IIS? Is there something that has
to run on IIS?

As for the JDBCRealm, it does not matter what the client is.

Doug

- Original Message -
From: "Aris Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 2004 8:51 PM
Subject: RE: Help: Windows Server on Linux Client


Hello!

I already enabled "Anonymous Access" but to no success... =|
I think the problem is in IIS ? because http://server:8080/myApp
is working in linux but request.getRemoteUser() is null... well
ofcourse,
the user did not login inside the domain... how can a linux user login
inside
the domain? If I make use of realm, the problem is solved but my URL
includes
8080 port number?

I want to make 8080 disappear in linux... http 401 authentication
problem occurs
if I use http://server/myApp... still I cannot make use of realm because
how to know
I the client is using linux?

Thanks!


-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Monday, December 06, 2004 11:55 AM
To: Tomcat Users List
Subject: Re: Help: Windows Server on Linux Client

Aris,

Do want the only people that use the app to be domain users?

If so, then you will need to implement a different security system if
users will be on non windows machines.

One option is the authentication roles in Tomcat. Down side is that the
database of users will have to be maintained separate from AD. Pro is
the
users do not have to be in AD.   JDBCRealm

Check out:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html

Also look at:

http://jakarta.apache.org/tomcat/faq/windows.html

If you do not need to restrict the access to the application then enable
the Anonymous access.

Doug
www.parsonstechnical.com


- Original Message -
From: "Aris Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, December 05, 2004 9:19 PM
Subject: RE: Help: Windows Server on Linux Client


Thanks for your reply Brad!

Inside IIS (myApp virtual directory), I have disabled "Anonymous access"
and checked "integrated windows
authentication"... myApp gets the user domain login name first and
verify in active directory if the user exists...
if the user exists, then myApp will work..

if in linux, should I enable "anonymous access" ?

I will also try url with 8080 port included and see if it works in
linux... http://localhost:8080/myApp

-Original Message-
From: Brad Cobb [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 10:06 AM
To: Tomcat Users List
Subject: RE: Help: Windows Server on Linux Client

Hi,

> The server is Windows 2k (development pc) running tomcat 5.0.27 using
> jk2 connector to run on IIS... my web apps don't have problems on
> windows client...

I would be looking at your IIS permissions.  Are you using 'Anonymous
Access' in IIS?  It sounds like your Windows clients are actually
authenticating under a domain account - not using the same Anonymous
Access that Linux will try to use by default.

If so, have you allocated the "IUSR_" account to your
webapps directory through Windows Explorer?

To confirm this - try un-integrating with IIS (temporarily) and see if
the problem still happens.  If not, then you know it's not a Tomcat
issue.

Brad Cobb

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
Hello!

I already enabled "Anonymous Access" but to no success... =|
I think the problem is in IIS ? because http://server:8080/myApp
is working in linux but request.getRemoteUser() is null... well
ofcourse,
the user did not login inside the domain... how can a linux user login
inside
the domain? If I make use of realm, the problem is solved but my URL
includes
8080 port number?

I want to make 8080 disappear in linux... http 401 authentication
problem occurs
if I use http://server/myApp... still I cannot make use of realm because
how to know
I the client is using linux?

Thanks!


-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Monday, December 06, 2004 11:55 AM
To: Tomcat Users List
Subject: Re: Help: Windows Server on Linux Client

Aris,

Do want the only people that use the app to be domain users?

If so, then you will need to implement a different security system if
users will be on non windows machines.

One option is the authentication roles in Tomcat. Down side is that the
database of users will have to be maintained separate from AD. Pro is
the 
users do not have to be in AD.   JDBCRealm

Check out:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html

Also look at:

http://jakarta.apache.org/tomcat/faq/windows.html

If you do not need to restrict the access to the application then enable
the Anonymous access.

Doug
www.parsonstechnical.com


- Original Message -----
From: "Aris Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, December 05, 2004 9:19 PM
Subject: RE: Help: Windows Server on Linux Client


Thanks for your reply Brad!

Inside IIS (myApp virtual directory), I have disabled "Anonymous access"
and checked "integrated windows
authentication"... myApp gets the user domain login name first and
verify in active directory if the user exists...
if the user exists, then myApp will work..

if in linux, should I enable "anonymous access" ?

I will also try url with 8080 port included and see if it works in
linux... http://localhost:8080/myApp

-Original Message-
From: Brad Cobb [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 10:06 AM
To: Tomcat Users List
Subject: RE: Help: Windows Server on Linux Client

Hi,

> The server is Windows 2k (development pc) running tomcat 5.0.27 using
> jk2 connector to run on IIS... my web apps don't have problems on
> windows client...

I would be looking at your IIS permissions.  Are you using 'Anonymous
Access' in IIS?  It sounds like your Windows clients are actually
authenticating under a domain account - not using the same Anonymous
Access that Linux will try to use by default.

If so, have you allocated the "IUSR_" account to your
webapps directory through Windows Explorer?

To confirm this - try un-integrating with IIS (temporarily) and see if
the problem still happens.  If not, then you know it's not a Tomcat
issue.

Brad Cobb

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help: Windows Server on Linux Client

2004-12-06 Thread Aris Javier
thanks for your reply Doug...

I find it really weird... I have tried to access my web app in linux
using
firefox... and it works! but in mozilla, konqueror in linux,
authentication error
occurred.. =|

"Anonymous Access" is still disabled.. coz I only want domain users to
access
the app... I will try to read/study realm... so now I will have to
maintain two user database?
one Active Directory and one Realm? 

All of my users have accounts in active directory though...

 

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Monday, December 06, 2004 11:55 AM
To: Tomcat Users List
Subject: Re: Help: Windows Server on Linux Client

Aris,

Do want the only people that use the app to be domain users?

If so, then you will need to implement a different security system if
users will be on non windows machines.

One option is the authentication roles in Tomcat. Down side is that the
database of users will have to be maintained separate from AD. Pro is
the 
users do not have to be in AD.   JDBCRealm

Check out:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html

Also look at:

http://jakarta.apache.org/tomcat/faq/windows.html

If you do not need to restrict the access to the application then enable
the Anonymous access.

Doug
www.parsonstechnical.com


- Original Message -----
From: "Aris Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, December 05, 2004 9:19 PM
Subject: RE: Help: Windows Server on Linux Client


Thanks for your reply Brad!

Inside IIS (myApp virtual directory), I have disabled "Anonymous access"
and checked "integrated windows
authentication"... myApp gets the user domain login name first and
verify in active directory if the user exists...
if the user exists, then myApp will work..

if in linux, should I enable "anonymous access" ?

I will also try url with 8080 port included and see if it works in
linux... http://localhost:8080/myApp

-Original Message-
From: Brad Cobb [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 10:06 AM
To: Tomcat Users List
Subject: RE: Help: Windows Server on Linux Client

Hi,

> The server is Windows 2k (development pc) running tomcat 5.0.27 using
> jk2 connector to run on IIS... my web apps don't have problems on
> windows client...

I would be looking at your IIS permissions.  Are you using 'Anonymous
Access' in IIS?  It sounds like your Windows clients are actually
authenticating under a domain account - not using the same Anonymous
Access that Linux will try to use by default.

If so, have you allocated the "IUSR_" account to your
webapps directory through Windows Explorer?

To confirm this - try un-integrating with IIS (temporarily) and see if
the problem still happens.  If not, then you know it's not a Tomcat
issue.

Brad Cobb

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help: Windows Server on Linux Client

2004-12-05 Thread Aris Javier
Thanks for your reply Brad!

Inside IIS (myApp virtual directory), I have disabled "Anonymous access"
and checked "integrated windows
authentication"... myApp gets the user domain login name first and
verify in active directory if the user exists... 
if the user exists, then myApp will work.. 

if in linux, should I enable "anonymous access" ?

I will also try url with 8080 port included and see if it works in
linux... http://localhost:8080/myApp 

-Original Message-
From: Brad Cobb [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 06, 2004 10:06 AM
To: Tomcat Users List
Subject: RE: Help: Windows Server on Linux Client

Hi,
 
> The server is Windows 2k (development pc) running tomcat 5.0.27 using 
> jk2 connector to run on IIS... my web apps don't have problems on 
> windows client...
 
I would be looking at your IIS permissions.  Are you using 'Anonymous
Access' in IIS?  It sounds like your Windows clients are actually
authenticating under a domain account - not using the same Anonymous
Access that Linux will try to use by default.

If so, have you allocated the "IUSR_" account to your
webapps directory through Windows Explorer?

To confirm this - try un-integrating with IIS (temporarily) and see if
the problem still happens.  If not, then you know it's not a Tomcat
issue.

Brad Cobb

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FW: Help: Windows Server on Linux Client

2004-12-05 Thread Aris Javier
Please Help! 
 
thanks very much!
 
aris

  _  

From: Aris Javier 
Sent: Friday, December 03, 2004 4:48 PM
To: 'Tomcat Users List'
Subject: Help: Windows Server on Linux Client


Good Afternoon!
 
I have this problem on linux clients...
My web apps simply won't run on linux client...
http: 401 authorization problem always shows up on mozilla in linux.
 
The server is Windows 2k (development pc) running tomcat 5.0.27
using jk2 connector to run on IIS... my web apps don't have problems
on windows client... 
 
please help! 
 
Thanks very much!
 
aris
<mailto:[EMAIL PROTECTED]> 


Help: Windows Server on Linux Client

2004-12-03 Thread Aris Javier
Good Afternoon!
 
I have this problem on linux clients...
My web apps simply won't run on linux client...
http: 401 authorization problem always shows up on mozilla in linux.
 
The server is Windows 2k (development pc) running tomcat 5.0.27
using jk2 connector to run on IIS... my web apps don't have problems
on windows client... 
 
please help! 
 
Thanks very much!
 
aris
 


RE: design patterns

2004-09-23 Thread Aris Javier
Thanks Tom!

Coz im thinking if I need to study struts design pattern if I already
know
MVC...
 


-Original Message-
From: Vekemans Tom [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 3:28 PM
To: Tomcat Users List
Subject: RE: design patterns

Aris,

" A pattern describes a proven solution to a recurring design problem,
placing particular emphasis on the context and forces surrounding the
problem, and the consequences and impact of the solution." 

In other words, there is no such thing as a "best" design pattern, it
all depends on the problem that you are trying to solve.

A good site explaining the J2EE design patterns is this one: 

http://java.sun.com/blueprints/patterns/

Check out the "Core J2EE Patterns" link for J2EE patterns.

Tom Vekemans



-----Original Message-
From: Aris Javier [mailto:[EMAIL PROTECTED]
Sent: jeudi 23 septembre 2004 9:36
To: [EMAIL PROTECTED]
Subject: design patterns

Hello!
 
J2EE web development has so many design patterns...
Which design pattern is the best? or What are the purpose of each design
patterns?
 
Do you have any article about this?
 
coz i'm currently using MVC design pattern.. and i would like to study
other design patterns.. 
 
Thanks in advance!!!
 
Aris
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



design patterns

2004-09-23 Thread Aris Javier
Hello!
 
J2EE web development has so many design patterns...
Which design pattern is the best? or What are the
purpose of each design patterns?
 
Do you have any article about this?
 
coz i'm currently using MVC design pattern.. and i would
like to study other design patterns.. 
 
Thanks in advance!!!
 
Aris
 


RE: A little offbeat question

2004-09-16 Thread Aris Javier
Define your classpath... 
Your classpath should include  c:\j2sdk1.4.2_03

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 3:03 PM
To: 'Tomcat Users List'
Subject: RE: A little offbeat question

One more thing, tomcat was running fine.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 12:01 AM
To: [EMAIL PROTECTED]
Subject: A little offbeat question

I tried to run a program I thought would but it doesn't.

This is on a windows XP platform.

Everything compiled well but I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError:
HelloWorld/class

 

So I went back and tried a no brainer 'HelloWorld'  This is the code.

/**

 * The HelloWorld class implements an application that

 * displays "Hello World!" to the standard output.

 */

public class HelloWorld {

public static void main(String[] args) {

// Display "Hello World!"

System.out.println("Hello World!");

}

}

 

It compiles but I get the same error.

I check my environment variables and mine are

JAVA_HOME c:\j2sdk1.4.2_03

PATH
C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\sys
tem3
2;%SystemRoot%;%SystemRoot%\system32\WBEM

 

Any ideas?

 

Thanks in advance




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SPAM MAIL FROM HSBC

2004-09-14 Thread Aris Javier
Hello to All! 
 
Im always receiving HSBC spam mail here in tomcat mailing list...
Am I the only one receiving this spam mail? or everybody in mailing
list?
 
Can tomcat mailing list administrator block this? or its in our server?
 
Aris
 


RE: Accessing the user name

2004-09-13 Thread Aris Javier
have you tried putting it in session?
session.setAttribute("username",xxx);

just a thought.. 

aris

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 13, 2004 5:33 PM
To: [EMAIL PROTECTED]
Subject: Accessing the user name


Having logged in using form based login via a servlet
How, on another page, can I access the users name?

I can't see a way to pass either pass on the username
to other servlets or to retrieve it from a subsequently 
called servlet?

tc 5.0.27, win2k, mySQL for password checking.


Regards DaveP.

 snip here *

-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted. We
therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent

those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Read MS Word using Java?

2004-09-09 Thread Aris Javier
thanks Laurent!

but it says there that POI for MS Word is still in its early development...
bug prone i guess...?
do you know other workaround?

Thanks again!

aris

-Original Message-
From: Marot Laurent [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 10, 2004 12:41 PM
To: Tomcat Users List
Subject: RE: Read MS Word using Java?


Hi,

Have a look there: http://jakarta.apache.org/poi/hwpf/index.html

Laurent

-Message d'origine-
De : Aris Javier [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 10 septembre 2004 06:32
À : [EMAIL PROTECTED]
Objet : Read MS Word using Java?


Hello everyone!
 
I know this is out of tomcat discussion.. 
but I need help on how to read MS Word files in java..
 
does anybody have working codes?
 
Any Help is greatly appreciated.. 
 
Thanks in advance...
 
aris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Read MS Word using Java?

2004-09-09 Thread Aris Javier
Hello everyone!
 
I know this is out of tomcat discussion.. 
but I need help on how to read MS Word files in java..
 
does anybody have working codes?
 
Any Help is greatly appreciated.. 
 
Thanks in advance...
 
aris


RE: [OT] RE: javascript and servlets.

2004-09-03 Thread Aris Javier
just put one name.. say myFile.
then get it thru String[] myFile = getParamterValues("myFile")...
for(int i=0; imailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 4:37 PM
To: [EMAIL PROTECTED]
Subject: RE: [OT] RE: javascript and servlets.


 

-Original Message-
From: Marot Laurent
very surprising ...

to ensure you really send parameters, just try to get one 
of them with usual getParameter("param").
   
Yes, the first  element value is retrievable easily
f = request.getParameter("file0");
returns the value no problem.



   
 
 
   




Further input items are added via javascript, to enable multiple file
uploads. The name attribute is set in the jscript to file+ iteration
value.


regards DaveP


** snip here **


-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted. We
therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent

those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: SOLVED! RE: Why request.getRemoteUser() returns NULL ?

2004-09-02 Thread Aris Javier
Thanks Allistair!

i will take note of this in my future web apps.. 
but for now since im also using IIS (existing system here),
and we bought already jspisapi filter, IIS-REMOTE-USER is helpful.

Thanks very much to everyone who helped me! =)

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 7:29 PM
To: Tomcat Users List
Subject: RE: SOLVED! RE: Why request.getRemoteUser() returns NULL ?


Pleased you found a solution. Just to note however that the JK2 ISAPI
filter for IIS does work with just 1 line change to jk2.properties IF
you want to use NTLM. 

You solution of getting IIS-REMOTE-USER variables makes your webapp
dependent on IIS wheras JK2 sets request.getRemoteUser() and therefore
removes that dependency.

After that, configuring JK2 ISAPI is added to IIS in the same way as any
other ISAPI module including JSPISAPI. The registry settings for JK2 are
annoying but no more so than any other installer.

Allistair

> -Original Message-
> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Sent: 02 September 2004 08:56
> To: Tomcat Users List
> Subject: SOLVED! RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> I found it!
> 
> Thanks to Akash Kava..
> 
> to get User: request.getHeader("IIS-REMOTE-USER");
> to get Host: request.getHeader("IIS-REMOTE-ADDR");
> 
> if you're using Tomcat+IIS thru jspisapi filter..
> it make use of NTLM authentication...
> 
> no need for jcifs filter.. no need to change server.xml or web.xml or 
> jk2.properties...
> 
> Thanks Akash!!!
> 
> Also watch out for JWEBEX (JWX)... it will replace JSP...
> It has features of .NET!
> Fast coding, auto login, auto integration with IIS, it will
> replace jsp,
> 
> it can be used with existing tomcat without any new changes
> 
> yes! go JAVA!
> 
> 
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 7:14 PM
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> Hi,
> 
> Ah! tomcatAuthentication=false is configured in JK2 which is what I am

> using - JK2 ISAPI filter for IIS ...
> 
> http://jakarta.apache.org/tomcat/connectors-doc/jk2/jk2/instal
> lhowto.htm
> l
> 
> Perhaps this is a problem with your Jspisapi filter. Try changing to 
> JK2.
> 
> You do not need JCIFS since IIS will automatically put the Windows 
> authenticated user into the request.
> 
> ADC.
> 
> > -Original Message-
> > From: Aris Javier [mailto:[EMAIL PROTECTED]
> > Sent: 01 September 2004 11:47
> > To: Tomcat Users List
> > Subject: RE: Why request.getRemoteUser() returns NULL ?
> > 
> > 
> > im using tomcat5.0.25 and IIS via Jspisapi filter...
> > 
> > are you using jcifs in your authentication to get
> > request.getRemoteUser() to work?
> > 
> > i tried removing tomcatAuthentication="false" in server.xml
> but to no
> > avail. it still fails. =|
> > 
> > by changing the jk2.properties file, i don't need to include jcifs
> > filter in web.xml?
> > 
> > -Original Message-
> > From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 01, 2004 6:24 PM
> > To: Tomcat Users List
> > Subject: RE: Why request.getRemoteUser() returns NULL ?
> > 
> > 
> > remove the tomcatAuthentication="false" attributes from
> server.xml and
> 
> > use only jk2.properties? we do not have
> tomcatAuthentication="false"
> > in the server.xml and it works that way. are you connecting via a 
> > webserver? are you using AJP?
> > 
> > ADC
> > 
> > > -Original Message-
> > > From: Aris Javier [mailto:[EMAIL PROTECTED]
> > > Sent: 01 September 2004 10:26
> > > To: Tomcat Users List
> > > Subject: RE: Why request.getRemoteUser() returns NULL ?
> > > 
> > > 
> > > i removed the comment, but still request.getRemoteUser()
> > returns NULL.
> > 
> > > =|
> > > 
> > > here's my server.xml;
> > > 
> > >> > className="org.apache.catalina.mbeans.ServerLifecycleListener"
> > > debug="0"/>
> > >> > className="org.apache.catalina.mbeans.GlobalResourcesLifecycle
> > > Listener"
> > > debug="0"/>
> > > 
> > >   
> > >   
> > > 
> > > 
> > >  > > value="30"/>
> > > 
> > > 
&

SOLVED! RE: Why request.getRemoteUser() returns NULL ?

2004-09-02 Thread Aris Javier
I found it!

Thanks to Akash Kava.. 

to get User: request.getHeader("IIS-REMOTE-USER");
to get Host: request.getHeader("IIS-REMOTE-ADDR");

if you're using Tomcat+IIS thru jspisapi filter.. 
it make use of NTLM authentication...

no need for jcifs filter.. no need to change server.xml or web.xml or
jk2.properties...

Thanks Akash!!!

Also watch out for JWEBEX (JWX)... it will replace JSP...
It has features of .NET!
Fast coding, auto login, auto integration with IIS, it will replace jsp,

it can be used with existing tomcat without any new changes

yes! go JAVA!



-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 7:14 PM
To: Tomcat Users List
Subject: RE: Why request.getRemoteUser() returns NULL ?


Hi,

Ah! tomcatAuthentication=false is configured in JK2 which is what I am
using - JK2 ISAPI filter for IIS ...

http://jakarta.apache.org/tomcat/connectors-doc/jk2/jk2/installhowto.htm
l

Perhaps this is a problem with your Jspisapi filter. Try changing to
JK2.

You do not need JCIFS since IIS will automatically put the Windows
authenticated user into the request. 

ADC.

> -Original Message-
> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2004 11:47
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> im using tomcat5.0.25 and IIS via Jspisapi filter...
> 
> are you using jcifs in your authentication to get
> request.getRemoteUser() to work?
> 
> i tried removing tomcatAuthentication="false" in server.xml but to no 
> avail. it still fails. =|
> 
> by changing the jk2.properties file, i don't need to include jcifs 
> filter in web.xml?
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 6:24 PM
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> remove the tomcatAuthentication="false" attributes from server.xml and

> use only jk2.properties? we do not have tomcatAuthentication="false" 
> in the server.xml and it works that way. are you connecting via a
> webserver? are you using AJP?
> 
> ADC
> 
> > -Original Message-
> > From: Aris Javier [mailto:[EMAIL PROTECTED]
> > Sent: 01 September 2004 10:26
> > To: Tomcat Users List
> > Subject: RE: Why request.getRemoteUser() returns NULL ?
> > 
> > 
> > i removed the comment, but still request.getRemoteUser()
> returns NULL.
> 
> > =|
> > 
> > here's my server.xml;
> > 
> >> className="org.apache.catalina.mbeans.ServerLifecycleListener"
> > debug="0"/>
> >> className="org.apache.catalina.mbeans.GlobalResourcesLifecycle
> > Listener"
> > debug="0"/>
> > 
> >   
> >   
> > 
> > 
> >  > value="30"/>
> > 
> > 
> >  >   type="org.apache.catalina.UserDatabase"
> >description="User database that can be updated and saved">
> > 
> > 
> >   
> > factory
> >  
> > org.apache.catalina.users.MemoryUserDatabaseFactory
> >   
> >   
> > pathname
> > conf/tomcat-users.xml
> >   
> > 
> > 
> >   
> >   
> >> maxSpareThreads="75"
> >enableLookups="false" redirectPort="8443" 
> > acceptCount="100"
> >debug="0" connectionTimeout="2" 
> >disableUploadTimeout="true"
> > tomcatAuthentication="false"
> > />
> > 
> >>enableLookups="false" redirectPort="8443" debug="0"
> >protocol="AJP/1.3" tomcatAuthentication="false" />
> > 
> > 
> >>   prefix="catalina_log." suffix=".txt"
> >   timestamp="true"/>
> >>  debug="0" resourceName="UserDatabase"/>
> > 
> >>unpackWARs="true" autoDeploy="true"
> >xmlValidation="false" xmlNamespaceAware="false">
> > 
> >  >  directory="logs"  prefix="localhost_log." 
> > suffix=".txt"
> > timestamp=

j2sdk and j2sdkee, which one?

2004-09-01 Thread Aris Javier
Good Morning!
 
im confused, i have j2sdk1.4.1 and j2sdkee1.3..
 
in running my web app which is jsp/servlet designed...
can i remove j2sdk1.4.1 in my system? or it is still necessary to
have them both installed?
 
thanks 
aris


RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
im using tomcat5.0.25 and IIS via Jspisapi filter... 

are you using jcifs in your authentication to get
request.getRemoteUser() to work?

i tried removing tomcatAuthentication="false" in server.xml but to no
avail. it
still fails. =|

by changing the jk2.properties file, i don't need to include jcifs
filter in web.xml? 

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 6:24 PM
To: Tomcat Users List
Subject: RE: Why request.getRemoteUser() returns NULL ?


remove the tomcatAuthentication="false" attributes from server.xml and
use only jk2.properties? we do not have tomcatAuthentication="false" in
the server.xml and it works that way. are you connecting via a
webserver? are you using AJP?

ADC

> -----Original Message-
> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2004 10:26
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> i removed the comment, but still request.getRemoteUser() returns NULL.

> =|
> 
> here's my server.xml;
> 
>className="org.apache.catalina.mbeans.ServerLifecycleListener"
> debug="0"/>
>className="org.apache.catalina.mbeans.GlobalResourcesLifecycle
> Listener"
> debug="0"/>
> 
>   
>   
> 
> 
>  value="30"/>
> 
> 
>type="org.apache.catalina.UserDatabase"
>description="User database that can be updated and saved">
> 
> 
>   
> factory
>  
> org.apache.catalina.users.MemoryUserDatabaseFactory
>   
>   
> pathname
> conf/tomcat-users.xml
>   
> 
> 
>   
>   
>maxSpareThreads="75"
>enableLookups="false" redirectPort="8443" 
> acceptCount="100"
>debug="0" connectionTimeout="2" 
>disableUploadTimeout="true"
> tomcatAuthentication="false"
> />
> 
>   enableLookups="false" redirectPort="8443" debug="0"
>protocol="AJP/1.3" tomcatAuthentication="false" />
> 
> 
>  prefix="catalina_log." suffix=".txt"
>   timestamp="true"/>
> debug="0" resourceName="UserDatabase"/>
> 
>   unpackWARs="true" autoDeploy="true"
>xmlValidation="false" xmlNamespaceAware="false">
> 
>   directory="logs"  prefix="localhost_log."
> suffix=".txt"
> timestamp="true"/>
> 
>  reloadable="true"
> crossContext="true">
>className="org.apache.catalina.logger.FileLogger"
>prefix="localhost_eqms_log." suffix=".txt"
>timestamp="true"/>
> 
>   auth="Container"
>type="javax.sql.DataSource"/>
> 
>   
>   
>   factory
>  
> org.apache.commons.dbcp.BasicDataSourceFactory
>   
> 
>   
>   
>   maxActive
>   100
>   
> 
>   
>   
>   maxIdle
>   30
>   
> 
>   
>   
>   maxWait
>   1
>   
> 
>   
>       
>   
>driverClassName
>sun.jdbc.odbc.JdbcOdbcDriver
>   
> 
>   
>   
>   url
>   jdbc:odbc:EQMS_DS
>
>   
> 
>  
>   
> 
> 
> 
>   
> 
> 
> 
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 5:09 PM
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> you have
> 
> # request.tomcatAuthentication=false
> 
> which means that line is commented out and not used. Change it to
> 
> request.tomcatAuthentication=false
> 

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
hello! 
removing what? 

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 6:23 PM
To: Tomcat Users List
Subject: RE: Why request.getRemoteUser() returns NULL ?


try removing the


Allistair Crossley
New Media Group, QAS Ltd
Telephone: 020 7819 5343

> -Original Message-
> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2004 10:26
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> i removed the comment, but still request.getRemoteUser() returns NULL.

> =|
> 
> here's my server.xml;
> 
>className="org.apache.catalina.mbeans.ServerLifecycleListener"
> debug="0"/>
>className="org.apache.catalina.mbeans.GlobalResourcesLifecycle
> Listener"
> debug="0"/>
> 
>   
>   
> 
> 
>  value="30"/>
> 
> 
>type="org.apache.catalina.UserDatabase"
>description="User database that can be updated and saved">
> 
> 
>   
> factory
>  
> org.apache.catalina.users.MemoryUserDatabaseFactory
>   
>   
> pathname
> conf/tomcat-users.xml
>   
> 
> 
>   
>   
>maxSpareThreads="75"
>enableLookups="false" redirectPort="8443" 
> acceptCount="100"
>debug="0" connectionTimeout="2" 
>disableUploadTimeout="true"
> tomcatAuthentication="false"
> />
> 
>   enableLookups="false" redirectPort="8443" debug="0"
>protocol="AJP/1.3" tomcatAuthentication="false" />
> 
> 
>  prefix="catalina_log." suffix=".txt"
>   timestamp="true"/>
> debug="0" resourceName="UserDatabase"/>
> 
>   unpackWARs="true" autoDeploy="true"
>xmlValidation="false" xmlNamespaceAware="false">
> 
>   directory="logs"  prefix="localhost_log."
> suffix=".txt"
> timestamp="true"/>
> 
>  reloadable="true"
> crossContext="true">
>className="org.apache.catalina.logger.FileLogger"
>prefix="localhost_eqms_log." suffix=".txt"
>timestamp="true"/>
> 
>   auth="Container"
>type="javax.sql.DataSource"/>
> 
>   
>   
>   factory
>  
> org.apache.commons.dbcp.BasicDataSourceFactory
>   
> 
>   
>   
>   maxActive
>   100
>   
> 
>   
>   
>   maxIdle
>   30
>   
> 
>   
>   
>   maxWait
>   1
>   
> 
>   
>   
>   
>driverClassName
>sun.jdbc.odbc.JdbcOdbcDriver
>   
> 
>   
>   
>   url
>   jdbc:odbc:EQMS_DS
>
>   
> 
>  
>   
> 
> 
> 
>   
> 
> 
> 
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 5:09 PM
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> you have
> 
> # request.tomcatAuthentication=false
> 
> which means that line is commented out and not used. Change it to
> 
> request.tomcatAuthentication=false
> 
> ADC
> 
> > -Original Message-
> > From: Aris Javier [mailto:[EMAIL PROTECTED]
> > Sent: 01 September 2004 10:00
> > To: Tomcat Users List
> > Subject: RE: Why request.getRemoteUser() returns NULL ?
> > 
> > 
> > i added request.tomcatAuthentication=false inside jk2.properties... 
> > and set
> > windows integrated authentication on my website.
> > 
> > but still... request.getRemoteUser() re

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
i removed the comment, but still request.getRemoteUser() returns NULL.
=|

here's my server.xml;

  
  

  
  








  
factory
 
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  
  
  

  


  
  

  




  

  

  
  
  factory
 
org.apache.commons.dbcp.BasicDataSourceFactory
  

  
  
  maxActive
  100
  

  
  
  maxIdle
  30
  

  
  
  maxWait
  1
  

  
  
  
   driverClassName
   sun.jdbc.odbc.JdbcOdbcDriver
  

  
  
  url
  jdbc:odbc:EQMS_DS
   
  

 
  



  




-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 5:09 PM
To: Tomcat Users List
Subject: RE: Why request.getRemoteUser() returns NULL ?


you have

# request.tomcatAuthentication=false

which means that line is commented out and not used. Change it to

request.tomcatAuthentication=false

ADC

> -Original Message-
> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2004 10:00
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> i added request.tomcatAuthentication=false inside
> jk2.properties... and
> set
> windows integrated authentication on my website.
> 
> but still... request.getRemoteUser() returns NULL... =|
> 
> here's my jk2.properties file;
> 
> ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED 
> ## WHEN YOU EDIT THE FILE.
> 
> ## COMMENTS WILL BE _LOST_
> 
> ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
> 
> # Set the desired handler list
> # handler.list=apr,request,channelJni
> #
> # Override the default port for the socketChannel
> # channelSocket.port=8019
> # Default:
> # channelUnix.file=${jkHome}/work/jk2.socket
> # Just to check if the the config  is working
> # shm.file=${jkHome}/work/jk2.shm
> 
> # In order to enable jni use any channelJni directive
> # channelJni.disabled = 0
> # And one of the following directives:
> 
> # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
> 
> # If set to inprocess the mod_jk2 will Register natives itself # This 
> will enable the starting of the Tomcat from mod_jk2 # 
> apr.jniModeSo=inprocess
> 
> # request.tomcatAuthentication=false
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 4:21 PM
> To: Tomcat Users List
> Subject: RE: Why request.getRemoteUser() returns NULL ?
> 
> 
> we do it by adding
> 
> request.tomcatAuthentication=false
> 
> into tomcat/conf/jk2.properties
> 
> if you are using IIS then you also need to set Windows Integrated 
> Authentication on your default website.
> 
> ADC
> 
> > -Original Message-
> > From: Aris Javier [mailto:[EMAIL PROTECTED]
> > Sent: 01 September 2004 08:04
> > To: [EMAIL PROTECTED]
> > Subject: Why request.getRemoteUser() returns NULL ?
> > 
> > 
> > i found this in jguru...
> >  
> >  > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
> > redirectPort=" 8443" tomcatAuthentication="false">
> >  
> > it stated there that if i do this in server.xml,
> > request.getRemoteUser()
> > will not equal to NULL.. ?
> >  
> > i did, but request.getRemoteUser() returns NULL
> >  
> > please, anybody.. do you know how to get request.getRemoteUser() to
> > work?
> >  
> > i need it badly! please!
> >  
> > aris
> >  
> >  
> > 
> 
> 
> 
> ---
> QAS Ltd.
> Developers of QuickAddress Software
> http://www.qas.com";>www.qas.com
> Registered in England: No 2582055
> Registered in Australia: No 082 851 474
> ---
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Aris Javier
i added request.tomcatAuthentication=false inside jk2.properties... and
set
windows integrated authentication on my website.

but still... request.getRemoteUser() returns NULL... =|

here's my jk2.properties file;

## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess

# request.tomcatAuthentication=false

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 4:21 PM
To: Tomcat Users List
Subject: RE: Why request.getRemoteUser() returns NULL ?


we do it by adding 

request.tomcatAuthentication=false

into tomcat/conf/jk2.properties

if you are using IIS then you also need to set Windows Integrated
Authentication on your default website.

ADC

> -Original Message-
> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2004 08:04
> To: [EMAIL PROTECTED]
> Subject: Why request.getRemoteUser() returns NULL ?
> 
> 
> i found this in jguru...
>  
>  protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
> redirectPort=" 8443" tomcatAuthentication="false">
>  
> it stated there that if i do this in server.xml,
> request.getRemoteUser()
> will not equal to NULL.. ?
>  
> i did, but request.getRemoteUser() returns NULL
>  
> please, anybody.. do you know how to get request.getRemoteUser() to 
> work?
>  
> i need it badly! please!
>  
> aris
>  
>  
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Why request.getRemoteUser() returns NULL ?

2004-08-31 Thread Aris Javier
i found this in jguru...
 
 
 
it stated there that if i do this in server.xml, request.getRemoteUser()
will not equal to NULL.. ?
 
i did, but request.getRemoteUser() returns NULL 
 
please, anybody.. do you know how to get request.getRemoteUser() to
work?
 
i need it badly! please!
 
aris
 
 


RE: how to get user login?

2004-08-30 Thread Aris Javier
when i use request.getRemoteUser(), it returns null value.

I don't see GenericPrincipal, only GenericCredential interface in API.

what i want to do is get first the login username then verify it in
active directory if it exists...

thanks 

-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 31, 2004 9:48 AM
To: 'Tomcat Users List'
Subject: RE: how to get user login?


That is really an opened ended question. Are you talking about getting
the username and password if you use SingleSignOn? If so then you would
do
request.getUserPrincipal() cast it to a GenericPrincipal and do a
getName and getPassword. If you are using a roll your own then just have
your JSP handle it? Or are you specifically looking for the
ActiveDirectory hook to tie SingleSignOn into Tomcat? Sorry, I raised
more questions.

Keith

-Original Message-----
From: Aris Javier [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 30, 2004 7:25 PM
To: [EMAIL PROTECTED]
Subject: how to get user login?


Hello!
 
Is there a way to get the user login of a client in windows using
JSP/Servlet?
 
I'm working on something, i want to get the user login of a 
client and verify it in Active Directory.
 
Thanks in advance!
aris
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to get user login?

2004-08-30 Thread Aris Javier
Hello!
 
Is there a way to get the user login of a client in windows
using JSP/Servlet?
 
I'm working on something, i want to get the user login of a 
client and verify it in Active Directory.
 
Thanks in advance!
aris
 


RE: SOLVED: How to get the context path for a web application?

2004-08-10 Thread Aris Javier
that's me! =)
it's nice to be of service... 

welcome!

aris

-Original Message-
From: Dov Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 11, 2004 1:23 AM
To: Tomcat Users List
Subject: SOLVED: How to get the context path for a web application?


Someone on the list suggested Request.getContextPath() and it works like
a charm. Thanks to all.



On 8/10/04 1:06 PM, "David Wall" <[EMAIL PROTECTED]> wrote:

>> A ServletConfig reference is passed in the call to the init() method 
>> of
> your
>> servlet. From this you may use the getServletContext() method to get 
>> the context. One thing to remember is that this does not get called 
>> until the servlet is initialized and would be invalidated when it is 
>> destroyed. I
> suggest
>> you check the API docs for more information.
> 
> But do any of those return the context path?  I didn't see it anywhere

> in the javadocs.
> 
> David
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: accessing a database ...

2004-08-10 Thread Aris Javier
what is the error message?
are you running tomcat as a service?

-Original Message-
From: Vassilis Atlamazoglou [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 10, 2004 4:45 PM
To: Tomcat Users List
Subject: Re: accessing a database ...


Aris, 

I deleted user dsn but it didn't change anything!!!

Vassilis




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: accessing a database ...

2004-08-10 Thread Aris Javier
conflict arises when you use tomcat as a service and declared both user
and system dsn..
system dsn should prevail. delete user dsn.



-Original Message-
From: Vassilis Atlamazoglou [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 10, 2004 4:33 PM
To: Tomcat Users List
Subject: accessing a database ...


Hi,
I have a database in MS Access which has a system DSN (and a user DSN)
in ODBC Data Source Administrator of Windows XP. I can access the data
with
  Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
  Connection c = DriverManager.getConnection("jdbc:odbc:odbc_exmp");

with a simple executable java file. But I cannot have access  with the a
simple servlet via tomcat.

BUT when I changed to
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

Connection
c=DriverManager.getConnection("jdbc:odbc:Driver={Microsoft
Access Driver (*.mdb)};DBQ=C:\\vatlam\\db\\odbc_exmp.mdb");

IT WORKED!

What might be the problem?
AND ESPECIALLY what I must change in order to access a MS SQL database.

Thank you very much in advance for your help!


Vassilis

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to get the context path for a web application?

2004-08-09 Thread Aris Javier
also,

request.getContextPath();

aris

-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 10, 2004 12:10 PM
To: 'Tomcat Users List'
Subject: RE: How to get the context path for a web application?


Have you tried ?

request.getServletPath();

Keith

-Original Message-
From: Dov Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 9:49 PM
To: Tomcat Users List
Subject: How to get the context path for a web application?


I need to find a way to get the context path of the current web
application. I would like to to it using the HttpSession,
HttpServletRequest or response. I tried the
ServletContext.getServletContextName but it returns null in Tomcat. Is
there a cross container solution?


-- 
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Connecting to MS Access DB

2004-08-02 Thread Aris Javier
Hello!

got the same error before.. please check if you have declared "User DSN"
and "System DSN" at the same time.. if you do, then delete your "User
DSN". Only "System DSN" should prevail.

-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 03, 2004 12:02 AM
To: Tomcat Users List
Subject: Re: Connecting to MS Access DB


Khalid,

Search the list...  You will see that Windows 2000/2003/XP services need
to 
know how to "log into" any data bases in order to access them.  One of
the 
biggest problems with services is accessing "mapped" files or files that

require "user permissions."  It is unfortunate, but a fact of life on
Windows 
2000/2003 and XP.

Just a thought...  Can you use the "personal" version of SQL Server
2000/2003 
instead of Access?  I believe Tomcat service will access this just fine.

Same with MySQL and Postgres SQL.

Bob

On Monday 02 August 2004 11:51 am, Muhammad Khalid Sohail Khan wrote:
> hi,
>
> now I have created a "System DSN", its works in the
> sense that now there is no ODBC or data source name
> error, but now I am getting the  following exception.
>
> "org.apache.commons.dbcp.SQLNestedException:
> Cannot create PoolableConnectionFactory (General error)"
>
> everything works fine when I run tomcat not as service (I am using 
> win2k). But I want to run it as service..
>
> any idea?
>
> Khalid
> University of Duisburg
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Connecting to MS Access DB

2004-08-01 Thread Aris Javier

Did you make your DSN as "System DSN" ?
Don't make your DSN inside "User DSN" when running
Tomcat as a service...

I've been using Tomcat and Access under win2k... and don't
have problems...

-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 02, 2004 3:18 AM
To: Tomcat Users List
Subject: Re: Connecting to MS Access DB


Muhammad Khalid Sohail Khan wrote:
> Hi everybody,
> I am a student and new to tomcat. I want to use simple database under
> MS Access. I have written a simple servlet, which just insert some 
> data into table. But I am getting following exception
> "org.apache.commons.dbcp.SQLNestedException: Cannot create
> PoolableConnectionFactory ([Microsoft][ODBC Driver Manager] Data
source name
> not found and no default driver specified) "
> (just console, main[]) and the connection is successful. I use the
exact
> same DriverManager Connection strings but it fails when going thru the
> Servlet engine in Tomcat.
>  Could somebody help me, I am struggling for last many days..
> Thanks in advance.
> following is the code which I am using to get connection
> InitialContext initCtx = new InitialContext();
> DataSource ds = (DataSource)
initCtx.lookup("java:comp/env/jdbc/Address");
> con = ds.getConnection();
> Here is my configuration
> Server.xml
> 
> 
> 
> 
> driverClassName
> sun.jdbc.odbc.JdbcOdbcDriver
> 
> 
> url
> jdbc:odbc:Address
> 
> 
> username
> student
> 
> 
> password
> student
> 
> 
> maxActive
> 20
> 
> 
> maxIdle
> 3
> 
> 
> maxWait
> 100
> 
> 
> 
> and
> web.xml
> 
> jdbc/Address
> javax.sql.DataSource
> Container
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

Do some searching in the archives.  Myself and others have talked about 
this to people at different times.  Try running tomcat not as a service,

but as a standalone application and you'll find that it will work for 
you, so it deals with a security setting some where on your computer.  I

assume this is on a 2000/XP machine.  You may have to give access to 
some registry entries to the user the service is running as for this to 
work properly.  Anyways, it's a security issue in one way or another or 
it's a path related issue (the user the service is running as doesn't 
have all the paths needed for some native libs or something).  Try 
adding the user the service is running as to all the directories under 
tomcat recursively, possibly some registry entries, and possibly some 
dll's for the access database drivers.

Wade


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: DataSource

2004-07-28 Thread Aris Javier

Hello!

just restart tomcat and your done... =)

aris

-Original Message-
From:   Bussie, Andre D [mailto:[EMAIL PROTECTED]
Sent:   Wed 7/28/2004 9:35 PM
To: [EMAIL PROTECTED]
Cc: 
Subject:DataSource
By adding the  tag to the web.xml and including the
 tag in the Context of the server.xml it allieviated the
issues of the datasource not bound to the Context. However, I received
another error listed below

 

2004-07-28 08:59:49 StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception

org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null', cause: 

java.lang.NullPointerException

 

This is puzzling because I have established a connection to the database
through the struts framework. 

 

Any suggestions on why I received this error

 

 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Java Class is not compiling

2004-07-27 Thread Aris Javier
You should download j2sdkee version or the enterprise version of
java.. 

=)

-Original Message-
From: Nitschke Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 27, 2004 3:30 PM
To: Tomcat Users List
Subject: RE: Java Class is not compiling


It seams you are new to Java too.
The error messages say that the compiler could not find the jar file
javax.jar, or servlet.jar depends on your java version. The package
statement at the first line is necessary to group java classes in
domains that have the same functionality or fit tematiclly together.
Like 
com.company.database  // all database relevant classes
com.company.gui // all gui relevant classes.

Furthermore i would recommend that you read a javabook or take the java
trial at java.sun.com, it imparts the basics of java and some higher
approaches.

mfg
Michael Nitschke
-Original Message-
From: Sayeed [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 27, 2004 9:19 AM
To: Tomcat Users List
Subject: Java Class is not compiling

Sir
I am new to Tomcat.
I am now making my first Servlet and trying to creat a class (sayeed).
It give me errors as under :

C:\Apache\Tomcat\webapps\ch03\myfirstwebapp>javac sayeed.java
sayeed.java:5: package javax.servlet.http does not exist
import javax.servlet.http.HttpServlet;
  ^
sayeed.java:6: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;

---
Also another thing what is the PACKAGE which have to write in first line
of my servlet(sayeed):

package com.wrox.projsp.ch03.myfirstwebapp;

Can anyone please help me in detail. I have however downloaded Javax
directory from sun.java.com- where this directory i have to put? i am
using j2sdk1.4.2.

Thanx in advance.

Saeed


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Who knows about ISAPI?

2004-07-26 Thread Aris Javier
Hello!

i bought JSPISAPI from neurospeech
It works! with minimal settings in IIS...

Very convenient! =)

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 27, 2004 2:06 AM
To: Tomcat Users List
Subject: RE: Who knows about ISAPI?



Hi,
You're not bothering anyone, don't worry.  I myself am far from an ISAPI
or connector guru thankfully (it's not something I want to know better),
but I do add references and links that you'd find of interest to this
page every now and then:
http://wiki.apache.org/jakarta-tomcat/Tomcat/Links.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Frank Febbraro [mailto:[EMAIL PROTECTED]
>Sent: Monday, July 26, 2004 11:49 AM
>To: tomcat
>Subject: Who knows about ISAPI?
>
>Hey everyone.
>
>I have quite a few ISAPI Redirector2 / JK2 Connector issues/questions
that
>seem to go unanswered. I am assuming that it is generally because
people
>have no idea either what is going wrong, or why, or how to fix it.
>
>I was just wondering who on this list is the ISAPI and/or JK2 guru? And
if
>anyone has had any success finding help on Google or elsewhere? Are
there
>any links or external resources anyone would recommend? I, obviously,
would
>rather not have to bother anyone here but I am in a pinch and need to
get
>some things figured out.
>
>Thanks and sorry to bother,
>Frank



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Newbie Question

2004-07-25 Thread Aris Javier

Yes! two different machines...
I will name it as machine 1 and machine 2...

machine 1 and machine 2 both have CES_DS datasource name
declared.. MS Access DB resides inside machine 2... so machine
2 does not have any problems.. while machine 1 have problems
connecting to MS Access DB inside machine 2...

if Sun's jdbc:odbc:CES_DS connection is wrong for machine 1 then
what connection will i use?

Machine 1 have Exchange Server while Machine 2 have Sharepoint Server...
just for info...

Please Help Me!!! 

-Original Message-
From:   Dave Bender [mailto:[EMAIL PROTECTED]
Sent:   Fri 7/23/2004 9:11 PM
To: Tomcat Users List
Cc: 
Subject:RE: Newbie Question
Can you provide some more detail?  When you say you're running two servers accessing 
an Access database, do you mean two different machines or just different server 
instances on the same machine?  

If you're trying to access Access from a different machine, you may have to use a 
different jdbc driver.  I don't think the Sun jdbc:odbc driver can reach a data source 
running on a different machine.

Dave

-Original Message-----
From: Aris Javier [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 4:55 AM
To: Tomcat Users List
Subject: Newbie Question


Hello!

This is a newbie question... =)

I have two servers running accessing single MS Access database

I used jdbc:odbc:CES_DS in server.xml

CES_DS is the data source name I used for both servers... pointing
to MS Access DB...

However this error occurs...

org.apache.commons.dbcp.DbcpException: java.sql.SQLException:
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid
path.  Make sure that the path name is spelled correctly and that you
are connected to the server on which the file resides.

How to access a single database using two servers using DSN
connection...?

Please Help!

Thanks a lot!

aris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Newbie Question

2004-07-23 Thread Aris Javier
Hello!

This is a newbie question... =)

I have two servers running accessing single MS Access database

I used jdbc:odbc:CES_DS in server.xml

CES_DS is the data source name I used for both servers... pointing
to MS Access DB...

However this error occurs...

org.apache.commons.dbcp.DbcpException: java.sql.SQLException:
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid
path.  Make sure that the path name is spelled correctly and that you
are connected to the server on which the file resides.

How to access a single database using two servers using DSN
connection...?

Please Help!

Thanks a lot!

aris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Where is the Real JAVAHOME?

2004-07-16 Thread Aris Javier
Hello!

I'm confused... I installed j2sdk1.4.1 in my D drive..
D:\j2sdk1.4.1

But when i take a look at my C drive under program files..
there is C:\program files\java\j2re1.4.1

Both includes \lib and \bin folders... 

Which of those two directories is the JAVAHOME?

Thanks!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Running Tomcat as service on Win2000 Server

2004-07-14 Thread Aris Javier
Hello!

Can anybody tell me how to run Tomcat 5.0.25 as a SERVICE on
windows 2000 server?

Please in step by step explanation... 

Thanks a lot!!!

-Original Message-
From: Birt, Jeffrey [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 15, 2004 5:28 AM
To: Tomcat Users List
Subject: RE: Running Tomcat as service on Win2003 Server


Web Edition will not run any 'Enterprise' Applications (from MS at
least).  I've tried SQL 2000 with no luck.  

Jeff Birt
Electronics Engineer
Integrated Systems Facility
University of Missouri - Rolla
573.341.6058 


-Original Message-
From: Ty Mercer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 14, 2004 2:50 PM
To: Tomcat Users List
Subject: Re: Running Tomcat as service on Win2003 Server

wha  The actual limitations are max number of cpu's, disk size and
memory, not applications.

I have no issues with any type of program not loading on a web edition
install of 2k3 over one of Standard or Enterprise 2k3.

The error log that Tomcat generates is going to provide more information
that the windows Event log.

I have tomcat running on several 2k3 web editon servers just fine, yet
they are running with apache and not IIS (they are running as services
though).

Can you provide some more info on your configuration to assist in
troubleshooting?

On Wed, 14 Jul 2004 12:25:04 -0500, Birt, Jeffrey <[EMAIL PROTECTED]> wrote:
> What version of Win2003 sever are you running, Standard, Web Edition?
> 
> Web edition is made only to serve web pages.  Some software won't even

> LOAD on it.
> 
> Jeff Birt
> Electronics Engineer
> Integrated Systems Facility
> University of Missouri - Rolla
> 573.341.6058
> 
> 
> 
> -Original Message-
> From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 14, 2004 11:03 AM
> To: 'Tomcat Users List'
> Subject: Running Tomcat as service on Win2003 Server
> 
> Hello,
> 
> I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server

> with IIS 6.
> 
> The service will start and stop right away.
> 
> Looking into the event viewer, the log indicated that Tomcat failed to

> start.
> 
> Could anyone tell me what's wrong?  We have the same version of Tomcat

> running fine on Win2K server.
> 
> Thanks very much.
> 
> Bao-Ha Dam Bui
> 
> *
> This communication may contain information that is proprietary, 
> privileged, confidential or legally exempt from disclosure.  If you 
> are not a
named
> addressee, you are notified that you are not authorized to read,
print,
> retain, copy or disseminate this communication without the consent of 
> the sender and that doing so may be unlawful. If you have received 
> this communication in error, please notify the sender via return 
> e-mail and delete it from your computer. Thank you. St. Jude Medical, 
> Inc.
> *
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JasperException

2004-07-13 Thread Aris Javier
have you tried copying tools.jar inside tomcat\common\lib folder?

just a thought!

-Original Message-
From: Avula, Srini [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 13, 2004 5:43 PM
To: [EMAIL PROTECTED]
Subject: JasperException


Hi

After we deployed application in tomcat we got this error: (However the
deployment done successfully in oracle 10G OC4J Server and works fine).

org.apache.jasper.JasperException: Unable to compile class for JSP An
error occurred at line: 135 in the jsp file: sri/eEntries.jsp Generated
servlet error: [javac] Compiling 1 source file C:\Apache Software
Foundation\Tomcat
5.0\work\Catalina\localhost\eaqa_systest\org\apache\jsp\ear\candidate\Ca
ndidateEntries_jsp.java:1039: cannot resolve symbol symbol : method
setValue (java.lang.Object) location: class
org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_0.setValue(
yearRow.getAttribute("Formattedyear") 

It seems as though using scriptlets within the struts logic tags is
causing the problem under Tomcat, any suggestions?

 

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Integrating Tomcat and IIS

2004-07-08 Thread Aris Javier
JspISAPI Filter... you can download the said filter
in neurospeech.com... 

=)



-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 08, 2004 11:21 PM
To: Tomcat Users List
Subject: RE: Integrating Tomcat and IIS


And what do you have to offer this list as help for the person asking
the question?

-Original Message-
From: Aris Javier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 7:57 PM
To: Tomcat Users List
Subject: RE: Integrating Tomcat and IIS


I SUCCESSFULLY INTEGRATE TOMCAT 5 WITH IIS... =)
SIMPLE AND EASY!
aris

-Original Message-
From: Tom Burke [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 07, 2004 9:42 PM
To: Tomcat Users List
Subject: Integrating Tomcat and IIS


I sent a long email to the list on Tuesday asking for help with problems
I'm having intergating Tomcat with IIS. Sadly, there were no replies. My
email was rather long - lots of examples, config file extracts, etc - so
maybe recipients found it hard to digest.

So I'll recast it as a shorter request: is there anyone on the list who
has succeeded in integrating Tomcat (4 or 5) with IIS (5 or 6)? If so,
are there any tips you can pass on? Any problems you experienced and
overcame? And if anyone else has had problems and *not* been able to
overcome them, what were they?

Incidentally, I was following this set of instructions:
https://www.rit.edu/~ack5504/tomcat-iis6-howto/narantugs-sengee-guide.ht
ml

Tom Burke


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: OT? Netbeans v Eclipse v Visual Age for Java

2004-07-07 Thread Aris Javier
i've been using eclipse for a long time.. it's a great IDE...
as for Netbeans... i did install it.. but never use it because 
of HUGE memory allocation...

stayed with eclipse... =) 

-Original Message-
From: Sternbergh, Cornell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 08, 2004 12:50 AM
To: Tomcat Users List
Subject: OT? Netbeans v Eclipse v Visual Age for Java


Hi

Saw the references to Eclipes, and then Netbeans.  I know that this may
be a bit off topic, please forgive me...

We use Visual Age for Java (VAJ) at work, with Websphere app server and
Domino HTTP server (don't ask why;-).  I'm planning on using
Tomcat/Eclipse at home as an exercise for the student.  I'd like the IDE
to be similar to VAJ, so my experience is more useful at work.

What about Netbeans, is it similar enough to VAJ or Eclipse that what I
learn from it will be applicable?  As far as programming in Java is
concerned, any number of things could be used.  I'd like to have project
structure, HTML/JSP/Java file storage, packaging, deploying, etc. to be
fairly similar.  As well as basic debugging techniques.

Thank you for your patience
Cornell Sternbergh




-Original Message-
From: Kunthar [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 05, 2004 05:27
To: Tomcat Users List
Subject: Re: Sysdeo, Eclipse, Tomcat


A better way to test JSP's at runtime is using Netbeans.
To do this, you should have total control over your server as
root/admin. 1. Install Netbeans to server. www.netbeans.org 2.
Installation of Tomcat + Ant (necessary jars + Apache httpd etc.) should
be ready. 3. When you run Netbeans from your Linux client woila, you got
Netbeans working on your 
local comp by strong Xserver abilities. If you sadly use Windoze try VNC
Server-Client and do not call me :=) 4. Since Netbeans has its own HTTP
Monitor you can see all passing parameters to Tomcat. This is quite
good. 5. You can add break points, evaluate values and see whats up
really at runtime as you do in other IDEs. 
6. Eclipse is good but as far as i compare Netbeans, Eclipse and
IntelliJ, Netbeans hits.

Final Note: 90% percent of the compilation errors are arising from the
ignorance of programmer. Sometimes it is better to spend time for
reading then spend time for trying to find a good debugger. 
I was using holly Homesite before i totally moved to Linux several days
ago :=)

Take care all,

Gokhan



Harry Mantheakis wrote:

>Hello
>
>
>  
>
>>Should I be able to set a breakpoint normally in a servlet?
>>
>>
>
>
>Yes, as long as you have started Tomcat using the Sysdeo plugin (from
within
>Eclipse).
>
>
>  
>
>>How do I set a breakpoint in JSP?
>>
>>
>
>
>AFAIK that is not possible, at least not with the Sysdeo plugin.
Something
>like the 'MyEclipse' plugin might be able to help you there, though
that is
>a commercial plugin which you can test for a month or so.
>
>
>  
>
>>Where is my source (and binaries) supposed to be?
>>
>>
>
>
>Source can be anywhere you like - as long as Eclipse knows where it is,
and
>can compile your project, the (servlet and object) debugging will work.
>
>Binaries go in WEB-INF/classes. It is safer to *package* your classes,
BTW.
>
>I cannot help with the other two miscellaneous questions, though I do
not
>think you need be concerned with the Tomcat 'base' attribute if you
have a
>simple setup, and again, to begin with at least, I do not think you
need be
>concerned with JVM settings. (There are several JVM settings that you
have
>to consider on a production server, but that is another story.)
>
>My solution to debugging JSPs is not to put any code in them at all (!)
>
>I do everything with custom tags, which of course, are just objects
that can
>debugged in the usual way.
>
>Good luck!
>
>Harry Mantheakis
>London, UK
>
>
>  
>
>>I am trying to figure out how to debug servlets and JSPs. I am running

>>Windows ME, Tomcat 5.0, Eclipse 2.1.3, and Sysdeo Tomcat Plugin 
>>3.0.0.alpha1.
>>
>>So, how should Sysdeo be set up?
>>
>>Should I be able to set a breakpoint normally in a servlet?
>>
>>How do I set a breakpoint in JSP?
>>
>>Where is my soruce (and binaries) supposed to be?
>>
>>Miscellaneous questions:
>>
>>1. What is Tomcat base? (Preferences/Tomcat)
>>2. Any JVM settings needed? (Preferences/Tomcat/JVM settings)
>>
>>Thanks for your help. I have already tried to find a tutorial on the
Web,
>>but nothing has helped.
>>
>>
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-

RE: Integrating Tomcat and IIS

2004-07-07 Thread Aris Javier
I SUCCESSFULLY INTEGRATE TOMCAT 5 WITH IIS... =)
SIMPLE AND EASY!
aris

-Original Message-
From: Tom Burke [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 07, 2004 9:42 PM
To: Tomcat Users List
Subject: Integrating Tomcat and IIS


I sent a long email to the list on Tuesday asking for help with problems
I'm having intergating Tomcat with IIS. Sadly, there were no replies. My
email was rather long - lots of examples, config file extracts, etc - so
maybe recipients found it hard to digest.

So I'll recast it as a shorter request: is there anyone on the list who
has succeeded in integrating Tomcat (4 or 5) with IIS (5 or 6)? If so,
are there any tips you can pass on? Any problems you experienced and
overcame? And if anyone else has had problems and *not* been able to
overcome them, what were they?

Incidentally, I was following this set of instructions:
https://www.rit.edu/~ack5504/tomcat-iis6-howto/narantugs-sengee-guide.ht
ml

Tom Burke


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0 and JavaMail

2004-07-07 Thread Aris Javier
you don't need to put activation.jar and mail.jar inside
catalina_home\common\lib\ you need to put them inside
java_home\jre\lib\ext...

regards...
aris

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 07, 2004 11:23 PM
To: Tomcat Users List; e-Denton Subscriber
Subject: RE: Tomcat 5.0 and JavaMail



I've found that you also need activation.jar for JavaMail, do you have
this in common/lib too?

Ta
Matt

-Original Message-
From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
Sent: 07 July 2004 15:49
To: Tomcat Users List
Subject: Tomcat 5.0 and JavaMail


I had JavaMail working in Tomcat 4, but in Tomcat 5, I am having
trouble. I know it's something simple, perhaps you can see the problem.
Mail.jar is in Tomcat 5.0\common\lib.

I am getting this error:

"javax.naming.NamingException: Cannot create resource instance:"

Using this context in Tomcat 5.0\conf\Catalina\localhost\e_Denton.xml

"



   
  
   mail.smtp.host
   mars.webappcabaret.net
  
 
..."

And this web.xml:

"
 
  
  Resource reference to a factory for javax.mail.Session
  preconfigured to connect to the appropriate SMTP server.
  
  mail/Session
  javax.mail.Session
  Container
 "

Accessed like this:

  "try
   {
   Context initContext = new InitialContext();
   Context envContext  = (Context) initContext.lookup("java:comp/env");
   Session session = (Session) envContext.lookup("mail/Session");
   }
  catch (javax.naming.NamingException ne)"






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please Help! Tomcat 5.0.25

2004-06-30 Thread Aris Javier
No Sir... everything is in my pc... no remote access...
Tomcat5.0.25 is in drive D as well as MS Access 2000...
I'm also the only user of my pc.. 

Please Help!

-Original Message-
From: Robert Harper [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 10:00 PM
To: 'Tomcat Users List'
Subject: RE: Please Help! Tomcat 5.0.25


When you run a service in WinXX, it does not run with the same rights
and settings as the logged in user. If your app needs a mapped drive,
then you will have to find a way for your app to map the drive for it's
self. This may also be a user rights issue as the service runs without
the same credentials as the logged in user.

Robert S. Harper
801.265.8800 ex. 255

> -Original Message-
> From: Robert Bateman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 30, 2004 7:39 AM
> To: Tomcat Users List
> Subject: Re: Please Help! Tomcat 5.0.25
> 
> This may or may not be totally on topic - apologies if it's not...
> 
> On Wednesday 30 June 2004 12:16 am, Aris Javier wrote:
> > Still the same error occured after replacing my service.bat with 
> > your service.bat... (declares tools.jar inside) =|
> >
> > org.apache.commons.dbcp.SQLNestedException: Cannot create 
> > PoolableConnectionFactory, cause: General error
> >
> > When i run startup.bat... it worked fine again... the following are 
> > the logged scripts in MS DOS when i run startup.bat...
> 
> 
> I've seen similar errors when running programs as services in a
Windows
> environment.  One thing that got me over and over was the data base I
was
> accessing was not local.  Because the "remote" data base needed me to
"map" a
> drive letter to it, my program running as service failed.
> 
> Are you by chance attempting to access your data base on a network
drive?
> 
> Bob
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please Help! Tomcat 5.0.25

2004-06-30 Thread Aris Javier
No Sir... I'm accessing my database on my pc...
MS Access 2000... everything is in my pc...

I've tried putting everything under classpath but still 
this dbcp error occured...

But the amazing thing is, no problem occured when i run
tomcat not in service...

sigh!

-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 9:39 PM
To: Tomcat Users List
Subject: Re: Please Help! Tomcat 5.0.25


This may or may not be totally on topic - apologies if it's not...

On Wednesday 30 June 2004 12:16 am, Aris Javier wrote:
> Still the same error occured after replacing my service.bat with your 
> service.bat... (declares tools.jar inside) =|
>
> org.apache.commons.dbcp.SQLNestedException: Cannot create 
> PoolableConnectionFactory, cause: General error
>
> When i run startup.bat... it worked fine again... the following are 
> the logged scripts in MS DOS when i run startup.bat...


I've seen similar errors when running programs as services in a Windows 
environment.  One thing that got me over and over was the data base I
was 
accessing was not local.  Because the "remote" data base needed me to
"map" a 
drive letter to it, my program running as service failed.

Are you by chance attempting to access your data base on a network
drive?

Bob

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please Help! Tomcat 5.0.25

2004-06-29 Thread Aris Javier
yes i did... =|
after "service install"...
tomcat5 service will be created...
then i go to administrative tools -> services to run tomcat service...
this is the right method?

one more thing... why is it that when i run startup.bat, a lot of
stuffs have been loaded up...? as compared to when i use tomcat as
service?

i think that startup.bat is loading something that service don't load?

 
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 12:54 PM
To: Tomcat Users List
Subject: RE: Please Help! Tomcat 5.0.25


I'm at a loss at this point.  I'm not sure if there is a specific JDBC 
driver for Access.  I would avoid using Access anyway, but I suppose it 
might not be by choice.  Hopefully someone else will know what is up
with 
using the Sun driver and the Tomcat service.  BTW, you did do "service 
remove" and then "service install", right?

Jake

At 12:16 PM 6/30/2004 +0800, you wrote:
>Still the same error occured after replacing my service.bat with your 
>service.bat... (declares tools.jar inside) =|
>
>org.apache.commons.dbcp.SQLNestedException: Cannot create 
>PoolableConnectionFactory, cause: General error
>
>When i run startup.bat... it worked fine again... the following are the

>logged scripts in MS DOS when i run startup.bat...
>
>Jun 30, 2004 11:59:11 AM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on http-8080
>Jun 30, 2004 11:59:11 AM org.apache.catalina.startup.Catalina load
>INFO: Initialization processed in 7240 ms
>Jun 30, 2004 11:59:12 AM org.apache.catalina.core.StandardService start
>INFO: Starting service Catalina
>Jun 30, 2004 11:59:12 AM org.apache.catalina.core.StandardEngine start
>INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
>Jun 30, 2004 11:59:12 AM org.apache.catalina.core.StandardHost start
>INFO: XML validation disabled
>Jun 30, 2004 11:59:17 AM org.apache.catalina.core.StandardHost
>getDeployer
>INFO: Create Host deployer for direct deployment ( non-jmx ) Jun 30, 
>2004 11:59:17 AM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Processing Context configuration file URL 
>file:D:\Tomcat_5.0\conf\Catalina \localhost\admin.xml
>Jun 30, 2004 11:59:19 AM
org.apache.struts.util.PropertyMessageResources
>
>INFO: Initializing, config='org.apache.struts.util.LocalStrings',
>returnNull=tru
>e
>Jun 30, 2004 11:59:19 AM
org.apache.struts.util.PropertyMessageResources
>
>INFO: Initializing, config='org.apache.struts.action.ActionResources',
>returnNul
>l=true
>Jun 30, 2004 11:59:21 AM
org.apache.struts.util.PropertyMessageResources
>
>INFO: Initializing,
>config='org.apache.webapp.admin.ApplicationResources', retur
>nNull=true
>Jun 30, 2004 11:59:30 AM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Processing Context configuration file URL
>file:D:\Tomcat_5.0\conf\Catalina
>\localhost\balancer.xml
>Jun 30, 2004 11:59:31 AM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Processing Context configuration file URL
>file:D:\Tomcat_5.0\conf\Catalina
>\localhost\manager.xml
>Jun 30, 2004 11:59:31 AM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Installing web application at context path /jsp-examples from URL
>file:D:\
>Tomcat_5.0\webapps\jsp-examples
>Jun 30, 2004 11:59:33 AM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Installing web application at context path  from URL
>file:D:\Tomcat_5.0\we
>bapps\ROOT
>Jun 30, 2004 11:59:34 AM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Installing web application at context path /servlets-examples
from
>URL fil
>e:D:\Tomcat_5.0\webapps\servlets-examples
>Jun 30, 2004 11:59:35 AM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Installing web application at context path /tomcat-docs from URL
>file:D:\T
>omcat_5.0\webapps\tomcat-docs
>Jun 30, 2004 11:59:35 AM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Installing web application at context path /webdav from URL
>file:D:\Tomcat
>_5.0\webapps\webdav
>Jun 30, 2004 11:59:36 AM org.apache.coyote.http11.Http11Protocol start
>INFO: Starting Coyote HTTP/1.1 on http-8080
>Jun 30, 2004 11:59:38 AM org.apache.jk.common.ChannelSocket init
>INFO: JK2: ajp13 listening on /0.0.0.0:8009
>Jun 30, 2004 11:59:38 AM org.apache.jk.server.JkMain start
>INFO: Jk running ID=0 time=0/280
>config=D:\Tomcat_5.0\conf\jk2.properties
>Jun 30, 2004 11:59:38 AM org.apache.catalina.startup.Catalina start
>INFO: Server startup in 26689 ms
>
>
>-Original Message-
>From: Aris Javier
>Sent: Wednesday, June 30, 2004 11:36 AM
>To: Tomcat Users List
>Subject: RE: Please Help

RE: Please Help! Tomcat 5.0.25

2004-06-29 Thread Aris Javier
Still the same error occured after replacing my service.bat with your
service.bat... (declares tools.jar inside) =|

org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory, cause: General error

When i run startup.bat... it worked fine again... the following are the
logged
scripts in MS DOS when i run startup.bat...

Jun 30, 2004 11:59:11 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 30, 2004 11:59:11 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7240 ms
Jun 30, 2004 11:59:12 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 30, 2004 11:59:12 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
Jun 30, 2004 11:59:12 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 30, 2004 11:59:17 AM org.apache.catalina.core.StandardHost
getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jun 30, 2004 11:59:17 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:D:\Tomcat_5.0\conf\Catalina
\localhost\admin.xml
Jun 30, 2004 11:59:19 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=tru
e
Jun 30, 2004 11:59:19 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNul
l=true
Jun 30, 2004 11:59:21 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
Jun 30, 2004 11:59:30 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:D:\Tomcat_5.0\conf\Catalina
\localhost\balancer.xml
Jun 30, 2004 11:59:31 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:D:\Tomcat_5.0\conf\Catalina
\localhost\manager.xml
Jun 30, 2004 11:59:31 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /jsp-examples from URL
file:D:\
Tomcat_5.0\webapps\jsp-examples
Jun 30, 2004 11:59:33 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path  from URL
file:D:\Tomcat_5.0\we
bapps\ROOT
Jun 30, 2004 11:59:34 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /servlets-examples from
URL fil
e:D:\Tomcat_5.0\webapps\servlets-examples
Jun 30, 2004 11:59:35 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /tomcat-docs from URL
file:D:\T
omcat_5.0\webapps\tomcat-docs
Jun 30, 2004 11:59:35 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /webdav from URL
file:D:\Tomcat
_5.0\webapps\webdav
Jun 30, 2004 11:59:36 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 30, 2004 11:59:38 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jun 30, 2004 11:59:38 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/280
config=D:\Tomcat_5.0\conf\jk2.properties
Jun 30, 2004 11:59:38 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 26689 ms


-----Original Message-
From: Aris Javier 
Sent: Wednesday, June 30, 2004 11:36 AM
To: Tomcat Users List
Subject: RE: Please Help! Tomcat 5.0.25


Thanks for the updated service.bat Sir Jake!
I'll test it at once... 

Regarding my database... I'm just using MS Access 2000...
I don't know what driver to use or how to install or configure it that's
why I use sun.jdbc.odbc.JdbcOdbcDriver driver. 
What do you think is the proper driver for MS Access 2000?
and how to install it...?

Thanks!
I'll test your updated service.bat and update you of my progress...

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 10:52 AM
To: Tomcat Users List
Subject: Re: Please Help! Tomcat 5.0.25


At 09:37 AM 6/30/2004 +0800, you wrote:
>Hello!
>
>I installed Tomcat 5.0.25
>i noticed that tomcat won't start unless i first make "service install"

>command? under catalina_home/bin/service.bat
>
>also, after running tomcat service... my previous error
>(org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General)

>was converted to
>
>org.apache.commons.dbcp.SQLNestedException: Cannot create
>PoolableConnectionFactory, cause: General error

I see you are using the sun.jdbc.odbc.JdbcOdbcDriver driver.  This is a
bad 
idea.  What Database are you connecting to?  You should use the driver
made 
for that database.

However, I think the error is coming from not havin

RE: Please Help! Tomcat 5.0.25

2004-06-29 Thread Aris Javier
Thanks for the updated service.bat Sir Jake!
I'll test it at once... 

Regarding my database... I'm just using MS Access 2000...
I don't know what driver to use or how to install or configure it
that's why I use sun.jdbc.odbc.JdbcOdbcDriver driver. 
What do you think is the proper driver for MS Access 2000?
and how to install it...?

Thanks!
I'll test your updated service.bat and update you of my progress...

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 10:52 AM
To: Tomcat Users List
Subject: Re: Please Help! Tomcat 5.0.25


At 09:37 AM 6/30/2004 +0800, you wrote:
>Hello!
>
>I installed Tomcat 5.0.25
>i noticed that tomcat won't start unless i first make "service install"

>command? under catalina_home/bin/service.bat
>
>also, after running tomcat service... my previous error
>(org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General)

>was converted to
>
>org.apache.commons.dbcp.SQLNestedException: Cannot create 
>PoolableConnectionFactory, cause: General error

I see you are using the sun.jdbc.odbc.JdbcOdbcDriver driver.  This is a
bad 
idea.  What Database are you connecting to?  You should use the driver
made 
for that database.

However, I think the error is coming from not having tools.jar in the 
classpath.  You'll have to add this to service.bat.  You might also
notice 
that JSP's don't compile for the same reason.  I have asked the Tomcat 
developers to add tools.jar to classpath in service.bat, but it never
seems 
to get done.  I have created my own copy of service.bat that works
better 
for me and brings it more in line with starting from the startup.bat 
file.  I'll attach it.


Jake


>but when i run startup.bat, no error occured...
>
>what's the difference then? running tomcat as a service and running 
>tomcat using startup.bat...??? i need to run my application as a 
>service.. so that it will keep on running eventhough i'm not 
>logged-in...
>
>
>
>-Original Message-
>From: Aris Javier
>Sent: Wednesday, June 30, 2004 8:22 AM
>To: Tomcat Users List
>Subject: RE: Please Help!
>
>
>My current tomcat version is tomcat5.0.7
>also, i dont see service.bat under catalina_home/bin folder...
>
>do i have to download latest tomcat version?
>
>-Original Message-
>From: Jacob Kjome [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 29, 2004 11:46 PM
>To: Tomcat Users List
>Subject: RE: Please Help!
>
>
>You specify Tomcat5.0.  If that's true, you are using a pre-release 
>version of Tomcat5.  Update to the latest official version (or
>Tomcat-5.0.27beta) and retest.  Make sure your driver is in common/lib 
>as well.  Note that CATALINA_HOME/bin/service.bat can be used to 
>install/remove the service.  Make sure to set your CATALINA_HOME 
>variable before you run service.bat.
>
>Jake
>
>Quoting Aris Javier <[EMAIL PROTECTED]>:
>
> > Thanks!
> >
> > My system works fine when i run tomcat5.0 in console...
> > but when i run tomcat5.0 in service, this error occurs...
> >
> > org.apache.commons.dbcp.DbcpException: java.sql.SQLException: 
> > General error
> >
> > I already declared my enviroment variables..
> > i declared bootstrap.jar and tools.jar in classpath...
> >
> > anyway, here's my system info...
> >
> > OS: Windows 2000
> > Database: MS Access 2000
> > System DSN: EZX_DS
> > Technology: Java Servlet/JSP MVC
> > Tomcat Folder: D:\Tomcat_5.0
> >
> > Server.xml context...
> >  > reloadable="true" crossContext="true">
> >   className="org.apache.catalina.logger.FileLogger"
> >prefix="localhost_tees_log." suffix=".txt"
> >timestamp="true"/>
> >>auth="Container"
> >type="javax.sql.DataSource"/>
> >   
> >   
> >   factory
> >
> > org.apache.commons.dbcp.BasicDataSourceFactory
> >   
> >   
> >   maxActive
> >   100
> >   
> >   
> >   maxIdle
> >   30
> >   
> >   
> >   maxWait
> >   1
> >   
> >   
> >driverClassName
> >sun.jdbc.odbc.JdbcOdbcDriver
> >  

Please Help! Tomcat 5.0.25

2004-06-29 Thread Aris Javier
Hello!

I installed Tomcat 5.0.25
i noticed that tomcat won't start unless i first make "service install"
command?
under catalina_home/bin/service.bat

also, after running tomcat service... my previous error 
(org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General)
was converted to

org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory, cause: General error

but when i run startup.bat, no error occured... 

what's the difference then? running tomcat as a service and running
tomcat using startup.bat...???
i need to run my application as a service.. so that it will keep on
running eventhough i'm not logged-in...



-Original Message-
From: Aris Javier 
Sent: Wednesday, June 30, 2004 8:22 AM
To: Tomcat Users List
Subject: RE: Please Help!


My current tomcat version is tomcat5.0.7 
also, i dont see service.bat under catalina_home/bin folder...

do i have to download latest tomcat version?

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 29, 2004 11:46 PM
To: Tomcat Users List
Subject: RE: Please Help!


You specify Tomcat5.0.  If that's true, you are using a pre-release
version of Tomcat5.  Update to the latest official version (or
Tomcat-5.0.27beta) and retest.  Make sure your driver is in common/lib
as well.  Note that CATALINA_HOME/bin/service.bat can be used to
install/remove the service.  Make sure to set your CATALINA_HOME
variable before you run service.bat.

Jake

Quoting Aris Javier <[EMAIL PROTECTED]>:

> Thanks!
> 
> My system works fine when i run tomcat5.0 in console...
> but when i run tomcat5.0 in service, this error occurs...
> 
> org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
> error
> 
> I already declared my enviroment variables..
> i declared bootstrap.jar and tools.jar in classpath...
> 
> anyway, here's my system info...
> 
> OS: Windows 2000
> Database: MS Access 2000
> System DSN: EZX_DS
> Technology: Java Servlet/JSP MVC
> Tomcat Folder: D:\Tomcat_5.0
> 
> Server.xml context...
>  reloadable="true" crossContext="true">
>   prefix="localhost_tees_log." suffix=".txt"
>timestamp="true"/>
>   auth="Container"
>type="javax.sql.DataSource"/>
>   
>   
>   factory
> 
> org.apache.commons.dbcp.BasicDataSourceFactory
>   
>   
>   maxActive
>   100
>   
>   
>   maxIdle
>   30
>   
>   
>   maxWait
>   1
>   
>   
>driverClassName
>sun.jdbc.odbc.JdbcOdbcDriver
>   
>   
>   url
>   jdbc:odbc:EZX_DS
>
>   
> 
> 
> Web.xml contains...
> 
>   EAZIX TEES Tomcat to Access
>   
>   DB Connection
>   jdbc/EZX_DS
>   javax.sql.DataSource
>   Container
>   
>   
>  configFile
> 
> d:\\eazixprojects\\tees\\xml\\mapping.xml
>   
>   
> EazixServlet
> tees.main.util.EazixServlet
>   
>   
> EazixServlet
> *.ezx
>   
> 
> 
> CewolfServlet
> de.laures.cewolf.CewolfRenderer
>   
> 
> overliburl
> 
>
D:\\eazixprojects\\tees\\js\\etc\\overlib.js
> 
>   
> 
> debug
> true
> 
> 1
> 
>   
> CewolfServlet
> /cewolf/*
>   
>  
>   welcome.jsp
>  
>   
> msewFailed.jsp
>   
> 
> 
> -Original Message-
> From: Kunthar [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 3:41 PM
> To: Tomcat Users List
> Subject: Re: Please Help!
> 
> 
> Hello,
> 
> Please give us more detail.
> Your OS and database to connect to,
> Send your server.xml and web.xml definitions.
> Then we can have clear idea...
> 
> Take care
> Gokhan
> 
> 
> 
> 
> Aris Javier wrote:
> 
> >Please Help!
> >
> >This error kept on bugging me everytime i run tomcat5 as service...
> >My environment variables are already declared as well as my system 
> >dsn... but still...
> >
> >org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General

> >error
> >
> >
> >Pleas

RE: Please Help!

2004-06-29 Thread Aris Javier
My current tomcat version is tomcat5.0.7 
also, i dont see service.bat under catalina_home/bin folder...

do i have to download latest tomcat version?

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 29, 2004 11:46 PM
To: Tomcat Users List
Subject: RE: Please Help!


You specify Tomcat5.0.  If that's true, you are using a pre-release
version of Tomcat5.  Update to the latest official version (or
Tomcat-5.0.27beta) and retest.  Make sure your driver is in common/lib
as well.  Note that CATALINA_HOME/bin/service.bat can be used to
install/remove the service.  Make sure to set your CATALINA_HOME
variable before you run service.bat.

Jake

Quoting Aris Javier <[EMAIL PROTECTED]>:

> Thanks!
> 
> My system works fine when i run tomcat5.0 in console...
> but when i run tomcat5.0 in service, this error occurs...
> 
> org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General 
> error
> 
> I already declared my enviroment variables..
> i declared bootstrap.jar and tools.jar in classpath...
> 
> anyway, here's my system info...
> 
> OS: Windows 2000
> Database: MS Access 2000
> System DSN: EZX_DS
> Technology: Java Servlet/JSP MVC
> Tomcat Folder: D:\Tomcat_5.0
> 
> Server.xml context...
>  reloadable="true" crossContext="true">
>   prefix="localhost_tees_log." suffix=".txt"
>timestamp="true"/>
>   auth="Container"
>type="javax.sql.DataSource"/>
>   
>   
>   factory
> 
> org.apache.commons.dbcp.BasicDataSourceFactory
>   
>   
>   maxActive
>   100
>   
>   
>   maxIdle
>   30
>   
>   
>   maxWait
>   1
>   
>   
>driverClassName
>sun.jdbc.odbc.JdbcOdbcDriver
>   
>   
>   url
>   jdbc:odbc:EZX_DS
>
>   
> 
> 
> Web.xml contains...
> 
>   EAZIX TEES Tomcat to Access
>   
>   DB Connection
>   jdbc/EZX_DS
>   javax.sql.DataSource
>   Container
>   
>   
>  configFile
> 
> d:\\eazixprojects\\tees\\xml\\mapping.xml
>   
>   
> EazixServlet
> tees.main.util.EazixServlet
>   
>   
> EazixServlet
> *.ezx
>   
> 
> 
> CewolfServlet
> de.laures.cewolf.CewolfRenderer
>   
> 
> overliburl
> 
>
D:\\eazixprojects\\tees\\js\\etc\\overlib.js
> 
>   
> 
> debug
> true
> 
> 1
> 
>   
> CewolfServlet
> /cewolf/*
>   
>  
>   welcome.jsp
>  
>   
> msewFailed.jsp
>   
> 
> 
> -Original Message-
> From: Kunthar [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 3:41 PM
> To: Tomcat Users List
> Subject: Re: Please Help!
> 
> 
> Hello,
> 
> Please give us more detail.
> Your OS and database to connect to,
> Send your server.xml and web.xml definitions.
> Then we can have clear idea...
> 
> Take care
> Gokhan
> 
> 
> 
> 
> Aris Javier wrote:
> 
> >Please Help!
> >
> >This error kept on bugging me everytime i run tomcat5 as service... 
> >My environment variables are already declared as well as my system 
> >dsn... but still...
> >
> >org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General

> >error
> >
> >
> >Please Help!
> >
> >Thanks!
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please Help!

2004-06-29 Thread Aris Javier
Thanks!

My system works fine when i run tomcat5.0 in console...
but when i run tomcat5.0 in service, this error occurs...

org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
error

I already declared my enviroment variables.. 
i declared bootstrap.jar and tools.jar in classpath...

anyway, here's my system info...

OS: Windows 2000
Database: MS Access 2000
System DSN: EZX_DS
Technology: Java Servlet/JSP MVC
Tomcat Folder: D:\Tomcat_5.0

Server.xml context...

  
  
  
  
  factory
 
org.apache.commons.dbcp.BasicDataSourceFactory
  
  
  maxActive
  100
  
  
  maxIdle
  30
  
  
  maxWait
  1
  
  
   driverClassName
   sun.jdbc.odbc.JdbcOdbcDriver
  
  
  url
  jdbc:odbc:EZX_DS
   
  


Web.xml contains...

  EAZIX TEES Tomcat to Access
  
  DB Connection
  jdbc/EZX_DS
  javax.sql.DataSource
  Container
  
  
 configFile
 
d:\\eazixprojects\\tees\\xml\\mapping.xml
  
  
EazixServlet
tees.main.util.EazixServlet
  
  
EazixServlet
*.ezx
  


CewolfServlet
de.laures.cewolf.CewolfRenderer


overliburl
 
D:\\eazixprojects\\tees\\js\\etc\\overlib.js



debug
true

1

  
CewolfServlet
/cewolf/*
  
 
  welcome.jsp
 
  
msewFailed.jsp
  


-Original Message-
From: Kunthar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 29, 2004 3:41 PM
To: Tomcat Users List
Subject: Re: Please Help!


Hello,

Please give us more detail.
Your OS and database to connect to,
Send your server.xml and web.xml definitions.
Then we can have clear idea...

Take care
Gokhan




Aris Javier wrote:

>Please Help!
>
>This error kept on bugging me everytime i run tomcat5 as service... My 
>environment variables are already declared as well as my system dsn...
>but still...
>
>org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General 
>error
>
>
>Please Help!
>
>Thanks!
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Please Help!

2004-06-28 Thread Aris Javier
Please Help!

This error kept on bugging me everytime i run tomcat5 as service...
My environment variables are already declared as well as my system
dsn...
but still...

org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
error


Please Help!

Thanks!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat windows service

2004-06-28 Thread Aris Javier
Hello!

It's included during installation period...
you're prompted if you want to install tomcat as windows service...
Check administrative tools -> services...

regards,
aris

-Original Message-
From: Naga Viswanathan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 29, 2004 6:17 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat windows service


Hi!!

I installed tomcat 5.0.14(without the windows installer). It works
great. I wanted to find out how to configure my tomcat instance as a
windows service. I saw on some groups that tomcat.exe has to be used but
did not find any documentation. I'd appreciate any help/useful links
that can help me setup tomcat as windows service

Thanks,
Naga

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Running Tomcat as Service Results DBCP Error

2004-06-24 Thread Aris Javier
Hello!

Just like to ask why is it that I always have
dbcp error everytime i run tomcat as a service???

I have already declared System DSN but still dbcp error occurs...

Help!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Problem

2004-06-22 Thread Aris Javier
hello!

i'm logged as the administrator for the server.. when i run it
manually.. the java programs works fine.. 

when i logged off.. not shutdown.. tomcat manually operated will be
closed right? or wrong?



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 23, 2004 10:27 AM
To: Tomcat Users List
Subject: Re: Tomcat Problem


Note that when running Tomcat as a service it is possible that the user
can be 
different from when you launch it manually.

I am not sure but this can be one possible issue.

All the best,
Ric

Quoting Aris Javier <[EMAIL PROTECTED]>:

> 
> Hello!
>  
> just like to ask why i always have this kind of error;
> 
> org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General 
> Error
> 
> this error only occurs when i run tomcat 5.0.7 on
> "start -> programs -> administrative tools -> services"... but if i 
> run tomcat 5.0.7 manually.. like "start -> programs -> apache tomcat 
> -> start tomcat" all of my servlets/jsp works fine... with no dbcp 
> error...
>  
> i need to run tomcat automatically... so that when i logged off from 
> server... the tomcat should still run...
> 
> help needed..
>  
> thanks!
> Aris
>  
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 




-
This mail sent through IMP: http://horde.org/imp/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Problem

2004-06-22 Thread Aris Javier

Hello!
 
just like to ask why i always have this kind of error;

org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
Error

this error only occurs when i run tomcat 5.0.7 on
"start -> programs -> administrative tools -> services"... but if i run
tomcat 5.0.7 manually.. like "start -> programs -> apache tomcat ->
start tomcat" all of my servlets/jsp works fine... with no dbcp error...
 
i need to run tomcat automatically... so that when i logged off from
server... the tomcat should still run... 

help needed.. 
 
thanks!
Aris
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Use of roles when tomcatAuthentication=false

2004-06-22 Thread Aris Javier
Hello!
 
just like to ask why i always have this kind of error;

org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
Error

this error only occurs when i run tomcat 5.0.7 on
"start -> programs -> administrative tools -> services"... but if i run
tomcat 5.0.7 manually.. like "start -> programs -> apache tomcat ->
start tomcat" all of my servlets/jsp works fine... with no dbcp error...
 
i need to run tomcat automatically... so that when i logged off from
server... the tomcat should still run... 

help needed.. 
 
thanks!
Aris
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]