[jboss-user] [Datasource Configuration] - mysql javax.naming.NameNotFoundException

2011-02-12 Thread pippodev
pippodev [http://community.jboss.org/people/pippodev] created the discussion

mysql  javax.naming.NameNotFoundException

To view the discussion, visit: http://community.jboss.org/message/587063#587063

--
I have the error  javax.naming.NameNotFoundException: prova not bound

my mysql-ds.xml:

?xml version=1.0 encoding=UTF-8?
datasources



  local-tx-datasource

    jndi-nameprova/jndi-name

    
connection-urljdbc:mysql://localhost:3306/prova/connection-url

    driver-classcom.mysql.jdbc.Driver/driver-class

    user-nameroot/user-name

    passwordroot/password

    !-- should only be used on drivers after 3.22.1 with 
ping support

    
valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker/valid-connection-checker-class-name

    -- 



    metadata

    type-mappingmySQL/type-mapping

    /metadata

  /local-tx-datasource

/datasources




prova is in the  java: namespace but not in the Global JNDI Namespace


h1. java: Namespace

   [.]
  +- prova (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  +- timedCacheFactory (class: javax.naming.Context)






I'm using jboss-5.0.1.GA
--

Reply to this message by going to Community
[http://community.jboss.org/message/587063#587063]

Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1containerType=14container=2077]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: javax.naming.NameNotFoundException: DefaultDS not bound

2011-02-10 Thread pippodev
pippodev [http://community.jboss.org/people/pippodev] created the discussion

Re: javax.naming.NameNotFoundException: DefaultDS not bound

To view the discussion, visit: http://community.jboss.org/message/586623#586623

--
prova is in the  java: namespace but not in the Global JNDI Namespace


h1. java: Namespace

   [.]
  +- prova (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  +- timedCacheFactory (class: javax.naming.Context)
--

Reply to this message by going to Community
[http://community.jboss.org/message/586623#586623]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1containerType=14container=2075]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - javax.naming.NameNotFoundException: DefaultDS not bound

2011-02-09 Thread pippodev
pippodev [http://community.jboss.org/people/pippodev] created the discussion

javax.naming.NameNotFoundException: DefaultDS not bound

To view the discussion, visit: http://community.jboss.org/message/586441#586441

--
well I put mysql-connector-java-5.1.14-bin.jar in default/lib  dir, 
created mysql-ds.xml in defautl/deploy

?xml version=1.0 encoding=UTF-8?
datasources



  local-tx-datasource

    jndi-nameDefaultDS/jndi-name

    
connection-urljdbc:mysql://localhost:3306/prova/connection-url

    driver-classcom.mysql.jdbc.Driver/driver-class

    user-nameroot/user-name

    passwordroot/password

    !-- should only be used on drivers after 3.22.1 with 
ping support

    
valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker/valid-connection-checker-class-name

    -- 



    metadata

    type-mappingmySQL/type-mapping

    /metadata

  /local-tx-datasource

/datasources





but I have the error  javax.naming.NameNotFoundException: DefaultDS not bound 
both I use 


ds = (DataSource)  PortableRemoteObject.narrow(ictx.lookup(java:DefaultDS), 
DataSource.class);


or


ds = (DataSource)ictx.lookup(DefaultDS);
--

Reply to this message by going to Community
[http://community.jboss.org/message/586441#586441]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1containerType=14container=2075]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - differet memory usage

2009-06-16 Thread pippodev
In my local and remote JBoss I set 
-Xms170m 
-Xmx170m 

Running the same application I have :
Total Memory: 176947200
Free Memory: 136908704

in local and :

Total Memory: 176947200
Free Memory: 49516976

in remote!
The only difference is that local JBoss is 4.2.2 and remote is 5.0..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4237828#4237828

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237828
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - hot redeploy, why not?

2009-05-20 Thread pippodev
I tried, I tried, I tried, but nothing to do for EJB hot redeploy. Anyone can 
help me? (I use Jboss 5.0.0))

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232117#4232117

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232117
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - changes in a redeploied EJB jar

2009-05-18 Thread pippodev
I want see the code changes when I redeploy an EJB; another way to say is that 
I want that JBoss reloads the classes in my EJB.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231712#4231712

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: packaging problem

2009-05-14 Thread pippodev
I put the JAR library in lib directory and all works godd!
Thank you, bye

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231103#4231103

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231103
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - packaging problem

2009-05-13 Thread pippodev
I have tre component: wab application, EJBmodule and a class library ( this 
last packaged as jar). Web application and Ejb modules use the jar classes, and 
web application calls EJB methods.
I tried to deploy all the separate component with JBoss 4.2.2 (putting all in 
the deploy directory), but the EJB module doesnt load the classes of the jar 
(nut web application do it!).
A complication: I want reload the EJB module (so the calls to EJB will not work 
during the reloading) without restart the server so the web application classes 
that use the jar but not the EJB will continue to work.
How can I do?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4230887#4230887

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4230887
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - change welcome page

2009-05-12 Thread pippodev
HI, I want change my welcome page, I use Jboss 4.2.2 in my web site. How can i 
do?

I'd prefer that jboss automatically sends visitators to the main web 
application, so the first page will become the welcome page of this 
application... another thing: is possiblie that this main application has no 
context path (so to refer to HelloServlet I can use 
http://mydomain/HelloServlet instead  of 
http://mydomain/mainapplication/HelloServlet)?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4230532#4230532

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4230532
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: change welcome page

2009-05-12 Thread pippodev
Perfect, thank you!
The only bad thing is that all visitars could be access to the jmx-console. Do 
you know how block access to it?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4230580#4230580

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4230580
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user