You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by FRANCOIS Dufour <fr...@hotmail.com> on 2004/02/04 21:09:45 UTC

another newbie stupid question?

hi to all sorry to distube you guys again

i have to add java user for a tomcat aplication under mysql from the dos 
shell
is ther someone that could explain me how to..? please
thanks in advance



francoisdufour@hotmail.com
administrateur http://entre-nous.qc.tc





>From: Papillon <le...@wanadoo.fr>
>Reply-To: "Tomcat Users List" <to...@jakarta.apache.org>
>To: Tomcat Users List <to...@jakarta.apache.org>
>Subject: Re: Is this a Tomcat problem? Someone please point me in theright 
>direction to solve this problem...
>Date: Wed, 04 Feb 2004 16:02:17 -0500
>
>Try burp proxy (Thanks again Mr Yansheng Lin) to see differences.
>Your server have only one ip ? No NAT on your network ? WAN adress ?
>My problem is not the same but perhaps it can help you in research :
>http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg117526.html
>
>Good luck !
>
>
>
> > De : "Chugh, Sanjay" <sc...@filenet.com>
> > Répondre à : "Tomcat Users List" <to...@jakarta.apache.org>
> > Date : Wed, 4 Feb 2004 12:43:40 -0700
> > À : "Tomcat Users List" <to...@jakarta.apache.org>
> > Objet : Is this a Tomcat problem? Someone please point me in the right
> > direction to solve this problem...
> >
> > I am part of a large team working on a java project with Tomcat. We are
> > using jdk1.3.1 and Tomcat 4.1.18. The problem is that the latest build
> > of our application has a problem on my machine. I've tracked it down to
> > what seems like a problem with the session. When code that retreives
> > information from the session is executed, it is not giving a valid
> > result back. The part that I am having problem with is that it is a
> > problem only on my machine. In fact if I hit the Tomcat server on my
> > machine from another machine on the network, then everything works fine
> > as well. The same is true if I hit the Tomcat server on my machine from
> > a virtual machine running also on my machine. It is only when I run the
> > application itself on my machine. I did just check one other thing. That
> > is I started IE on my machine but hit the tomcat server on another
> > physical machine. This time the application worked fine on my machine.
> > This is all very confusing, and I am at a loss to explain what is is on
> > my machine or my tomcat server that is causing a problem.
> >
> > I've compared the different machine configuration (they are all pretty
> > similar). The Internet Explore options on all the machines are
> > identical.
> >
> > I would apreciate any ideas someone might have to offer.
> >
> > Thanks,
> >
> >
> > -- Sanjay
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: another newbie stupid question?

Posted by arvind singh <si...@hotmail.com>.
USE mysql;
GRANT ALL PRIVILEGES ON "Your Database".*  TO youruser@localhost.localdomain
IDENTIFIED BY 'yourpassword";
GRANT ALL PRIVILEGES ON "Your Database".*  TO youruser@localhost IDENTIFIED
BY 'yourpassword";
FLUSH PRIVILEGES;

Connection Parameters for MySQL:

DBServerName=localhost
DBName=/yourdb?autoReconnect=true
DBUserName=youruser
DBPassword=yourpassword
JDBCDriverName=jdbc:mysql://
DBServerPort=3306
DBDriverName=com.mysql.jdbc.Driver



----- Original Message -----
From: "FRANCOIS Dufour" <fr...@hotmail.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, February 04, 2004 3:09 PM
Subject: another newbie stupid question?


> hi to all sorry to distube you guys again
>
> i have to add java user for a tomcat aplication under mysql from the dos
> shell
> is ther someone that could explain me how to..? please
> thanks in advance
>
>
>
> francoisdufour@hotmail.com
> administrateur http://entre-nous.qc.tc
>
>
>
>
>
> >From: Papillon <le...@wanadoo.fr>
> >Reply-To: "Tomcat Users List" <to...@jakarta.apache.org>
> >To: Tomcat Users List <to...@jakarta.apache.org>
> >Subject: Re: Is this a Tomcat problem? Someone please point me in
theright
> >direction to solve this problem...
> >Date: Wed, 04 Feb 2004 16:02:17 -0500
> >
> >Try burp proxy (Thanks again Mr Yansheng Lin) to see differences.
> >Your server have only one ip ? No NAT on your network ? WAN adress ?
> >My problem is not the same but perhaps it can help you in research :
> >http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg117526.html
> >
> >Good luck !
> >
> >
> >
> > > De : "Chugh, Sanjay" <sc...@filenet.com>
> > > Répondre à : "Tomcat Users List" <to...@jakarta.apache.org>
> > > Date : Wed, 4 Feb 2004 12:43:40 -0700
> > > À : "Tomcat Users List" <to...@jakarta.apache.org>
> > > Objet : Is this a Tomcat problem? Someone please point me in the right
> > > direction to solve this problem...
> > >
> > > I am part of a large team working on a java project with Tomcat. We
are
> > > using jdk1.3.1 and Tomcat 4.1.18. The problem is that the latest build
> > > of our application has a problem on my machine. I've tracked it down
to
> > > what seems like a problem with the session. When code that retreives
> > > information from the session is executed, it is not giving a valid
> > > result back. The part that I am having problem with is that it is a
> > > problem only on my machine. In fact if I hit the Tomcat server on my
> > > machine from another machine on the network, then everything works
fine
> > > as well. The same is true if I hit the Tomcat server on my machine
from
> > > a virtual machine running also on my machine. It is only when I run
the
> > > application itself on my machine. I did just check one other thing.
That
> > > is I started IE on my machine but hit the tomcat server on another
> > > physical machine. This time the application worked fine on my machine.
> > > This is all very confusing, and I am at a loss to explain what is is
on
> > > my machine or my tomcat server that is causing a problem.
> > >
> > > I've compared the different machine configuration (they are all pretty
> > > similar). The Internet Explore options on all the machines are
> > > identical.
> > >
> > > I would apreciate any ideas someone might have to offer.
> > >
> > > Thanks,
> > >
> > >
> > > -- Sanjay
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
> _________________________________________________________________
> MSN Messenger : discutez en direct avec vos amis !
> http://messenger.fr.msn.ca/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org