[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - jboss deletes data from mysql db when it reboots

2009-01-11 Thread garda86
hello, I have a serious problem. I use JBoss 4.2.3 with JDK6, a database with MySQL and Eclipse to develope my application. My problem is that whenever I restart my JBoss Server all the data in my db are deleted and in addition some charateristics of the attributes of the table are modified (fo

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Mysterious difference of mapping on Integer on windows an Bi

2009-01-11 Thread ja...@laposte.net
Hi, I have a jboss4.2.2, which run under windows for dev and linux for production. All my jboss configurations files are same under linux (unbuntu) or windows. I ve a strange difference My EJB is with a int field; I use a query ( Query q = em.createNativeQuery(request);) Under windows I get my fie

[jboss-user] [JBoss Cache: Core Edition] - Re: org.jboss.cache.TreeCache and JBoss cache > 1.4.1

2009-01-11 Thread roberto
Ok thank you. I decide to keep compatibility with both JBC 1.x and JBC 3.x in order to can use my application on JBoss 4.x and JBoss 5.x To avoid distributing 2 different version of my class, I decide to use java reflection checking the JBoss cache version installed on the AS. Thanks to all for t

[jboss-user] [JBoss jBPM] - Re: dual jbpm context

2009-01-11 Thread kukeltje
anonymous wrote : Well, in one of you previous posts you said this: | | anonymous wrote : | | One pointing to a hibernate config with persistance and one without? | | | | "Without persistence", for me that means "no persistence" and not "in-memory db", so I took hibernate out o

[jboss-user] [JBoss jBPM] - Re: dual jbpm context

2009-01-11 Thread tbeernot
"kukeltje" wrote : That is what you get when non native english speakers start writing short statements. Persistence to me is 'surving restarts' | | And to make matters worse: the short statements are interpreted by other non native english speakers. Ain't communication great? :-) But i

[jboss-user] [JBoss Tools (users)] - Re: components.xml

2009-01-11 Thread max.ander...@jboss.com
tognado - what does that have to do with this issue ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200832#4200832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200832 ___

[jboss-user] [JBoss Cache: Core Edition] - Getting ReplicationException randomly

2009-01-11 Thread shunmugaraj
Hi: I am getting this error when we run our application in clustering mode. Initially after restart everything seems to be fine for 15 mins but after sometime we are seeing below exception and then consistently. | 09:17:25,899 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoP

[jboss-user] [JBoss Cache: Core Edition] - Re: Getting ReplicationException randomly

2009-01-11 Thread shunmugaraj
we are using JBOSS 4.2.1 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200835#4200835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200835 ___ jboss-user mailing list jbo

[jboss-user] [JBoss jBPM] - Re: NullPointerException after signal token in Process State

2009-01-11 Thread kirq4e
I don`t know what is the right solution. :) I just find it and decided that it will be good to notify you for this problem. Probably the right will be to throw an exception. It`s not right to occur NullPointerException. I leave it to you guys, but I hope that there will be info for the fix. V

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error Shutdown JBoss 4 from MyEclipse

2009-01-11 Thread cutethree
No, I didn't change any configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200837#4200837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200837 ___ jboss-user mail

[jboss-user] [Management, JMX/JBoss] - method overloading issue in 4.2.2 ? Wrong target message. Wh

2009-01-11 Thread jbosseron
I am trying to create a MBean and test in the JMX console. It deploys fine and shows up in the JMX console, but as soon as I call the method with no argument and later tries to call the method with an argument it fails with a "wrong target" error message. Is it a known issue or am I doing somet

[jboss-user] [Management, JMX/JBoss] - Re: method overloading issue in 4.2.2 ? Wrong target message

2009-01-11 Thread jbosseron
Stack trace from JMX console: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Failed to invoke operation org.jboss.jmx.adaptor.html.HtmlAd

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss on mac 10.5.5: simple portlet helloworld..error 40

2009-01-11 Thread PeterJ
Just because NetBeans lets you create a portlet does not mean that you can run it. Unless you have JBoss Portal installed, which is a portlet container, your portlet will not run. Also, if you are new to web application development, I recommend that you use a simple text editor to edit all file

[jboss-user] [JCA/JBoss] - Re: Tests for db connection

2009-01-11 Thread PeterJ
With check-valid-connection-sql, you place a SQL statement in *-ds.xml and that statement is run. If there is no error, it is assumed that the connection is valid. With valid-connection-checker-class-name, you write a class that performs a connection check. This class can do anything. For examp

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss deletes data from mysql db when it reboots

2009-01-11 Thread PeterJ
Sounds like you are using Hibernate (JPA) to handle database access and that hibernate.hbm2ddl.auto is set to create or create-drop in the persistence.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200844#4200844 Reply to the post : http://www.jbo

[jboss-user] [JCA/JBoss] - Re: Tests for db connection

2009-01-11 Thread kejoseph
Thats for the reply Peter. My requirement is simple - I want the db connection to be tested by JBoss prior to handing it over to the application. This is easily achieved by the former check-valid-connection-sql statement. However, in certain cases (say Oracle package changed and JBoss start's r

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error Shutdown JBoss 4 from MyEclipse

2009-01-11 Thread PeterJ
But you said nothing has port 1099 open. If you did not change anything, then JBoss AS would have that port open. Also, when running netstat, use '-an', otherwise not all ports show up as numbers, in which case you could miss port 1099. Try running this (with JBoss AS up): netstat -abn | grep

[jboss-user] [JCA/JBoss] - Re: Tests for db connection

2009-01-11 Thread PeterJ
Looking at the documentation on that Oracle error, it would appear that because of a database change that the current connection(s) are no longer valid and I guess that what you are looking for is some way of closing the existing connections and reestablishing them. I have seen requests for thi

[jboss-user] [JCA/JBoss] - Re: Tests for db connection

2009-01-11 Thread PeterJ
I had another thought. The issue appears to have something to do with timestamps assigned to stored procedures. All of the posts I have seen on this recommend recompiling the client code so that the client picks up the new timestamps. Well, in Java, I suspect that the Oracle JDBC driver loads th

[jboss-user] [JBoss jBPM] - Re: NullPointerException after signal token in Process State

2009-01-11 Thread kukeltje
Ok ,,thanks.. and I made a typo... It should have said 'is *not* what should happen, so we agree ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200850#4200850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200850 _

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Custom deploy directory [Jboss 5.0.0GA]

2009-01-11 Thread krispy03
I used to be possible with Jboss 4 to define a custom deploy directory by editing jboss-service.xml and adding something like: | deploy/, file:/usr/local/jboss-deploy/ | I've tried reading the doco and the wiki, but it doesn't clearly say anywhere how to achieve the same thing in Jboss

[jboss-user] [JBoss jBPM] - Timer repetition problem

2009-01-11 Thread rodosa
Hello, I've a doubt. I would loke to build a timer. So I made a process definition and to try it I use a junit class. With the following code the action of the timer is executing: | Token token=instance.getRootToken(); | CreateTimerAction createTimerAction = (CreateTimerAction) event.getAc

[jboss-user] [JBoss Messaging] - Re: validatorPingPeriod/Timeout etc. not properly passed fro

2009-01-11 Thread gaohoward
If JBREM-1082 is done, the problem should be solved. Otherwise we need JBM-1482 done. As JBM's next cp is using JBR sp11, so we need 1482 be fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200859#4200859 Reply to the post : http://www.jboss.com/index

[jboss-user] [JBoss Messaging] - Configuring administered objects(queue/topics) in JBoss-5.0.

2009-01-11 Thread siddharth_2279
Hi All, I have downloaded and installed JBoss-5.0.0.GA on my machine. I would like to configure my own queues and topics. For this I went to the location (jboss-5.0.0.GA\server\default\deploy\messaging) on my machine. There I went to destinations-service.xml . I opened this file and found the

[jboss-user] [JBoss Messaging] - Re: Configuring administered objects(queue/topics) in JBoss-

2009-01-11 Thread gaohoward
Hi, It's just that JBoss 5 is not shipped with some pre-configured jboss messaging destinations. The file is not incomplete. If you want to configure a destination, please read the user's guide that comes with JBM 1.4.1.GA (the version that work with JBoss 5) View the original post : http://

[jboss-user] [JBoss Portal] - Re: Sharing session attribute between servelt and portlet

2009-01-11 Thread rgd
Hello, How I can access the session attribute value ( set using renderRequest.setAttribute("MainCommand", renderRequest.getPortletSession().getAttribute("commandType", PortletSession.APPLICATION_SCOPE));)from jsp page Regards, rgd View the original post : http://www.jboss.com/index.html

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - WAR files update

2009-01-11 Thread fazal.shaikh
Friends, I am a newbie to J2EE on JBOSS. Could anyone tell me if I update a class file, while updating on JBOSS Deploy folder, is it necessary to make a war again. If not what could be drawbacks of directly pasting the updated class in war folder and the touching the web.xml file. thanks in ad

[jboss-user] [Clustering/JBoss] - Re: Exception while trying to get Stub from JBoss-Cluster

2009-01-11 Thread mark.bramnik
Hi, I can confirm I've had the similar issue with jboss 4.2.3 and it has been solved by adding the jbossha-client. jar from the ${JBOSS_HOME}/client directory as a client dependency. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200869#4200869 Reply to th

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 4.2.2 Switching name cases from proper case to camel cas

2009-01-11 Thread jaikiran
JBoss lets Hibernate (the persistence provider) to handle the JPA entities. I guess, you should post this question in the Hibernate forums. The versions of Hibernate in JBoss-4.0.5 and JBoss-4.2.2 have changed, so maybe that's the reason you don't see this behaviour in 4.0.5 View the original p

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Custom deploy directory [Jboss 5.0.0GA]

2009-01-11 Thread jaikiran
See this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148096. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200872#4200872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200872

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Mysterious difference of mapping on Integer on windows a

2009-01-11 Thread jaikiran
Which version of EJB? EJB3 or EJB2.x? And which database server and which JDBC jar file and version are you using? And please provide more details about your application including any entity mapping (either through xml or annotations) View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Custom deploy directory [Jboss 5.0.0GA]

2009-01-11 Thread krispy03
"jaikiran" wrote : See this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148096. Much appreciated. I had tried editing the bootstrap/profile.xml, but it did not make any different. I should have been looking in bootstrap/profile-repository.xml. So close, yet so far I guess. View th

[jboss-user] [JBoss jBPM] - Re: Problem with depoly jbpm-bpel-1.1.1

2009-01-11 Thread Kanty
"rusbob" wrote : Hi! | I am beginner. I creat and deploy jbpm-bpel.ear. But i get error in console JBoss: | [ServiceController] Problem starting service jboss.web.deployment:war=jbpm-bpel.war,id=-2131816553 | org.jboss.deployment.DeploymentException: message-destination-ref 'jms/JobQueue

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Custom deploy directory [Jboss 5.0.0GA]

2009-01-11 Thread jaikiran
"krispy03" wrote : I've tried reading the doco and the wiki, but it doesn't clearly say anywhere how to achieve the same thing in Jboss5. Now this makes to the wiki under JBoss-5 FAQ: https://www.jboss.org/community/docs/DOC-10190 http://www.jboss.org/community/docs/DOC-13241 View the original

[jboss-user] [Management, JMX/JBoss] - Re: method overloading issue in 4.2.2 ? Wrong target message

2009-01-11 Thread jaikiran
It's a bug, thanks for pointing this out. https://jira.jboss.org/jira/browse/EJBTHREE-1677 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200882#4200882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200882 __

[jboss-user] [Microcontainer] - How to hide a bean from other deployments?

2009-01-11 Thread trustin
Hi :) I am trying to expose a couple beans (let's call them 'the public beans') in my service to other services via a KernelController (i.e. getInstalledContext(...).getTarget()) by letting the other services to look up my beans with pre-defined names. The public beans depend on other beans d

[jboss-user] [Microcontainer] - Re: How to hide a bean from other deployments?

2009-01-11 Thread trustin
Hmm, this question might have been answered here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147135 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200889#4200889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl