|
Pessoal Obrigado pelas dicas e os exemplos, entrei
no help do TomCat e estou tentando implementar o exemplo.
Mas estou com o seguinte erro...
Erro: Verifique o CLASSPATH - msg:
javax.naming.NoInitialContextException: Need to specify class na
me in environment or system property, or as an applet parameter, or in an application resource file : java.naming.factory.initial javax.naming.NoInitialContextException: Need to specify class name in environment or system propert y, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at DataBase.getInstance(DataBase.java:105) at DataBase.main(DataBase.java:129) eu criei o seguinte diretorio no tomcat
myteste/DataSourceTest
no arq. server.xml
<context
path="/myteste/DataSourceTest"
docBase= "DataBase" (estah eh minha classe n.
eh???"...
>
E AIH FUI SEGUINDO O EXEMPLO
o q. serah q. estou fazendo de
errado..
Obrigado
|
- [enterprise-list] Pool de Conex�es no IAS 9.0.2 Rafael
- Re: [enterprise-list] Pool de Conex?es no IAS 9.0.... Maiko A. Rocha
- [enterprise-list] DataSource + TomCat +SQLServ... sobral.terra
- [enterprise-list] DataSource + TomCat +SQLServer sobral.terra
- Re: [enterprise-list] DataSource + TomCat +SQL... André Marinho
- Re: [enterprise-list] DataSource + TomCat ... sobral.terra
