R: No Java compiler was found to compile the generated source for the JSP

2004-07-15 Thread Simone - Dev
Yeah.. maybe this can be listed as bug :-)
 
Simone
 
 
-
Simone Chiaretta
  www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

-Messaggio originale-
Da: Abner Conrado [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 15 luglio 2004 20.00
A: [EMAIL PROTECTED]
Oggetto: Re: No Java compiler was found to compile the generated source
for the JSP



Hi ! 
before you install the Tom Cat, set the JAVA_HOME enviroment variable to
"c:\j2sdk..." ! 
 
is that !

-
 Abner Conrado V. Oliveira  
 
 Bacharelado em Ciência da Computação - 6º Período
 Pontifícia Universidade Católica do Paraná - PUC-PR

-
Many are the plans in a man's heart, but 
  it is the Lord’s purpose that prevails
 Proverbs 19:21




Re: No Java compiler was found to compile the generated source for the JSP

2004-07-13 Thread Simone-dev
Thank you
I just reinstalled tomcat and now it works
maybe on windows there are some strange registry key to be set if you 
set the JAVA_HOME env variable after the installation.
But don't know which one

Simone
Endre Stølsvik wrote:
On Mon, 12 Jul 2004, Simone-dev wrote:
| I remember in tomcat 5.0.18 there was a java Home property, but now I've
| just a "Java Virtual machine"
| originally it was set to "C:\Program
| Files\Java\j2re1.4.2_05\bin\client\jvm.dll" (and didn't worked)
| then I changed it to "C:\j2sdk1.4.2_05\jre\bin\client\jvm.dll" but still
| doesn't work
I guess you most definately need the "j2sdk" (SW development kit) and not
the "j2re" (runtime environment), as you need the compiler..!!
But it still didn't work?!
Endre

-
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: No Java compiler was found to compile the generated source for the JSP

2004-07-12 Thread Simone-dev
Everything is working now:
the java virtual machine is set now to 
"C:\j2sdk1.4.2_05\jre\bin\client\jvm.dll"

Simone
Ben Souther wrote:
Reinstall it and point it to a full j2sdk during the install.
Should only take a few minutes.
On Monday 12 July 2004 09:16 am, Simone-dev wrote:
 

I remember in tomcat 5.0.18 there was a java Home property, but now I've
just a "Java Virtual machine"
originally it was set to "C:\Program
Files\Java\j2re1.4.2_05\bin\client\jvm.dll" (and didn't worked)
then I changed it to "C:\j2sdk1.4.2_05\jre\bin\client\jvm.dll" but still
doesn't work
and there is not place to set a java home via configuration panel
Simone
Ben Souther wrote:
   

I know that, at one point.  The Windows installer had tomcat looking
for jdk in the registry, even if you had JAVA_HOME set properly.
But that was fixed.
If you used the Windows installer, check where it is looking for java.
Start -> Programs -> Apache-Tomcat -> Configure Tomcat.
There is a Java Tab in there that you can use to set the Java Home
property. See if that matches your JAVA_HOME env var.
On Monday 12 July 2004 09:03 am, Simone-dev wrote:
 

Yes, I did it
the JAVA_HOME is set correctly
Simone
Ben Souther wrote:
   

Did it?
On Monday 12 July 2004 09:00 am, Simone-dev wrote:
 

And what if it works ?
Simone
Ben Souther wrote:
   

Test your JAVA_HOME environment variable.
Open a command prompt and type:
%JAVA_HOME%\bin\javac
If you see:
No File Or Program Found.
you didn't set it right.
On Monday 12 July 2004 08:44 am, Simone-dev wrote:
 

Hello all,
I just installed  Apache Tomcat/5.0.25 on my newly installed
developing workstation on Windows
I've installed SDK  1.4.2_05, too...
But when I try to run a JSP to compiled I get the error
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the
JSP. This can usually be solved by copying manually
$JAVA_HOME/lib/tools.jar

   

from the JDK to the common/lib directory of the Tomcat server,
 

followed
by a Tomcat restart. If using an alternate Java compiler, please
check its installation and access path.
I've set JAVA_HOME as C:\j2sdk1.4.2_05 but tomcat still doesn't
compile JSP
any ideas?
Simone
   

 




Re: No Java compiler was found to compile the generated source for the JSP

2004-07-12 Thread Simone-dev
I remember in tomcat 5.0.18 there was a java Home property, but now I've 
just a "Java Virtual machine"
originally it was set to "C:\Program 
Files\Java\j2re1.4.2_05\bin\client\jvm.dll" (and didn't worked)
then I changed it to "C:\j2sdk1.4.2_05\jre\bin\client\jvm.dll" but still 
doesn't work

and there is not place to set a java home via configuration panel
Simone
Ben Souther wrote:
I know that, at one point.  The Windows installer had tomcat looking 
for jdk in the registry, even if you had JAVA_HOME set properly.
But that was fixed.

If you used the Windows installer, check where it is looking for java.
Start -> Programs -> Apache-Tomcat -> Configure Tomcat.
There is a Java Tab in there that you can use to set the Java Home property.
See if that matches your JAVA_HOME env var.

On Monday 12 July 2004 09:03 am, Simone-dev wrote:
 

Yes, I did it
the JAVA_HOME is set correctly
Simone
Ben Souther wrote:
   

Did it?
On Monday 12 July 2004 09:00 am, Simone-dev wrote:
 

And what if it works ?
Simone
Ben Souther wrote:
   

Test your JAVA_HOME environment variable.
Open a command prompt and type:
%JAVA_HOME%\bin\javac
If you see:
No File Or Program Found.
you didn't set it right.
On Monday 12 July 2004 08:44 am, Simone-dev wrote:
 

Hello all,
I just installed  Apache Tomcat/5.0.25 on my newly installed developing
workstation on Windows
I've installed SDK  1.4.2_05, too...
But when I try to run a JSP to compiled I get the error
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar
   

from the JDK to the common/lib directory of the Tomcat server, followed
 

by a Tomcat restart. If using an alternate Java compiler, please check
its installation and access path.
I've set JAVA_HOME as C:\j2sdk1.4.2_05 but tomcat still doesn't compile
JSP
any ideas?
Simone
   

 




Re: No Java compiler was found to compile the generated source for the JSP

2004-07-12 Thread Simone-dev
No, I didn't do it...
I never did it... nor on my production server, nor on my previous tomcat 
installation (5.0.18) should work without this too

Simone
Mike Fowler wrote:
Simone-
Have you tried copying the tools.jar into common/lib ?
-Mike Fowler
"I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it"
Simone-dev wrote:
Hello all,
I just installed  Apache Tomcat/5.0.25 on my newly installed 
developing workstation on Windows
I've installed SDK  1.4.2_05, too...

But when I try to run a JSP to compiled I get the error
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the 
JSP. This can usually be solved by copying manually 
$JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of 
the Tomcat server, followed by a Tomcat restart. If using an 
alternate Java compiler, please check its installation and access path.

I've set JAVA_HOME as C:\j2sdk1.4.2_05 but tomcat still doesn't 
compile JSP

any ideas?
Simone


-
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: No Java compiler was found to compile the generated source for the JSP

2004-07-12 Thread Simone-dev
Yes, I did it
the JAVA_HOME is set correctly
Simone
Ben Souther wrote:
Did it?
On Monday 12 July 2004 09:00 am, Simone-dev wrote:
 

And what if it works ?
Simone
Ben Souther wrote:
   

Test your JAVA_HOME environment variable.
Open a command prompt and type:
%JAVA_HOME%\bin\javac
If you see:
No File Or Program Found.
you didn't set it right.
On Monday 12 July 2004 08:44 am, Simone-dev wrote:
 

Hello all,
I just installed  Apache Tomcat/5.0.25 on my newly installed developing
workstation on Windows
I've installed SDK  1.4.2_05, too...
But when I try to run a JSP to compiled I get the error
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar
   

from the JDK to the common/lib directory of the Tomcat server, followed
 

by a Tomcat restart. If using an alternate Java compiler, please check
its installation and access path.
I've set JAVA_HOME as C:\j2sdk1.4.2_05 but tomcat still doesn't compile
JSP
any ideas?
Simone
   

 




Re: No Java compiler was found to compile the generated source for the JSP

2004-07-12 Thread Simone-dev
And what if it works ?
Simone
Ben Souther wrote:
Test your JAVA_HOME environment variable.
Open a command prompt and type:
%JAVA_HOME%\bin\javac
If you see:
No File Or Program Found.
you didn't set it right.

On Monday 12 July 2004 08:44 am, Simone-dev wrote:
 

Hello all,
I just installed  Apache Tomcat/5.0.25 on my newly installed developing
workstation on Windows
I've installed SDK  1.4.2_05, too...
But when I try to run a JSP to compiled I get the error
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar
from the JDK to the common/lib directory of the Tomcat server, followed by
a Tomcat restart. If using an alternate Java compiler, please check its
installation and access path.
I've set JAVA_HOME as C:\j2sdk1.4.2_05 but tomcat still doesn't compile JSP
any ideas?
Simone
   

 




No Java compiler was found to compile the generated source for the JSP

2004-07-12 Thread Simone-dev
Hello all,
I just installed  Apache Tomcat/5.0.25 on my newly installed developing 
workstation on Windows
I've installed SDK  1.4.2_05, too...

But when I try to run a JSP to compiled I get the error
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP. 
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK 
to the common/lib directory of the Tomcat server, followed by a Tomcat restart. 
If using an alternate Java compiler, please check its installation and access path.

I've set JAVA_HOME as C:\j2sdk1.4.2_05 but tomcat still doesn't compile JSP
any ideas?
Simone



R: How to implement setCharacterEncoding in Tomcat 4.1.x

2004-06-12 Thread Simone - Dev
OK, thank you very much
Does it "re-encode" the text using 2 bytes per char as with real UTF
encoding?

Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: news [mailto:[EMAIL PROTECTED] Per conto di Bill Barker
> Inviato: sabato 12 giugno 2004 7.19
> A: [EMAIL PROTECTED]
> Oggetto: Re: How to implement setCharacterEncoding in Tomcat 4.1.x
> 
> 
> You can use:
> response.setContentType("text/xml; charset=utf-8");
> This works for TC 3-5.
> 
> "Simone - Dev" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hello all,
> I made a servlet that generates a XML response that must be in UTF-8 
> because it can include any type of chars (Jap, Arabs, chinese, russian

> and so on) I developed it on Tomcat 5.0.x and I used, to set the 
> correct encoding, the method setCharacterEncoding before calling the 
> out.getWriter and everything works fine.
>
> But a developer (this servlet is part of an open source project 
> available on sf.net) said that with tomcat 4.1.x it doesn't work 
> (raise a NoSuchMethodError). I looked at the tomcat 4.1.x javadoc and 
> saw that this method is not implemented since tomcat 5.0.x
>
> Since I'd like to support 4.1.x too how can I do to obtain the same 
> functionality?
>
> Thank you
> Simone
>
> -
> Simone Chiaretta
>  <http://www.piyosailing.com/S> www.piyosailing.com/S
> Any sufficiently advanced technology is indistinguishable from magic 
> "Life is short, play hard"
>
>




-
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 implement setCharacterEncoding in Tomcat 4.1.x

2004-06-11 Thread Simone - Dev
Hello all,
I made a servlet that generates a XML response that must be in UTF-8
because it can include any type of chars (Jap, Arabs, chinese, russian
and so on)
I developed it on Tomcat 5.0.x and I used, to set the correct encoding,
the method setCharacterEncoding before calling the out.getWriter and
everything works fine.
 
But a developer (this servlet is part of an open source project
available on sf.net) said that with tomcat 4.1.x it doesn't work (raise
a NoSuchMethodError). I looked at the tomcat 4.1.x javadoc and saw that
this method is not implemented since tomcat 5.0.x
 
Since I'd like to support 4.1.x too how can I do to obtain the same
functionality?
 
Thank you
Simone
 
-
Simone Chiaretta
  www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 


R: File Upload with JSPs

2004-05-26 Thread Simone - Dev
Sure, there is Jakarta Common FileUpload
http://jakarta.apache.org/commons/fileupload/

Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Deepak Vishwanathan [mailto:[EMAIL PROTECTED] 
> Inviato: mercoledì 26 maggio 2004 23.17
> A: [EMAIL PROTECTED]
> Oggetto: File Upload with JSPs
> 
> 
> Hi,
>  
> I am working with Jsps on Tomcat Container. I searched 
> through the net and found a class called MimeParser which 
> seems to provide the file upload capability. Is there some 
> open source Java API thats available that can be freely 
> redistributed and that would provide me with the file 
> uploading capability. Or does such a package exist in the 
> Tomcat Jakarta site.
>  
> Thanks
> Deepak
>  
>  
> 
>   
> -
> Do you Yahoo!?
> Friends.  Fun. Try the all-new Yahoo! Messenger
> 


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



R: Tomcat configuration tuning

2004-04-08 Thread Simone - Dev
Hello,
I'm having the same problem with a big news portal I'm developing
(goal.com, and a few of other sites - italian soccer team - that share
the same content management), and even if it is developed with .NET, the
concept is almost the same.

I don't know how your environment is set up, but u can cache the results
for 15 min or even forever, but u can force a cache reload whenever you
update a content in the adminstration application.

If the frontend is running in another context (or even another server)
then the admin site (and u don't have access to the same instance of the
CMS), you can call a webservice (or a simplier page) to do this.

Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Allistair Crossley [mailto:[EMAIL PROTECTED] 
> Inviato: giovedì 8 aprile 2004 18.33
> A: LILES, DAVID (CONTRACTOR); [EMAIL PROTECTED]
> Oggetto: RE: Tomcat configuration tuning
> 
> 
> Hey
> 
> Yes our struts uses the tiles plugin also. And the page load 
> times are as a result of running on the server itself 
> unfortunately. I am using the JTDS driver which apparently is 
> one of the fastest SQL Server 2000 implementations for db 
> connectivity.
> 
> One of the things about our system is that every click the 
> user makes is a search to the CMS for content that belongs to 
> that page. This could be considered sub-optimal. For 
> instance, I could cache results per 15 minutes or something, 
> but content changes often so I thought I would leave it dynamic. 
> 
> I spent some time running JProfiler against the app. The 
> accumulated CPU and memory seemed to ultimately come down to 
> these search calls to the CMS especially under load. Per 
> request I have to instantiate the vendors' bean which is an 
> interface to the CMS server socket and is responsible for 
> giving back all the data from the calls. I then simply 
> package up what I need in data transfer objects and ship them 
> to the JSPs. The JSPs are highly configurable in terms of 
> skinning and so on and have calls to the file system to check 
> if images are present and so on. I think I could cache that 
> too. In fact looking at timings in the logs shows the page 
> start to end is sub 1 second, the rest (user click -> page 
> process start) I think is caught up at the search but even so 
> that is generally about 0.8s. Pages are taking about 0.1 and 
> my cached implementation of nav takes 0.06 or so to load. But 
> overall the pages under load feel like they take about 2 
> seconds and also I get the feeling tomcat is recompiling 
> something it really doesn't need to - that was why I was 
> interested in the development flag in server.conf and whether 
> I should turn that to false.
> 
> A fair amount of CPU and memory was going to Log4J also. I 
> removed a lot of our unnecessary debugging statements and 
> this too helped. 
> 
> I guess it comes down to the CMS load but any tips from 
> others on the list are so very welcome,
> 
> Cheers, ADC
> 
> -Original Message-
> From: LILES, DAVID (CONTRACTOR) [mailto:[EMAIL PROTECTED]
> Sent: 08 April 2004 17:22
> To: Allistair Crossley
> Subject: RE: Tomcat configuration tuning
> 
> 
> I have seen a couple postings regarding poor performance with 
> Tomcat recently and thought I'd respond because we are using 
> IIS5 with Tomcat 5 and SQL 2000 as well.
> 
> We have a Struts site but our difference is that we are using 
> Tiles for our presentation... haven't really looked into the 
> performance differences between Tiles and non-Tiles display rates
> 
> As for our database connectivity... we are using an 
> internally developed connection pooling class (no JNDI), but 
> have recently started migrating to Hibernate.
> 
> It is interesting hearing how long it is taking for the pages 
> to be displayed considering we are on a similar set-up and 
> have not noticed this type of problem. We have not made any 
> special optimization setting changes, we basically did an out 
> of the box set-up 
> 
> Is this occurring when running the app locally or on the 
> server? I would be curious to know what is the resource load 
> on the box running the app, how is the connectivity 
> (bandwidth) to the box, has any sort of optimization tools 
> been run against the code to check for bottle-necks?
> 
> Not sure that I can provide much value technically, but feel 
> free to ask
> 
> -Dave
> 
> 
> 
>  -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 08, 2004 11:00 AM
> To:   Tomcat Users List
> Cc:   [EMAIL PROTECTED]
> Subject:  RE: Tomcat configuration tuning
> 
> Hi Matt,
> 
> Welcome to the list from me. It's funny because you have just 
> listed precisely the same server setup as we are launching 
> our new tomcat based app to this weekend and I have been 
> having night

R: configuring realm in web.xml

2004-04-05 Thread Simone - Dev
Thank you...
I found out that I can add a context.xml file in the META-INF dir of the
war file.
And this way they are loaded inside the context of the new deployed
context

Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> Inviato: lunedì 5 aprile 2004 16.48
> A: Tomcat Users List
> Oggetto: RE: configuring realm in web.xml
> 
> 
> 
> Hi,
> You can setup a DBCP connection pool wherever you want, but 
> then it's your code running it, not the tomcat built-in code 
> (and thus access is not via JNDI).  That's what I do so that 
> I don't rely on the server's connection pooling.
> 
> You cannot setup a realm completely in web.xml, as a Realm is 
> tomcat-specific and therefore it's declaration and definition 
> must be in a tomcat configuration file, e.g. server.xml or 
> your context XML file if you're using one.
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> >-Original Message-
> >From: Adam Hardy [mailto:[EMAIL PROTECTED]
> >Sent: Monday, April 05, 2004 8:54 AM
> >To: Tomcat Users List
> >Subject: Re: configuring realm in web.xml
> >
> >On 04/05/2004 02:02 PM Simone - Dev wrote:
> >> Hello All,
> >> I'm developing a webapplication that needs to authorize and
> authenticate
> >> users looking inside a database.
> >> Generally I'll be doing it adding a JDBCRealm inside the server.xml
> (or
> >> in the contex xml file)
> >> But I don't have access to these files.
> >> I'd like to know if it is possibile to define it inside the web.xml
> or
> >> if it's possibile to add some configuration for the 
> context using the 
> >> war archive.
> >>
> >> I looked on the web, and archive but didn't fine anything about it
> >
> >Hi Simone
> >I haven't seen it mentioned for months but it used to be possible to
> set
> >up a jakarta-commons DBCP connection pool outside server.xml 
> - I think 
> >it was done in struts-config.xml but I am not sure. You should check
> the
> >commons-user or the struts-user mailing list archive.
> >
> >Adam
> >--
> >struts 1.2 + tomcat 5.0.19 + java 1.4.2
> >Linux 2.4.20 Debian
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 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]



configuring realm in web.xml

2004-04-05 Thread Simone - Dev
Hello All,
I'm developing a webapplication that needs to authorize and authenticate
users looking inside a database.
Generally I'll be doing it adding a JDBCRealm inside the server.xml (or
in the contex xml file)
But I don't have access to these files.
I'd like to know if it is possibile to define it inside the web.xml or
if it's possibile to add some configuration for the context using the
war archive.
 
I looked on the web, and archive but didn't fine anything about it
 
Simone
 
-
Simone Chiaretta
  www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 


Tomcat Memory problems

2004-04-05 Thread Simone - Dev
Dear All,
I always used tomcat from the point of view of developer.
But now I'm starting to use it also as a sys admin.
 
>From time to time I'm getting OutOfMemoryError.
I've just 128Mb of Ram on my webserver, and I'm running on Linux. tomcat
5.0.18
 
What I see on the manager complete status is that I've 
Free memory: 10.59 MB Total memory: 44.62 MB Max memory: 63.56 MB
Max threads: 150 Min spare threads: 25 Max spare threads: 75 Current
thread count: 25 Current thread busy: 3

This is the command line used to start tomcat (as seen from the proc
directory for the PID of the main java process running)
/usr/java/current/bin/[EMAIL PROTECTED]/usr/tomcat/common/endo
[EMAIL PROTECTED]@/usr/java/current/lib/tools.jar:/usr/tomcat/bin/bootst
rap.jar:/usr/tomcat/bin/[EMAIL PROTECTED]/usr/to
[EMAIL PROTECTED]/usr/[EMAIL PROTECTED]/usr/tomcat/[EMAIL PROTECTED]
[EMAIL PROTECTED]@

And in the connector definition I've in the server.xml
 



 
I don't have many connection to the webserver, just 500-800 pages per
day, but when the above current thread count reaches the max of spare
threads the server goes in OutOfMemory.
 
What I'd like to know is some pointer on the memory management of
Tomcat, and, hopefully, some tips on what can be the problem in my
configuration.
 
thank you so much
Simone
 
-
Simone Chiaretta
  www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 


Shared WebServer

2004-03-29 Thread Simone - Dev
Hello All,
at the moment I'm managing a server with a single website developed by
myself.
But in the next few months I'm planning to share the server with other
websites, developed by other developers.
I'm running tomcat 5.0.18.
 
Is it possibile to prevent the application developed under these
websites to stay inside their directory, without being able to access
parent directories?
 
Thank you
Simone
 
-
Simone Chiaretta
  www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 


R: Problem using form login auth

2004-03-25 Thread Simone - Dev
Ops... Ur right
This is the same behvour with all application provided with tomcat,
too...
I never noticed, I alway thought that having the wrong role would have
been as having a wrong password.

Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Tim Funk [mailto:[EMAIL PROTECTED] 
> Inviato: giovedì 25 marzo 2004 15.08
> A: Tomcat Users List
> Oggetto: Re: Problem using form login auth
> 
> 
> What's there to solve? 403 is the HTTP response for not 
> authorized. There is 
> a large difference between authenticated and authorized.
> 
> You can set up a customized 403 error page for catching 
> unauthorized requests 
> (using web.xml)
> 
> 
> 
> -Tim
> 
> Simone - Dev wrote:
> 
> > Hello All,
> > I've a strange problem using the form login coupled with JDBCRealm.
> >  
> > This the web.xml I'm using
> >  
> > 
> > 
> >   Example Security Constraint
> >   
> >  Protected Area
> >  /protected/*
> > DELETE
> >  GET
> >  POST
> > PUT
> >   
> >   
> >manager
> >   
> > 
> >  
> > 
> > 
> > 
> >   FORM
> >   Example Form-Based Authentication 
> Area
> >   
> > /login.jsp
> > /error.jsp
> >   
> > 
> > 
> > 
> > 
> > 
> > An administrator
> > manager
> > 
> > 
> >  
> >  
> > The strange behaveur is that if I logon using a completely 
> wrong user 
> > (either user or password invalid) I get redirected to the error.jsp 
> > page but if I type in a user that has not the "manager" role I get 
> > redirected to the originally requested page 
> (/protected/index.jsp) but 
> > then get a 403 error (Access denied)
> >  
> > Can't get to solve this...
> 
> 
> -
> 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]



R: Problem using form login auth

2004-03-25 Thread Simone - Dev
Last thing that may help
 
activating the debug to 99 in the configuration of the JDBCRealm I see
"Username simone successfully authenticated" also when the rolename is
not inside the one allowed for the application 
 
 
-
Simone Chiaretta
 <http://www.piyosailing.com/S> www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

-Messaggio originale-
Da: Simone - Dev [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 25 marzo 2004 15.00
A: '[EMAIL PROTECTED]'
Oggetto: R: Problem using form login auth


Forgot to tell
 
I tryed also without JDBCRealm but the more usual Memory
 
and I'm using tomcat 5.0.18
 
Simone
 
 
-
Simone Chiaretta
 <http://www.piyosailing.com/S> www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

-Messaggio originale-
Da: Simone - Dev [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 25 marzo 2004 14.50
A: '[EMAIL PROTECTED]'
Oggetto: Problem using form login auth


Hello All,
I've a strange problem using the form login coupled with JDBCRealm.
 
This the web.xml I'm using
 


  Example Security Constraint
  
 Protected Area
 /protected/*
DELETE
 GET
 POST
PUT
  
  
   manager
  

 




  FORM
  Example Form-Based Authentication Area
  
/login.jsp
/error.jsp
  





An administrator
manager


 
 
The strange behaveur is that if I logon using a completely wrong user
(either user or password invalid) I get redirected to the error.jsp page
but if I type in a user that has not the "manager" role I get redirected
to the originally requested page (/protected/index.jsp) but then get a
403 error (Access denied)
 
Can't get to solve this...
 
Thank you
 
Simone
 
-
Simone Chiaretta
 <http://www.piyosailing.com/S> www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 



R: Problem using form login auth

2004-03-25 Thread Simone - Dev
Forgot to tell
 
I tryed also without JDBCRealm but the more usual Memory
 
and I'm using tomcat 5.0.18
 
Simone
 
 
-
Simone Chiaretta
 <http://www.piyosailing.com/S> www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

-Messaggio originale-
Da: Simone - Dev [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 25 marzo 2004 14.50
A: '[EMAIL PROTECTED]'
Oggetto: Problem using form login auth


Hello All,
I've a strange problem using the form login coupled with JDBCRealm.
 
This the web.xml I'm using
 


  Example Security Constraint
  
 Protected Area
 /protected/*
DELETE
 GET
 POST
PUT
  
  
   manager
  

 




  FORM
  Example Form-Based Authentication Area
  
/login.jsp
/error.jsp
  





An administrator
manager


 
 
The strange behaveur is that if I logon using a completely wrong user
(either user or password invalid) I get redirected to the error.jsp page
but if I type in a user that has not the "manager" role I get redirected
to the originally requested page (/protected/index.jsp) but then get a
403 error (Access denied)
 
Can't get to solve this...
 
Thank you
 
Simone
 
-
Simone Chiaretta
 <http://www.piyosailing.com/S> www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 



Problem using form login auth

2004-03-25 Thread Simone - Dev
Hello All,
I've a strange problem using the form login coupled with JDBCRealm.
 
This the web.xml I'm using
 


  Example Security Constraint
  
 Protected Area
 /protected/*
DELETE
 GET
 POST
PUT
  
  
   manager
  

 



  FORM
  Example Form-Based Authentication Area
  
/login.jsp
/error.jsp
  





An administrator
manager


 
 
The strange behaveur is that if I logon using a completely wrong user
(either user or password invalid) I get redirected to the error.jsp page
but if I type in a user that has not the "manager" role I get redirected
to the originally requested page (/protected/index.jsp) but then get a
403 error (Access denied)
 
Can't get to solve this...
 
Thank you
 
Simone
 
-
Simone Chiaretta
  www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 


R: [Tomcat Monitor] alpha version ready

2004-03-12 Thread Simone - Dev
Yeah, I know this,
In fact I was referring to the alpha Peter posted on his site.

I was just asking which logger do I've to choose.

Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> Inviato: venerdì 12 marzo 2004 14.52
> A: Tomcat Users List
> Oggetto: RE: [Tomcat Monitor] alpha version ready
> 
> 
> 
> Hi,
> 
> >Sorry about the question, maybe I misses something
> >But how can I setup Jmeter to monitor tomcat?
> 
> You did miss something: search for Peter's posts over the 
> past few days, and you'll see this is an in-development 
> feature not yet available in the general JMeter releases.
> 
> >> there will be a delay in the graph, depending on the timer 
> interval 
> >> and response time. I'll test the graph component by itself and 
> >> profile it.  When I decrease the timer interval to 400ms, it works 
> >> quite nicely.  what's the specs of your machine.  So far I've only 
> >> tested it on m laptop.
> 
> Yeah, modifying the timer refresh from 5s to 1s worked nicely for me.
> 
> Yoav Shapira
> 
> 
> 
> 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]



R: [Tomcat Monitor] alpha version ready

2004-03-12 Thread Simone - Dev
Sorry about the question, maybe I misses something
But how can I setup Jmeter to monitor tomcat?
Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Peter Lin [mailto:[EMAIL PROTECTED] 
> Inviato: venerdì 12 marzo 2004 14.24
> A: Tomcat Users List
> Oggetto: Re: [Tomcat Monitor] alpha version ready
> 
> 
>  
> Hi remy,
>  
>  
> there will be a delay in the graph, depending on the timer 
> interval and response time. I'll test the graph component by 
> itself and profile it.  When I decrease the timer interval to 
> 400ms, it works quite nicely.  what's the specs of your 
> machine.  So far I've only tested it on m laptop.
>  
> if you get a chance to try it against the nightly jboss, I'd 
> love to hear how it went :)
>  
> peter lin
>  
> 
> 
> Remy Maucherat <[EMAIL PROTECTED]> wrote:
> Peter Lin wrote:
> 
> > 
> > Latest screen shot http://cvs.apache.org/~woolfel/alpha-mon-cap.png
> > 
> > http://tao.altern8.net/jmeter-mon.zip
> > 
> > 
> > I've tested it quite a bit today. This weekend I plan to run a 
> > long-ish test and let the monitor run for 48+ hours to see 
> if memory 
> > consumption grows. So far for short durations 30 min, the 
> memory usage 
> > remains flat. What it is capable of doing.
> > 
> > 1. monitor multiple servers a. add new thread group with 1 
> thread b. 
> > add constant timer c. add config element -> authentication 
> d. add http 
> > sampler e. check "use as monitor"
> > 
> > 2. it will display the health of the servers in the "Health" tab
> > 
> > 3. it will display the "heart beat" a.k.a performance history
> > 
> > 4. you can stop and clear the results
> > 
> > I tried to get all the bugs out I can. I'm hoping people 
> will give it 
> > a try. Especially those who have a staging environment with many 
> > servers or people working on clustering. to use it, you need to be 
> > using a nightly snapshot of TC5 from this week.
> > 
> > As usual, send all comments to me directly.
> 
> Good :)
> There's a problem: the path to Java is hardcoded in the .bat 
> script. You 
> should use JAVA_HOME instead, I think.
> 
> It works well enough otherwise, but I dont understand what 
> the "memory 
> graph" represents ? The percentage of free mem ? (in which 
> case the load 
> should increase when it goes down)
> I found the graph page to be quite slow to display (and made 
> my computer 
> sluggish - obviously my setup wasn't optimal as everything 
> was running 
> on one machine: TC, ab and JMeter), could this be improved a 
> bit ? I think this will work with JBoss as well, but not with 
> the current JB 
> 3.2.4-RC1 (which includes TC 5.0.19). The next releases (incl 
> JB 4 DR 3) 
> will have all the needed fixes to XML output.
> 
> -- 
> x
> Rémy Maucherat
> Developer & Consultant
> JBoss Group (Europe) SàRL
> x
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> 


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



R: Error sending mail from web after upgrading from tomcat 4.0.4 to 5.0.18

2004-03-12 Thread Simone - Dev
Fixed
I forgot to copy in the common/lib
Mail.jar
Activation.jar

Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Simone - Dev [mailto:[EMAIL PROTECTED] 
> Inviato: venerdì 12 marzo 2004 14.03
> A: '[EMAIL PROTECTED]'
> Oggetto: Error sending mail from web after upgrading from 
> tomcat 4.0.4 to 5.0.18
> 
> 
> Hello,
> I upgraded my webserver from 4.0.4 to 5.0.18 but now the 
> script I used to send emails from a webpage doesn't work any more:
> 
> This is the error I get:
> -
> An error occurred at line: 2 in the jsp file: /inviaIscrizione.jsp
> 
> Generated servlet error:
> [javac] Compiling 1 source file
> 
> /usr/jakarta-tomcat-5.0.18/work/Catalina/www.carriavela-rc.com
> /_/org/apache/jsp/inviaIscrizione_jsp.java:7: package 
> javax.mail does not exist import javax.mail.*; ^
> /usr/jakarta-tomcat-5.0.18/work/Catalina/www.carriavela-rc.com
> /_/org/apache/jsp/inviaIscrizione_jsp.java:8: package 
> javax.mail.internet does not exist import javax.mail.internet.*; ^
> /usr/jakarta-tomcat-5.0.18/work/Catalina/www.carriavela-rc.com
> /_/org/apache/jsp/inviaIscrizione_jsp.java:51: cannot resolve 
> symbol symbol  : class Session 
> location: class org.apache.jsp.inviaIscrizione_jsp
> Session sendMailSession;
> ^
> -
> 
> Any hints?
> Simone
> 
> -
> Simone Chiaretta
> www.piyosailing.com/S
> Any sufficiently advanced technology is indistinguishable 
> from magic "Life is short, play hard"
> 


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



Error sending mail from web after upgrading from tomcat 4.0.4 to 5.0.18

2004-03-12 Thread Simone - Dev
Hello,
I upgraded my webserver from 4.0.4 to 5.0.18 but now the script I used
to send emails from a webpage doesn't work any more:

This is the error I get:
-
An error occurred at line: 2 in the jsp file: /inviaIscrizione.jsp

Generated servlet error:
[javac] Compiling 1 source file

/usr/jakarta-tomcat-5.0.18/work/Catalina/www.carriavela-rc.com/_/org/apa
che/jsp/inviaIscrizione_jsp.java:7: package javax.mail does not exist
import javax.mail.*;
^
/usr/jakarta-tomcat-5.0.18/work/Catalina/www.carriavela-rc.com/_/org/apa
che/jsp/inviaIscrizione_jsp.java:8: package javax.mail.internet does not
exist
import javax.mail.internet.*;
^
/usr/jakarta-tomcat-5.0.18/work/Catalina/www.carriavela-rc.com/_/org/apa
che/jsp/inviaIscrizione_jsp.java:51: cannot resolve symbol
symbol  : class Session 
location: class org.apache.jsp.inviaIscrizione_jsp
Session sendMailSession;
^
-

Any hints?
Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


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



R: server status from console

2004-03-08 Thread Simone - Dev
The idea was using a console so that I don't access the web page.
Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> Inviato: lunedì 8 marzo 2004 23.54
> A: Tomcat Users List
> Oggetto: RE: server status from console
> 
> 
> 
> Hi,
> 
> >I just installed the 5.0.18 version (upgrading from 4.0.4) and I was 
> >impressed by the complete server status in the manager. Is 
> there a way 
> >to have the same output from the server console instead from a web 
> >page?
> 
> wget or your favorite network client tool, maybe?  ;)  
> There's no script that comes with tomcat for this.
> 
> Yoav Shapira
> 
> 
> 
> 
> 
> 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]



server status from console

2004-03-08 Thread Simone - Dev
Hello,
I just installed the 5.0.18 version (upgrading from 4.0.4) and I was
impressed by the complete server status in the manager.
Is there a way to have the same output from the server console instead
from a web page?
Simone
 
-
Simone Chiaretta
  www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 


R: Suggestion on where to put mysql driver

2004-03-05 Thread Simone - Dev
Thanx a lot.
Simone

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Alex [mailto:[EMAIL PROTECTED] 
> Inviato: venerdì 5 marzo 2004 17.26
> A: Tomcat Users List
> Oggetto: Re: Suggestion on where to put mysql driver
> 
> 
> 
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasourc
> e-examples-howto.html
> 
> Depends on how you want it exposed and what you are doing 
> with it. There's a plethora of documentation online.  
> common/lib will be exposed to all your webapps.
> 
> On Fri, 5 Mar 2004, Simone - Dev wrote:
> 
> > Date: Fri, 5 Mar 2004 17:32:47 +0100
> > From: Simone - Dev <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> > Subject: Suggestion on where to put mysql driver
> >
> > hello all,
> > I'm installing a new server and I'd like know where should 
> I put the 
> > mysql jdbc driver. In all my other server I installed them in the 
> > $JAVA_HOME/jre/lib/ext But I suppose this is not the best 
> position for 
> > it.
> >
> > Where do u suggest to put it?
> > Common
> > Shared
> > in each webapp WEB-INF/lib
> >
> > Thank you
> > Simone
> 
> 
> -
> 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]



Suggestion on where to put mysql driver

2004-03-05 Thread Simone - Dev
hello all,
I'm installing a new server and I'd like know where should I put the
mysql jdbc driver.
In all my other server I installed them in the $JAVA_HOME/jre/lib/ext
But I suppose this is not the best position for it.
 
Where do u suggest to put it?
Common
Shared
in each webapp WEB-INF/lib
 
Thank you
Simone
-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 


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



R: R: How to use MSSQL

2004-01-30 Thread Simone - Dev
Ops...
I confused it...pardon me :(

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: Daniel Gibby [mailto:[EMAIL PROTECTED] 
> Inviato: venerdì 30 gennaio 2004 18.12
> A: Tomcat Users List
> Oggetto: Re: R: How to use MSSQL
> 
> 
> Except they are talking about MS SQL, not MySQL. MS meaning 
> Microsoft. 
> It confused me for a second at first. People should at least separate 
> the MS from the SQL. I think microsoft is trying to promote 
> the usage of 
> saying MSSQL so that people will think that MySQL is really 
> MSSQL, or so 
> that MSSQL has better brand recognition and MySQL has less. 
> It wouldn't 
> suprise me.
> 
> Daniel Gibby
> 
> Simone - Dev wrote:
> 
> >Well
> >A link list will not be complete without the native mysql 
> jdbc driver: 
> >The mysql connector/J available from MySql at 
> >http://www.mysql.com/products/connector-j/index.html
> >
> >-
> >Simone Chiaretta
> >www.piyosailing.com/S
> >Any sufficiently advanced technology is indistinguishable from magic 
> >"Life is short, play hard"
> >
> >
> >  
> >
> >>-Messaggio originale-
> >>Da: epyonne [mailto:[EMAIL PROTECTED]
> >>Inviato: venerdì 30 gennaio 2004 17.54
> >>A: Tomcat Users List; [EMAIL PROTECTED]
> >>Oggetto: Re: How to use MSSQL
> >>
> >>
> >>Use the Type 4 JDBC driver for SQL Server and you will be
> >>fine.  You didn't mention what version you are using.  My 
> >>suggestion is to stay away from anything older than SQL Server 2000.
> >>
> >>One more thing.  Be sure to check with Microsoft on the
> >>upgrade plan to the SQL Server Yukon which is coming out 
> >>later this year.  Planning ahead will save yourself a lot of 
> >>grief down the road.
> >>
> >>Hope this helps.
> >>
> >>
> >>- Original Message -
> >>From: "Phil Cox" <[EMAIL PROTECTED]>
> >>To: <[EMAIL PROTECTED]>
> >>Sent: Friday, January 30, 2004 10:10 AM
> >>Subject: How to use MSSQL
> >>
> >>
> >>
> >>
> >>>I am new to tomcat, and was trying to find info on using MSSQL as a
> >>>datasource. Any pointers?
> >>>
> >>>Thanks
> >>>
> >>>Phil
> >>>
> >>>SystemExperts Corporation
> >>>Philip C. Cox, Consultant
> >>>
> >>>+1 (888) 749-9800 (Corp HQ, toll free, USA only)
> >>>+1 (530) 887-9251 (main)
> >>>+1 (530) 887-9253 (fax)
> >>>http://www.SystemExperts.com/
> >>>
> >>>Author of Windows 2000 Security Handbook
> >>>http://www.systemexperts.com/win2k.html
> >>>
> >>>
> >>>
> >>>
> >>>  
> >>>
> >>
> -
> >>
> >>
> >>>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]



R: How to use MSSQL

2004-01-30 Thread Simone - Dev
Well
A link list will not be complete without the native mysql jdbc driver:
The mysql connector/J available from MySql at
http://www.mysql.com/products/connector-j/index.html

-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


> -Messaggio originale-
> Da: epyonne [mailto:[EMAIL PROTECTED] 
> Inviato: venerdì 30 gennaio 2004 17.54
> A: Tomcat Users List; [EMAIL PROTECTED]
> Oggetto: Re: How to use MSSQL
> 
> 
> Use the Type 4 JDBC driver for SQL Server and you will be 
> fine.  You didn't mention what version you are using.  My 
> suggestion is to stay away from anything older than SQL Server 2000.
> 
> One more thing.  Be sure to check with Microsoft on the 
> upgrade plan to the SQL Server Yukon which is coming out 
> later this year.  Planning ahead will save yourself a lot of 
> grief down the road.
> 
> Hope this helps.
> 
> 
> - Original Message -
> From: "Phil Cox" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 30, 2004 10:10 AM
> Subject: How to use MSSQL
> 
> 
> > I am new to tomcat, and was trying to find info on using MSSQL as a 
> > datasource. Any pointers?
> >
> > Thanks
> >
> > Phil
> > 
> > SystemExperts Corporation
> > Philip C. Cox, Consultant
> >
> > +1 (888) 749-9800 (Corp HQ, toll free, USA only)
> > +1 (530) 887-9251 (main)
> > +1 (530) 887-9253 (fax)
> > http://www.SystemExperts.com/
> >
> > Author of Windows 2000 Security Handbook 
> > http://www.systemexperts.com/win2k.html
> >
> >
> >
> > 
> -
> > 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]