[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - how to call oracle function with Hibernate JPA from JBoss se

2008-03-23 Thread jinkam
Is it possible to call oracle function other than procedure with Hibernate JPA? How? I'm developing a web app with JBoss seam + Hibernate JPA, and I'd like to call an oracle function with JPA 's entityManager.createNativeQuery API。 But I failed. The code has follows: //===Java code with JP

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: java.lang.NoSuchMethodException: org.jboss.resource.adap

2008-03-23 Thread cpnehete
Dear jaikiran, I have changed the calling method name to anonymous wrote : | Method m = ps.getClass().getMethod(methodName, parameters); | and it's working fine. Big thanks for the valuable help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4

[jboss-user] [EJB/JBoss] - Re: EJB2's and EJB3's in the same container

2008-03-23 Thread jaikiran
Yes its possible. I have a local setup of JBoss-4.2.2 where i have sample applications on EJB2 and EJB3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138489#4138489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=413848

[jboss-user] [JBoss Messaging] - Channel id map for node 21000 already contains binding for q

2008-03-23 Thread ambika
Hi, I am trying to start three different JBoss nodes in three different clusters. I have started first node successfully with the default value of the ServerPeerID=0. when i tried to start the second node, it failed because there was already one node with the ServerPeerID=0. With one

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss + Hibernate + Datasource

2008-03-23 Thread jscoobyced
Hi, I have set JBoss, bound a datasource for MySql. I have create the .har file and put all my stuff in the .ear. I got the "Unable to find a JTA..." error, and I found through this forum that I need to use the CMTTransactionFactory since I am in a Container Managed Transaction configuration. B

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying Hudson on JBoss5 beta4

2008-03-23 Thread gt4431b
Duh, I should have mentioned -- the server root context, jmx console etc. all comes up okay. There is no hudson war deployed, or findable. This is definitely a broken configuration somehow. I tried your suggestion, with removing all hudson paraphenalia, stopping, starting, and redeploying hud

[jboss-user] [EJB 3.0] - Re: Datasource not bound doing JPA outside of container

2008-03-23 Thread chenww
U can use ejb3unit framework or other good one for testing. No JNDI can be accessed uness u have a container. U can try set everything in persistence properties instead of providing JNDI data source name for creating EMF. View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [EJB/JBoss] - Calling methods in a children class from a parent class

2008-03-23 Thread [EMAIL PROTECTED]
I have a jboss installation with EJB2 where I have many different connections to telecom operators. All the connections have in common a method that have to be run to update a generic database table with some information. To run these methods from a generic/core place today, I have a se

[jboss-user] [EJB/JBoss] - EJB2's and EJB3's in the same container

2008-03-23 Thread [EMAIL PROTECTED]
Hi ya'll. I was wondering if anybody could answer me if it's possible to run jboss with EJB2's and EJB3's at the same time? Thanks in advance - Eivind Hognestad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138478#4138478 Reply to the post : http://www.jb

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployng war file: Using InvokerServlet in JBoss 4.2.2

2008-03-23 Thread ramboid
If I were to change the web.xml to map each servlet individually, I would have to change the deployment process and design a new implementation strategy for my team. Hence, we will probaly use the invoker for the time being. I am upgrading an internal application to benefit from the new versio

[jboss-user] [JBoss Portal] - JBoss Portal - Application Server, Specifications, Key featu

2008-03-23 Thread altes-kind
Hi all, I'm new to Portal/Portlets and currently preparing a quick (30 min) presentation of JBoss Portal. Therefore I've got a few general questions: Application Server Does JBoss Portal support any other Application Server than JBoss AS? Specifications and standards A "full J2EE 1.4 complianc

[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce

2008-03-23 Thread northgorky
Greetings. Forgot a question; What can I do to make these errors stop happening? -Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138475#4138475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138475

[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce

2008-03-23 Thread northgorky
Hi Brian. Good question. Especially as statics and static initializers are routinely used in this project. So, I had to do some digging to answer this question. Turns out that ThinUserProxy only has 4 properties; int java.lang.String PrimaryKey (with two properties, both java.lang.String) jav

[jboss-user] [JBoss Portal] - Re: JBoss5 and Portal

2008-03-23 Thread [EMAIL PROTECTED]
"gt4431b" wrote : | 1. (More relevant to the problem at hand) How much pain and suffering would I be in for if I were to try installing the latest Portal onto JBoss 5? I can find no information one way or the other. I realize I could try to beat my head against this for a while to find ou

[jboss-user] [JBoss Portal] - Re: access deployed sun portlet on jboss portal

2008-03-23 Thread aerostra
I did a small how-to using Java Studio Creator and posted it on the Java Studio Creator forums: http://forum.java.sun.com/thread.jspa?forumID=881&threadID=5214100 which may help a bit as it took me a while to figure out the XML configs. Bear in mind, I've only made it work with v2.4 not v2.6. V

[jboss-user] [JBossWS] - Re: ServiceLifecycle troubles

2008-03-23 Thread jpramondon
It may sounds a bit late now, but that was really usefull mate ! Thanks for posting your solution. J View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138471#4138471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138471

[jboss-user] [JBoss Tools (users)] - Re: java.io.UnsupportedEncodingException then build an archi

2008-03-23 Thread baz
Just tried 2.0.1GA If eclipse is not started with a jdk(default under windows) this error is shown. An internal error occurred during: "Build Archive Node". IBM437 The solution is to use an jdk when starting eclipse. Can the error messages tweaked to something obvious? E.g. Char set not found,

[jboss-user] [JBoss Tools (users)] - Re: java.io.UnsupportedEncodingException then build an archi

2008-03-23 Thread baz
Hello, i just ran into this with jdk1.5.0_14 but i am using JBoss Tools 2.0.0GA right now. The only way to solve this, was to specify -vm C:\Programme\Java\jdk1.5.0_14\bin when starting eclipse:-( The problem is not very obvious because the popped up dialog box only says IBM437 Is there a soluti