[JBoss-user] [JCA/JBoss] - Re: RA configuration question - config-properties

2006-01-23 Thread galderz
Have you tried using exploded deployments by any chance? http://jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment I think you might be able to do a similar thing for RAR files but I'm not 100% sure. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919224#3919224

[JBoss-user] [JCA/JBoss] - Re: RA configuration question - config-properties

2006-01-20 Thread galderz
The is part of the resource adapter core definition. This type of elements are not configurable externally. You can only configure externally details about the different connection factories and pools via '*ds.xml' file. You should be able to find more information in the JCA specification as t

[JBoss-user] [JCA/JBoss] - Re: Is it possible to connect at multiples databases ???

2006-01-06 Thread galderz
a datasource file (ds.xml) can contain references to multiple databases/datasources. jboss-dtd_1_5.dtd: you would need to link each to client to each datasource. hope this helps :-D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916095#3916095 Reply to t

[JBoss-user] [JCA/JBoss] - Re: Is it possible to connect at multiples databases ???

2006-01-04 Thread galderz
are you accessing the database via entity beans? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915627#3915627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915627

[JBoss-user] [Installation, Configuration & Deployment] - Re: Deployment Order in Jboss

2005-12-30 Thread galderz
have you tried including both ejb jar files inside an ear file? You could reference both ejb jar files inside the application.xml descriptor. This would guarantee that classes from both ejb-jar files are loaded when the ear deployed and so avoid class loading problems. hope this helps :-D View

[JBoss-user] [Beginners Corner] - Re: Reading a properties file from a class deployed in Jboss

2005-12-30 Thread galderz
You just need to include the properties file at the root of your JAR file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914916#3914916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914916 --

[JBoss-user] [JNDI/Naming/Network] - Re: How to call bean in another ear file in Jboss?

2005-12-29 Thread galderz
The descriptors shown are not descriptors associated with an ear file but a jar file. application.xml and jboss-app.xml are the descriptors associated with an ear file. EAR files are enterprise archives that can contain jar, sar, war, har files as well as jar libraries. JAR files are java archi

[JBoss-user] [JCA/JBoss] - Re: Not able to lookup the datasource in jboss

2005-12-29 Thread galderz
you can find further information about how to configure datasources in the following wiki page: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources it includes how to set up a datasource in order to access it remotely. The following is a sample code on how to do a lookup for a datasource

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI problem

2005-12-28 Thread galderz
Are you refering to the same problem you posted here? http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74343 Please, avoid posting the same question several times. If you want to give further information about the problem, use the original post. http://wiki.jboss.org/wiki/Wiki.jsp?page=

[JBoss-user] [JNDI/Naming/Network] - Re: How to call bean in another ear file in Jboss?

2005-12-28 Thread galderz
why don't you put the jar file(s) containing your beans in just one ear? Is there any requirement that stops you from putting your beans in the same ear? you should be able to reference the second one from the first using ejb-ref element and doing the necessary jndi lookup. View the original po

[JBoss-user] [JCA/JBoss] - Re: Not able to lookup the datasource in jboss

2005-12-28 Thread galderz
Are you trying to do the lookup from outside JBoss? Home references for session beans can be retrieved remotely via JNDI, however, datasources (*-ds.xml) and in general items bound at "java:" cannot be retrieved remotely (check JCA specification). Hope this helps :-) View the original post :

[JBoss-user] [JCA/JBoss] - Re: RAR deployment classloader?

2005-12-20 Thread galderz
Where r u trying to load the configuration file? Is it from an MDB? Remember that according to the spec, an enterprise bean must not use the java.io package to attempt to access files and directories in the file system. We had a very similar problem where one of our components needed external XM

[JBoss-user] [JCA/JBoss] - Re: RAR deployment classloader?

2005-12-19 Thread galderz
what type of file is it? is it a resource bundle? from what you say, it seems like the best place for that file to be should be inside the RAR file. You should not make any assumptions about the file structure inside the application server View the original post : http://www.jboss.com/index.ht

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: dynamic changes in JSP being picked up

2005-12-18 Thread galderz
i just found where these settings can are specified. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913281#3913281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913281

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - dynamic changes in JSP being picked up

2005-12-18 Thread galderz
I have just realised that JBoss is able to pick up dynamic changes on a JSP that is deployed in an unexploded war directory. Has JBoss always been able to do that? If not, since when? Are there any settings that can activate or desactivate this? View the original post : http://www.jboss.com/in

[JBoss-user] [JCA/JBoss] - Re: ConnectionDefinition xxx not found in rar

2005-12-13 Thread galderz
Is ConnectionDefinition a class you have created? Remember that element in the datasource file refers to the class defined in the in ra.xml file. There's actually two public interfaces a JCA client will use, one is the one specified in the element and the one defined in . when is the erro

[JBoss-user] [JCA/JBoss] - Re: No classloader for ManagedConnectionFactory

2005-12-13 Thread galderz
Solved the problem about not finding the ManagedConnectionFactory class when the ds.xml file is deployed outside the ear. I hadn't set the class loading configuration properly. The settings I had in jboss-app.xml file inside the ear were hiding this class from being found when the ds file was d

[JBoss-user] [JCA/JBoss] - Re: No classloader for ManagedConnectionFactory

2005-12-13 Thread galderz
Actually, I think i might not be able to change the data source dinamically without restarting my ear: http://www.jboss.org/wiki/Wiki.jsp?page=DynamicallyChangeADatasourceWithRestartingOrRedeployingApplicationsDependentOnIt Am i correct? View the original post : http://www.jboss.com/index.html

[JBoss-user] [JCA/JBoss] - Re: No classloader for ManagedConnectionFactory

2005-12-13 Thread galderz
i meant: | OutputAdapter-ds.xml | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912298#3912298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912298 ---

[JBoss-user] [JCA/JBoss] - Re: No classloader for ManagedConnectionFactory

2005-12-13 Thread galderz
Hi Adrian, I managed to find the solution to this problem by including the ds.xml file in the ear file and adding an entry in jboss-app.xml inside IntegrationTests.ear OutputAdapter-ds.xml However, this is not my preferred solution as I would like to be able to modify and deploy ds.x

[JBoss-user] [JCA/JBoss] - Re: Accessing ResourceAdapter implementation instance from w

2005-10-26 Thread galderz
i'm not saying because of the jmx support, but because i don't know whether all the app servers have a RAR deployment JMX bean with a ResourceAdapter attribute: Domain=jboss.jca name='anything.ear#myRA.rar',service=RARDeployment MBean attribute: ResourceAdapter View the original post : http:/

[JBoss-user] [JCA/JBoss] - Accessing ResourceAdapter implementation instance from web a

2005-10-24 Thread galderz
Hi, I have just finished a JCA (1.5) implementation for outbound TCP/IP connections and I was planning to create a web-app that would allow me to control different ManagedConnectionFactory instances associated with my ResourceAdapter implementation. This would allow me to, given a moment in ti

[JBoss-user] [JCA/JBoss] - No classloader for ManagedConnectionFactory

2005-04-01 Thread galderz
Im trying to deploy my resource adapter but im unable due to the following error: 09:38:12,187 ERROR [RARDeployment] | Could not find ManagedConnectionFactory class: | com.retail_logic.solve3.outputadapter.resource.ManagedConnectionFactory | java.lang.ClassNotFoundException: No ClassLoade