Shane Connors

Greenhorn
+ Follow
since Oct 29, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shane Connors

Jaikiran Pai wrote:Ah, so you are looking it up in a ServletContextListener when the context is initialized. I'm not sure the JNDI java:comp/env is setup correctly at that time.

By the way, why do you want to hold the DB connection in the ServletContextListener?



Well...

its working fine with tomcat 6, i wanted to shift this to JBoss 4.2, i couldnt do that because of this issue..
11 years ago
Hi,

Can you show me the java coding you used to get the DB connection through datasource.
11 years ago


You sure no one is allowed to access the JBoss Management cosole, if someone can access it, they can shutdown it
11 years ago

Jaikiran Pai wrote:Please post the entire exception stacktrace and the relevant code from your servlet which calls this class.



Complete stack trace is huge, i have copied some part



Servlet

PropertyLoader

11 years ago

Jaikiran Pai wrote:Is that "Java class" a servlet? You can't use the java:comp/env in any Java class. It has to be an enterprise component (like servlet).



Hi,

Thats a normal java class, servlet calls this class to get DB connection. wht should i do here?

i have tested this with below coding too
11 years ago
Just to remind im using JBoss4.2 in Windows XP
11 years ago
Hi Guys,

here is my datasource file in JBOSS\deploy folder - (flytours-ds.xml)

####my web.xml file######

####jboss-web.xml#####


#### Java class####




When staring the server it throws this exception,


can anyone suggest me a way to get this working?
11 years ago
Hi Guys,

I want to generate multiple checkboxes depending of a collection in managedBean's property, and the form is having a <a4j:commandButton> ,
Problem is how can i know what are the selected checkboxes on Ajax submit. Here is my coding...




I think we should put seperate unique properties for each and every JSF component in managed bean, but those cannot generate dynamically, i think the problem is clear to you now... Hope any of you will answer this...

Thank you very much in advance
12 years ago
JSF
Hi Guys,

here is my code,




my question is how can i left align the text in the <f:facet> in that dataTable
anyone can give me an idea....?
12 years ago
JSF