[Installation, Configuration & DEPLOYMENT] - Re: JBoss 4.2.2 and APR overrides java.library.path
by edykory
Ok, I will try that. Well, I was also wondering why do they set it up as bin/native on linux only (on windows, run.bat sets the java.library.path to bin/native;%PATH%, which makes more sense, but on linux that doesn't do the trick either).
On the other hand, with that line commented, I don't get the "APR libraries not found" warning from JBoss, so it might work with the lines commented. Anyway, I'll give it a try and set it to LD_LIBRARY_PATH.
Thanx a lot for the support.
Eduard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136530#4136530
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136530
18 years, 1 month
[JNDI/Naming/Network] - META-INF/context.xml
by ozguy
Hi
Hope someone can help me out with this problem.
I have datasource definitions in the *-ds.xml which is deployed in the default/deploy folder of Jboss.
Now i want to use these datasource in my web app, so i have a jboss-web.xml file which looks as follows:
jboss-web.xml
<resource-ref>
<res-ref-name>jdbc/questionnaire_DS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:jdbc/questionnaire_DS</jndi-name>
</resource-ref>
I want to use ResourceLink in the in the META-INF/context.xml to define the link to the jndi as follows:
META-INF/context.xml
When i startup the application. i get the Exception saying the deployment scanner was looking for the res-ref in the web.xml.
If i put the <resource-ref> ... in web.xml it works.
But is there a way to make it Read the context.xml file instead of complaining
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136525#4136525
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136525
18 years, 1 month