You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yaroslav Alpizar Zhuravliov <ya...@yahoo.com> on 2005/02/16 15:56:09 UTC

connecting to MySql database

Hi again...I�m new here...

I�ve these piece of code and can�t find the error in
the struts-config.xml:

- <!--  ==================================== Data
Source Configuration 
  --> 
- <data-sources>
- <data-source>
  <set-property property="description" value="SCIWARE
Data Source Configuration to mySQL" /> 
  <set-property property="driverClass"
value="org.gjt.mm.mysql.Driver" /> 
  <set-property property="maxWait" value="10000" /> 
  <set-property property="maxIdle" value="30" /> 
  <set-property property="maxActive" value="100" /> 
  <set-property property="url"
value="jdbc:mysql://localhost:3096/sciware?autoReconnect=true"
/> 
  <set-property property="user" value="sciware" /> 
  <set-property property="password" value="aest" /> 
  </data-source>
  </data-sources>


I checked the form-beans and the action-mapping and
seems to be all right...

Any idea will appreciated...thanks

=====
Yaroslav J. Alp�zar Zhuravlev
System Administrator
Departament de Quimica
UIB Universitat de les Illes Balears

"...go out there and see how deep the rabbit hole is..."
                                                  Morpheus


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

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


Re: [OT]connecting to MySql database

Posted by David Smith <dn...@cornell.edu>.
Technically speaking, this is off-topic and marked as such.

Take a look at this for more info:
http://struts.apache.org/faqs/database.html

On the surface, I see a missing type attribute on the <data-source> 
element and you should probably be using com.mysql.jdbc.Driver for the 
driver class property if you have a recent version of the mysql jar file.

--David

Yaroslav Alpizar Zhuravliov wrote:

>Hi again...I´m new here...
>
>I´ve these piece of code and can´t find the error in
>the struts-config.xml:
>
>- <!--  ==================================== Data
>Source Configuration 
>  --> 
>- <data-sources>
>- <data-source>
>  <set-property property="description" value="SCIWARE
>Data Source Configuration to mySQL" /> 
>  <set-property property="driverClass"
>value="org.gjt.mm.mysql.Driver" /> 
>  <set-property property="maxWait" value="10000" /> 
>  <set-property property="maxIdle" value="30" /> 
>  <set-property property="maxActive" value="100" /> 
>  <set-property property="url"
>value="jdbc:mysql://localhost:3096/sciware?autoReconnect=true"
>/> 
>  <set-property property="user" value="sciware" /> 
>  <set-property property="password" value="aest" /> 
>  </data-source>
>  </data-sources>
>
>
>I checked the form-beans and the action-mapping and
>seems to be all right...
>
>Any idea will appreciated...thanks
>
>=====
>Yaroslav J. Alpízar Zhuravlev
>System Administrator
>Departament de Quimica
>UIB Universitat de les Illes Balears
>
>"...go out there and see how deep the rabbit hole is..."
>                                                  Morpheus
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Mail - now with 250MB free storage. Learn more.
>http://info.mail.yahoo.com/mail_250
>
>---------------------------------------------------------------------
>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


tomcat and apples

Posted by "[xm] Agarlita, Dan" <da...@xm-zone.com>.
Hi,
    I try to put applets in html pages under Tomcat 5.0

    when I try to look at the result, the applet is not started
    and I have the following error...

    java.security.AccessControlException: access denied 
(java.net.SocketPermission 10 resolve)
 at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
 at 
java.security.AccessController.checkPermission(AccessController.java:401)
....


Can anyone tell me something about this error?

Have a nice day,
Dan a. 


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