[JNDI/Naming/Network] - JNDI using spring (URGENT)
by fsamara
Hey list,
I am trying to setup my environment with JBOSS 4.
I am using spring as well. Oracle backend. Below are my configs.
I created an oracle-xa-ds.xml in DEPLY dir.
contents of oracle-xa-ds.xml
<xa-datasource>
<jndi-name>gisr</jndi-name>
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
<xa-datasource-property name="URL">jdbc:oracle:thin:@63.88.245.92:1521:gisr1</xa-datasource-property>
<xa-datasource-property name="User">gisrnew</xa-datasource-property>
<xa-datasource-property name="Password">gisrnew</xa-datasource-property>
<!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
<!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
<!-- Checks the Oracle error codes and messages for fatal errors -->
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa -->
<no-tx-separate-pools/>
</xa-datasource>
and applicationContext.xml
java:/gisr
true
i am getting this error
javax.naming.NamingException: JNDI object with [java:/gisr] not found: JNDI implementation returned null
any help appreciated.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967717#3967717
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967717
19 years, 8 months
[JBoss Portal] - selecting suitable UI technology
by ikazarno
hi people!
In this topic I would like to discuss which UI technology is currently the best choice for the development of the JSR 168 portlets.
Over past two years I have used a self developed framework. However it's a time to switch to a widely-used technology because at first we are going to start a new project and secondly several new developers have been added to our team and of course it makes no sense to confront them with a proprietary framework but rather to choose a widely-used one.
After short research the first choice that I made was JSF. I have used the myfaces libraries delivered with the JBoss Portal. However there is some problems with the datascroller and fileupload components. These issues are described at the following site:
http://wiki.apache.org/myfaces/Using_Portlets.
I think that a spring portlet framework is a possible solution but before I start the development I would like to ask the community for advice. Thanks in advance for a productive brainstorming session.
Igor
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967714#3967714
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967714
19 years, 8 months
[EJB 3.0] - Random javax.naming.NameNotFoundException
by volga
Hello,
I noticed that when running the JBoss 4.0.4.GA from IDEA undex WinXP, and running a remote client from IDEA too, I get a javax.naming.NameNotFoundException about 50% of the time.
The application is the Calculator example from the TrailBlazer, sligthly modified to use a remote client. This happens with or without security policy.
When using the Debug mode for the client, it doesn't happen. (Evething works fine).
If I run the server outside of IDEA and the client in IDEA, everything works fine.
It can be very confusing (and it has been for me a 20 hours research to isolate this use case, so it may be woth exposing here.
BTW, whatever teh reason, the error message is not the one we should receive, so one might eventualy call it a bug.
Pierre-Yves
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967704#3967704
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967704
19 years, 8 months