Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!

karthik shivkumar

Greenhorn
+ Follow
since Oct 02, 2006
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 karthik shivkumar

Hello fellow Ranchers,


Have been stuck with a problem for over a week and unable to find an answer. I must say I am new to JBoss and it's configuration etc.


Let me give some specifics about the problem I am facing -


Server - JBoss 5.1.0 GA server with Mobicents 1.6.0 (Mobicents is a SIP Container - mainly for telephony SIP messages)
Database - Postgres 9.0.3
JPA 1.0/Hibernate (not sure what hibernate version I am using - don't know where to locate it)


The persistence.xml is defined as:


The postgres-ds.xml is defined as:


The Entity Bean which I am trying to persist in to the database:


HelperBean.java is a stateless session bean



BaseProxy.java is a servlet which extends SipServlet (SipServlet is similar to HTTPServlet which extends GenericServlet class)

public class BaseProxy extends SipServlet {

@Override
public void init(ServletConfig servletConfig) throws ServletException {
super.init(servletConfig);

HelperBean hp = new HelperBean();
hp.saveSample(sData);

}
}

There is an additional postgres-persistence-service.xml file which defines the properties for the system database tables used by JBoss.



The SAMPLE_DATA table is created on the start up fine. But the data is not saved in the table and the output console also does not throw any error. Here's the ouput on console.

12:12:04,011 INFO JTA Transaction data save issue - JBoss 5.1.0 GA (with Mobicents SIP Container) Hibernate:
select
nextval ('hibernate_sequence')

When I did further research on it, I found that JTA transaction is not working correctly and hence the data save is failing.I did notice in most of the forums, that you seem to be an expert on JBoss transactions. Require your assistance at the earliest.


Thanks in advance!!
Actually I found the answer to the problem - the dialog box is not allowing the table to be added directly. Instead, the table should be added to a form and add the form to the dialog box. Problem solved.
8 years ago
GWT
Has anyone faced the similar problem of not being able to add Table in a dialog box?? Or Am I missing something? I am not using any smartGwt or get-ext api.. Gwt 2.2.0 is the version being used.
8 years ago
GWT
Thanks Maneesh.. But, I wasn't able to use the addTreeListener method.. Since it says the method is deprecated..
9 years ago
GWT
Hi,

I am trying to build a dynamic tree using GWT. Any code examples, that you refer would be much appreciated.

E.g. of what I am trying to build

Root
|
Level 1
|
Level 1.1
|
Level 2
|
Level 2.1
Level 2.2

and so on..
9 years ago
GWT
Hey Andrey,

Congrats firstly for your SCBCD and Can you suggest me books to study for SCBCD Exam (EJB Spec 3.0)?

Thanks in advance,
Karthik
11 years ago