[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: truncation of data in entity bean

2008-03-28 Thread nitros
Would it not be better if you use a setter method to truncate the data if longer than 100? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139802#4139802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139802 ___

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - truncation of data in entity bean

2008-03-28 Thread cesar_takaide
Hello again. I'm trying to use a entity bean to maintain a table, but i want to truncate data if it's longer than column's table definition. The annotation i'm using in the entity bean is : @Column(name = "descripcion", length=100) private String descripcion; In theory, Jboss should

[jboss-user] [JBoss Portal] - Re: How to - Portal 2.6.4 and Rich Faces integration

2008-03-28 Thread wesleyhales
This usually happens when the ajax request cannot access the resource on the servlet side. Is your page located under WEB-INF? If so, move it outside of that folder. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139799#4139799 Reply to the post : http://ww

[jboss-user] [JBoss Portal] - Re: How to - Portal 2.6.4 and Rich Faces integration

2008-03-28 Thread [EMAIL PROTECTED]
Hello there, I'm trying to run sample richfaces-basic: echo application on Portal 2.6.4. It did work when I deployed it as per the instructions given in Maven Archetype. When I compiled the app again and deployed it, it's giving following error/message on the browser as soon as I type anythin

[jboss-user] more info on JGroups problem i'm having ...

2008-03-28 Thread John Zorko
Hello, all ... I also see the following message in the log of the node that won't communicate: 2008-03-28 16:44:30,180 ERROR [org.jgroups.protocols.pbcast.GMS] merge_id ([216.239.XXX.XXX:9900|1206745285182]) or this.merge_id (null) is null (sender=10.15.XXX.XXX:9900). ... I XXXed out t

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - identity fields in Entity beans

2008-03-28 Thread cesar_takaide
Hello, I'm new in EJB3 technology. I'm working with an entity bean that has a identity field, so i wrote this on the field declaration: @Id @Column(name = "codigo", nullable = false) @GeneratedValue(strategy=GenerationType.IDENTITY) private Long codigo; But, when the entity is pe

[jboss-user] Hello, and a question (of course) :-)

2008-03-28 Thread John Zorko
Hello, all ... I'm new to JBoss -- i'm a longtime C++ developer who has just inherited a J2EE codebase when the developer left. I've done some Java before, so I volunteered to maintain it (mistake #1), but the last time I did Java was 2001 and it wasn't using beans or anything. I'm hop

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Initialization failed DLQHandler Error on JON

2008-03-28 Thread rmokrane
Sorry about the confusion by jon-agent I mean jon server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139783#4139783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139783 _

[jboss-user] [Beginners Corner] - jboss developer studio

2008-03-28 Thread fedup
hi all i'm trying to create a simple app in jboss developer studio, but having big trouble getting it to work i created a dynamic web project then created a helloworld servlet in the src folder | public class HelloWorldServlet extends HttpServlet | { | protected void service(HttpServl

[jboss-user] [EJB/JBoss] - Deadlock on TIMERS table with EJB 2.1 timers

2008-03-28 Thread karoberts
Jboss version: 4.05 DB: SQL Server 2005 OS: Windows Server 2003 We've been having a problem with EJB2.1 timers. Specifically single-shot (run once) timers. First, our application creates single shot timers, and at the end of the ejbTimeout method for those timers, they create a new single sh

[jboss-user] [EJB 3.0] - Re: Create timer -

2008-03-28 Thread jcstaff
You say your schedule works, but nowhere are you specifically stating you are interacting with an @Entity that would cause the XA transaction issue. The post a few back specifically showed the actions occurring in the same transaction. The following would not work without XA support. anonymous w

[jboss-user] [Beginners Corner] - Re: Automatically assign ports?

2008-03-28 Thread Oberiko
That seems like quite a bit of effort, especially for large development teams where not everyone has admin privilages on their machine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139772#4139772 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cahnaging the application context

2008-03-28 Thread PeterJ
Is myapp the only application you will be serving? In that case, you need to: 1) Register the URL myapp.dev.xxx.xxx with a domain authority 2) Use port 80 instead of 8080: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossOnPort80 and http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104203 3)

[jboss-user] [JBoss Portal] - Re: Errors when trying to edit JSF admin pages with custom c

2008-03-28 Thread jl7791
I should also add that I get the same exception if I replace this: | public List getCustomerNames() { | if (customerNames == null) { | customerNames = initNames(); | } | | return customerNames; | } | with t

[jboss-user] [Messaging, JMS & JBossMQ] - Symptoms of too frequently connecting/disconnecting from jms

2008-03-28 Thread aazaroff
Does anyone know what the symptoms are of having your message providers connect and disconnect very frequently when posting messages to a queue? The documentation states that: "Continually connecting/disconnecting to/from the server" is a JBossMQ Anti-Pattern. I just want to know how frequent i

[jboss-user] [Beginners Corner] - Re: Running JbossAS

2008-03-28 Thread PeterJ
According to the output you posted, you should be able to see the home page using http://localhost:8080. Note this line of the output: 17:39:08,866 INFO [Http11Protocol] Arrancando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080 Are you sure you are using htpp://localhost:8080 and not http://myho

[jboss-user] [JBossWS] - Re: No way to write a working client

2008-03-28 Thread rinconmaradona
Hello GenesisD, I'm having the exact same problem, and the exact same mental issues, can you help me? How did you solve this?? Thx!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139760#4139760 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [Clustering/JBoss] - Re: deploy in farm as a war

2008-03-28 Thread [EMAIL PROTECTED]
This is not supported. You have to zip anything in farm. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139757#4139757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139757 _

[jboss-user] [Clustering/JBoss] - deploy in farm as a war "folder"

2008-03-28 Thread datherra
Hi everyone, The scenario: jBoss 4.2.2 , jdk 1.6.05 TCP CLuster. The problem is: My applicatins are "open context" aplications ( war folder) When i try deploy it in farm folder, to other nods can pull this applications, i recieve this erros: In local machine: 2008-03-28 15:16:36,687 ERROR

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Cahnaging the application context

2008-03-28 Thread sgatl2
hi, I am having an application called 'myapp'. I deployed in the 'deploy' directory as myapp.war and when I have to run the application i type in http://dev.xxx.xxx/myapp and it runs fine. But I want to change this setting to http://myapp.dev.xxx.xxx/ where dev.xxx.xxx is the vanity url. Wher

[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-28 Thread Oberiko
I've tried the latest WTP patch and am still having the same issues with Eclipse Europa JEE Winter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139747#4139747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139747 __

[jboss-user] [Messaging, JMS & JBossMQ] - Initialization failed DLQHandler Error on JON

2008-03-28 Thread rmokrane
I am getting this error on jon-agent every few second and I have no idea why this is happening. any help is appreciated. here is the error WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected: | javax.naming.NameNotFoundException: XAConnectionFactory not bound

[jboss-user] [JBoss Portal] - Re: Wrong tx on thread in UserModule

2008-03-28 Thread [EMAIL PROTECTED]
I know of a similar issue which has been fixed in 2.6.4.GA which is our latest stable release. Can you see if your problem is resolved there? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139742#4139742 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [Management, JMX/JBoss] - Re: Upload and Download to/from JBoss AS through JMX

2008-03-28 Thread lafbarbosa
Hi Mazz, Thanks for your answer! If JBossON could provide a way to Servlets can put and get .esb archives into/from server/default/deploy, for me that's ok. I just wanna do it programatically through a Servlet or any other way to access JBoss AS remotely. I'll take a look in it to find a samp

[jboss-user] [Management, JMX/JBoss] - Re: Upload and Download to/from JBoss AS through JMX

2008-03-28 Thread lafbarbosa
Hi Frank, Thanks for your answer. You said that the archives I copy into server/default/deploy are not deployed on restart. As I will make this copy (hot-deploy) when the JBoss AS is running, I think this is not a problem. Isn't it? Or you would like to say that, after a reboot of JBoss AS, t

[jboss-user] [JBoss Portal] - Errors when trying to edit JSF admin pages with custom compo

2008-03-28 Thread jl7791
I have successfully added an attribute to the user profile object, but I want to be able to pull a list from a database and display it back to the user so that they may select from it. | | | | Backing bean: | package com.mycompany.ui; | | import java.util.Array

[jboss-user] [JBoss Portal] - Re: How to - Portal 2.6.4 and Rich Faces integration

2008-03-28 Thread [EMAIL PROTECTED]
thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139736#4139736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139736 ___ jboss-user mailing list jboss-user@lists.jbo

[jboss-user] [Security & JAAS/JBoss] - Client Certificate using Keytool and OpenSSL

2008-03-28 Thread sunnym_a
Environment: JBoss-4.2.1.GA Java 1.5.0_11 OpenSSL 0.9.8g Is there a way to set Netscape Cert Type property to SSL Client while exporting it to PKCS12 certificate using OpenSSL? I created a client certificate using the following steps: a. Generated key pair using Keytool b. Gen

[jboss-user] [Management, JMX/JBoss] - Re: How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOT

2008-03-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIDisplayTheMemoryPoolUsage View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139732#4139732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139732 _

[jboss-user] [JBoss Portal] - Re: Wrong tx on thread in UserModule

2008-03-28 Thread rcarmichael
Could it be that because it throws an exception when the user does not exist you never get to the ut.commit() and that's why that particular exception is being thrown? Just a wild shot in the dark. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139731#413973

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools AS 1.0.0.GA update for JBoss 5 AS ?

2008-03-28 Thread dlmiles
"[EMAIL PROTECTED]" wrote : anonymous wrote : I agree with the issue on the other error being due to not using the rest of the nightly build, I did not download and take apart the nightly build to see why it did not gel. Also why does Content Assist require access to IJBossRuntime (when I've no

[jboss-user] [Management, JMX/JBoss] - Re: How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOT

2008-03-28 Thread csaldanh
Doesn't this MBean give all the information such as memory used , total memory etc. jboss.system:type=ServerInfo You could use the jmx-console to access the information of this mbean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139729#4139729 Reply to

[jboss-user] [Beginners Corner] - Running JbossAS

2008-03-28 Thread gregory.carlin
I'm a newbie in Jboss, and I have problems to run it : I've download Jboss-4.2.2.GA.zip and follow the online installation guide. The problem is nothing appears on http://localhost:8080... JDK 1.6 is installed. JAVA_HOME and JBOSS_HOME are defined. Java and Jboss are both in /usr. I'm working u

[jboss-user] [JBossWS] - Re: Problems with multipart/related responses

2008-03-28 Thread [EMAIL PROTECTED]
I believe you are having the problem because Axis2 sends the a "start" parameter in the Content-Type and the value is not delimited by < and >. I.e., it should be this: start="<0.urn:uuid:[EMAIL PROTECTED]>" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=413

[jboss-user] [Security & JAAS/JBoss] - Re: Arrggh! JAAS Policy File with JBOSS - Please Help!

2008-03-28 Thread jgilmore
I am not using ejb. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139706#4139706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139706 ___ jboss-user mailing list jboss-use

[jboss-user] [Management, JMX/JBoss] - Re: Upload and Download to/from JBoss AS through JMX

2008-03-28 Thread [EMAIL PROTECTED]
That's another subsystem that the new open-source project RHQ is trying to address (http://rhq-project.org) Our Content subsystem will allow us to manage pushing content to managed servers. With a JBossAS plugin, you'll be able to do what you want. Right now, JBoss ON will give you this functi

[jboss-user] [EJB/JBoss] - Re: Problem with Entity Bean

2008-03-28 Thread allanrj
Well, I using a ejb to persisting the session, when i log in the ejb has been created. I´m close browser and try log in again, but exception has appeared. I think jboss doesnt destroy/remove my earlier ejb. This persists on memory or cache, i dont know View the original post : http://www.jboss

[jboss-user] [Management, JMX/JBoss] - Re: Upload and Download to/from JBoss AS through JMX

2008-03-28 Thread FrankTheTank
http://forum.java.sun.com/thread.jspa?threadID=518138&messageID=2477264 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=127272 Note: You do not have to put them in /deploy. If you do so, then remember that they are not deployed on restart![/url] View the original post : http://www.jbo

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools AS 1.0.0.GA update for JBoss 5 AS ?

2008-03-28 Thread [EMAIL PROTECTED]
"dlmiles" wrote : "[EMAIL PROTECTED]" wrote : | | If the problem still persist then ping us again. | | I remember now there was a problem with Hibernate's Eclipse plugin at one point in the past. | That was a mixup with upper/lower casing of the modifier...annoying yes. anonymous wr

[jboss-user] [EJB/JBoss] - Re: Problem with Entity Bean

2008-03-28 Thread FrankTheTank
Sounds more like you have an entity with two primary keys. Look if you have @Id defined twice or something like that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139695#4139695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[jboss-user] [JBoss Cache: Core Edition] - Re: basic question on starting a jboss cache

2008-03-28 Thread [EMAIL PROTECTED]
Please use the "code" button when pasting XML and such. You can click the "Preview" button before posting to see if your post will display correctly. Now guessing what your post was... Are you specifying: hibernate.transaction.manager_lookup_class=org.jboss.cache.transaction.GenericTransaction

[jboss-user] swimlanes and group assignment

2008-03-28 Thread Emir Alikadic
hello, i'm hoping someone could clarify swimlanes for me. namely, if i have a swimlane that is assigned to a group, shouldn't tasks started by one user in the group continue to be visible to the group? if that's not default behaviour, is it possible to make it work like that (preferably

[jboss-user] [Management, JMX/JBoss] - Upload and Download to/from JBoss AS through JMX

2008-03-28 Thread lafbarbosa
Hi people, Please, I would like some ideas to make possible the uploading and downloading of archives to/from JBoss AS through JMX. I have an web application that needs to access a JBoss AS remotely or from the same machine (the web container into JBoss AS or a separated container in the same

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: w2k3 64-bit jbossas as windows service codepage problems

2008-03-28 Thread rukus
add. info: jboss as 4.2.2 JBoss Native 2.0.3 win64 AMD64 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139691#4139691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139691 __

[jboss-user] [Installation, Configuration & DEPLOYMENT] - w2k3 64-bit jbossas as windows service codepage problems

2008-03-28 Thread rukus
well when deploying my project under windows 2003 64-bit edition as windows service text in some part's of web page displays as ?? but when i starting server as simple application (not windows service) - all ok any ideas how to fix it? View the original post : http://www.jboss.com/index.html

[jboss-user] [JBoss Messaging] - Re: basic JBM cluster configuration

2008-03-28 Thread jmesnil
"navjeetc" wrote : I need to install two or more clusters of JBoss AS and JBM on a machine(actually the two nodes in each cluster will be on different machines). To make cluster work I am using a different port binding for each node and also a different server peer Id. We have also deployed JBM

[jboss-user] [JBoss Portal] - Wrong tx on thread in UserModule

2008-03-28 Thread HerQpapa
Hi, I am using jboss-portal-2.6.2.GA in cygwin env, MySQL backend. I have the following method which I use to check whether a user already exists: | public User findUserByUserName(String userName) throws IdentityException{ | try { | UserTransaction ut = (UserTransaction) (new Ini

[jboss-user] [JBoss Tools (users)] - Re: file extension .jsf ? instead of .jsp and .xhtml

2008-03-28 Thread Antoine_h
done http://jira.jboss.org/jira/browse/JBIDE-1967 thanks... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139682#4139682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139682 _

Re: [jboss-user] [Management, JMX/JBoss] - How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOTAL H

2008-03-28 Thread Matthew Brasier
You need to use JMX to look up the ServerInfo MBean and use the attributes on there to get the information you need. http://docs.jboss.org/jbossas/javadoc/4.0.4/system/org/jboss/system/server/ServerInfo.html Matt On Fri, 2008-03-28 at 09:25 -0400, vijayneema wrote: > I have recently migrated from

[jboss-user] [JBossWS] - How to Define WebService URL?

2008-03-28 Thread rruppel
Well, the problem is that the Jboss 4.2.2 changed the default webservice url, to: /ProjectName-JarName/WebserviceName while at Jboss 4.0.5 tbe default was: /JarName/WebServiceName so I want to redefine the Url of my WebServices I saw this topic and it seems that its possible, but it doenst

[jboss-user] [Management, JMX/JBoss] - Re: How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOT

2008-03-28 Thread [EMAIL PROTECTED]
And yet another possibility is purchase JBoss ON - our 2.0 is currently in beta to be released in several weeks. See our short demo at https://network.jboss.com/confluence/display/JON2/Demo-Intro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139675#4139675

[jboss-user] [Management, JMX/JBoss] - Re: How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOT

2008-03-28 Thread [EMAIL PROTECTED]
Oh, but you can use the RHQ JMX plugin - you should be able to import your platform and connect to your JBossAS app server as a "JMX Server" and monitor it that way. I haven't tried that but it may work if you are looking for something now. View the original post : http://www.jboss.com/index.

[jboss-user] [Management, JMX/JBoss] - Re: How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOT

2008-03-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=UseJDK5JConsole View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139670#4139670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139670 __

[jboss-user] [Management, JMX/JBoss] - Re: Error while shutting down JBoss

2008-03-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=UseJDK5JConsole View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139669#4139669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139669 __

[jboss-user] [Management, JMX/JBoss] - Re: How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOT

2008-03-28 Thread [EMAIL PROTECTED]
Keep your eye on http://www.rhq-project.org - the RHQ Middleware Management Tool. No JBossAS plugin is out in the open yet, but a) you can write your own or b) wait and see if the community produces one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139668#

[jboss-user] [Management, JMX/JBoss] - How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOTAL H

2008-03-28 Thread vijayneema
I have recently migrated from weblogic to JBoss. I use to have a monitoring tool to show me the current status of memory (size, used, available) in Weblogic. Now since I am using JBoss, I have to update my code to fetch these information from JBoss programatically. Can anyone help me get these

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools AS 1.0.0.GA update for JBoss 5 AS ?

2008-03-28 Thread dlmiles
"[EMAIL PROTECTED]" wrote : Dlmiles you are more than welcome to point me to how I could fix the versioning issuewithout messing up plugin and feature manifest/descriptors ;) | | GA in the version string is how we have always done it. | | btw. your other error is probably caused by

[jboss-user] [EJB 3.0] - Re: Single persistence.xml file with multiple EJB jars

2008-03-28 Thread rruppel
sorry, posted on the wrong topic... you can delete this two posts thanks for the response View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139664#4139664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139664

[jboss-user] [EJB 3.0] - Re: Create timer -

2008-03-28 Thread rruppel
This way here it worked: | | class Parameters{ | void getInterval(); | | } | | | class Scheduler{ | | @IgnoreDependency | @EJB | Executor executor; | | | void schedule(){ | executor.schedule(); | } | | | } | | | class Executor{ | |

[jboss-user] [EJB 3.0] - Re: Single persistence.xml file with multiple EJB jars

2008-03-28 Thread rruppel
This way here it worked: | | class Parameters{ | void getInterval(); | | } | | | class Scheduler{ | | @IgnoreDependency | @EJB | Executor executor; | | | void schedule(){ | executor.schedule(); | } | | | } | | | class Executor{ | |

[jboss-user] [EJB 3.0] - Re: Single persistence.xml file with multiple EJB jars

2008-03-28 Thread jaikiran
"rruppel" wrote : | | let me ask a question: | | the persistence.xml has the information about the persistence driver (if it should use Postgresql or Oracle, for example) | | but, if I put this information inside persistence.xml, if I change the database, I will have to recompile

[jboss-user] [EJB 3.0] - Re: Single persistence.xml file with multiple EJB jars

2008-03-28 Thread alex.x
Hi, I would advice to try it. It have to be possible, to change the old persistence.xml to the new persistence.xml. Since your ejb tries to connect to the database or uses an entity-manager, I think the persistence-context will be refreshed. It should be similar like patching new compiled java

[jboss-user] [JBoss Tools (users)] - Re: file extension .jsf ? instead of .jsp and .xhtml

2008-03-28 Thread [EMAIL PROTECTED]
could you report it in jira with a reference to this forum -then we won't forget it. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139652#4139652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139652 _

Re: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to share session across subdomain

2008-03-28 Thread Matthew Brasier
To share the session between two domains, you need to scope the session cookie to mysite.com, rather than www.mysite.com or secure.mysite.com, in JBoss 4.0.4 CR2 and above, you can do this with the Tomcat SSO valve, see http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn I am not sure if you can

[jboss-user] [JBoss Portal] - sorry

2008-03-28 Thread Thiago do Amaral
I put new topic, and no post reply , how delete this topic ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139648#4139648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139648

[jboss-user] [JBoss Portal] - Re: Help JBOSS PORTAL, Thanks friend

2008-03-28 Thread Thiago do Amaral
Hi Peter , thanks for your help , I acessed this files, and saw de tables !! I am studing the jboss, and using the jboss 2.4 (version with Pentaho-demo) , and I think to create something in tables to portal, i still studing this !! Thanks for your Help ,Friend !!! _ WBA Develo

[jboss-user] [JBoss jBPM] - Re: HTTP Status 403 - Access to the requested resource has b

2008-03-28 Thread rsdickerson
I think that URL should be /sa/tasks.jsf. You can post errata you find on the book's support site. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139646#4139646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139646 ___

[jboss-user] [JBoss Portal] - Thanks Friend

2008-03-28 Thread Thiago do Amaral
Hi Peter , thanks for your help , I acessed this files, and saw de tables !! I am studing the jboss, and using the jboss 2.4 (version with Pentaho-demo) , and I think to create something in tables to portal, i still studing this !! Thanks for your Help ,Friend !!! View the original post : htt

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to share session across subdomain

2008-03-28 Thread manishrathii
Hi Guys, I had a problem where I wanted to share session state between http and https pages (example between http://www.mysite.com and https://secure.mysite.com). Naturally, in this case, the webserver will give you a different session id because the session id is bound to the domain. How can

[jboss-user] [Management, JMX/JBoss] - Re: Error while shutting down JBoss

2008-03-28 Thread FrankTheTank
IIRC 1099 is the RMI connection port and maybe you have some elements communicating with each other via this port? When Jboss goes down it will emit a shutdown message to it's listeners. That would be a good point for your 'clients' to release their connections and prepare to shut down. View th

[jboss-user] [EJB 3.0] - Re: Create timer -

2008-03-28 Thread rruppel
in my case, i want keep the Timer at the Hypersonic because: 1. The production database is very busy, and sometimes the database is off (I mean, its avaliable "only" 98% of the time, but I cant trust on 98%, and the hypersonic is 99,99% avaliable, because it is used only for the timers, in fact

[jboss-user] [JBoss jBPM] - Re: HTTP Status 403 - Access to the requested resource has b

2008-03-28 Thread rsdickerson
Oops. I left out this change in web.xml: anonymous wrote : | | | Secure Area | /sa/* | GET | POST | | | user | manager | admin | participant |

[jboss-user] [JBoss Cache: Core Edition] - custom method to get size of nodes in cache evicts some node

2008-03-28 Thread jorgemoralespou_2
Hi have a cache setup like: /a/b/node1 /a/b/node2 /a/b/node2 /a/b/node4 ... I have a custom method to get the number of the nodes in cache. Code is as follows: | public int size(Fqn fqn) { | Node child = cache.getRoot().getChild(fqn); | if (child == null) return 0; | r

[jboss-user] [Security & JAAS/JBoss] - Re: basic authentication cached credential without invalidat

2008-03-28 Thread ryandavid
Also with JBoss 4.2.2 there is the same behaviour. I tried also setting DefaultCacheTimeout to 0 in jboss-service.xml but I got the same result. Viceversa under JBoss 3.2.3 the test is ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139625#4139625 Reply

[jboss-user] [JBoss Cache: Core Edition] - Re: 2 node in cluster being stuck when GC runs due to JBC?

2008-03-28 Thread mircea.markus
As cache is in SYNC mode I would say that this is 'normal' behavior. The non-GC cache waits for acknowledgment from the frozen cache until it received it or times out (SyncReplTimeout set to 15secs in your case) If you cannot tune the GC to avoid "Stop the world" scenarios, here are some suggest

[jboss-user] [JBoss Messaging] - Re: changing destinations-service.xml does not bound/unbound

2008-03-28 Thread timfox
"subrata_jboss" wrote : Thanks it works. | | if several client using several queue , restarting all the queue will cause | some problem. The unit of redeployment is the file. So if you want to redeploy different sets of queues separately you can put them in different files. BTW this is no

[jboss-user] [JBoss Messaging] - Re: changing destinations-service.xml does not bound/unbound

2008-03-28 Thread subrata_jboss
Thanks it works. But i am wondering if it cause any other problem if i move it to deploy directory. and also if several client using several queue , restarting all the queue will cause some problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139619#4139

[jboss-user] [JBoss Cache: Core Edition] - 2 node in cluster being stuck when GC runs due to JBC?

2008-03-28 Thread jorgemoralespou_2
Hi, We have a 2 node cluster. The only clustering is done through JBC, with configurations like the one below. We are seeing that when in one node there is a FullGC with a 10 seconds "Stop the world", requests in the other node get delayed by 10 seconds. Since we only have the cache shared betwe

[jboss-user] [Clustering/JBoss] - How do servlets communicate with session beans across cluste

2008-03-28 Thread yugantshah
Hello, I am working on a project wherein I have to access beans that are being deployed in different clusters. Consider Cluster A containing web components. Cluster B containing EJB components. How do I lookup the session bean from the servlet. Is there any specific configuration required. Is

[jboss-user] [JBossWS] - need sample program for web service

2008-03-28 Thread nareshshah
I am new to WS and using jboss-portal-2.6.3.GA server. Does this server support the WS ? Can i get link where i can start with sample WS program ? Actually i want WS using EJB ... Thankx in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139614#41396

[jboss-user] [Security & JAAS/JBoss] - Re: basic authentication cached credential without invalidat

2008-03-28 Thread ryandavid
I saw the same behaviour also with JBoss 4.0.3SP1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139609#4139609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139609 ___ jboss

[jboss-user] [JBoss jBPM] - problem with action and variables

2008-03-28 Thread ice_casa
My problem is : i had a variable as this : and and action that set a value of this variable | public class UserOfGroupActionHandler implements ActionHandler { | public static String actors = ""; | public void execute(ExecutionContext executionContext) { | ... | .. | .

[jboss-user] [Installation, Configuration & DEPLOYMENT] - problem with actionhandler and variables

2008-03-28 Thread ice_casa
sorry for my firts post My problem is : i had a variable as this : and and action that set a value of this variable | public class UserOfGroupActionHandler implements ActionHandler { | public static String actors = ""; | public void execute(ExecutionContext executionContext) { |

[jboss-user] [Installation, Configuration & DEPLOYMENT] - problem with actionhandler and variables

2008-03-28 Thread ice_casa
My problem is : had a variable as this : and and action that set a value of this variable public class UserOfGroupActionHandler implements ActionHandler { public static String actors = ""; public void execute(ExecutionContext executionContext) { ... .. . exec

[jboss-user] [JBoss Portal] - Re: How to - Portal 2.6.4 and Rich Faces integration

2008-03-28 Thread jvitor
You can edit java_opts on run.bat to increase your PermGen space, example values: set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139603#4139603 Reply to the post : http://

[jboss-user] [JBoss Portal] - in active Session Timeout problem in Jboss portal

2008-03-28 Thread anil4376
Hi Iam using Jboss portal 2.4 for developing my application.. in my application we have two kind of requests like 1. portlet request 2. servlet request (Ajax Call) In jboss Application Server i configure portal service , so that iam getting portal container, and jboss also has tomcat

[jboss-user] [JBoss Tools (users)] - Re: file extension .jsf ? instead of .jsp and .xhtml

2008-03-28 Thread Antoine_h
To check better : - I create a new file (simple new file), with .jsf extension - I copied into it the exact whole content of a .xhtml file that works well. => the file is set as a JSP (the icon is jsp, the default editor is JBoss Tool JSP editor). if I open it with "open with", and choose JBos

[jboss-user] [JBoss Messaging] - Re: changing destinations-service.xml does not bound/unbound

2008-03-28 Thread hendra_netm
I believe you can get the automatic behaviour, if you put the destinations-service in the deploy directory (MESSAGING_HOME/deploy/), not in jboss-messaging.sar directory (MESSAGING_HOME/deploy/jboss-messaging.sar/). Hope it helps Regards, Hendra View the original post : http://www.jboss.com/i

[jboss-user] [Management, JMX/JBoss] - Error while shutting down JBoss

2008-03-28 Thread vishal_jboss
Hello members, I am using JBoss eap 4.3 and am starting JBoss using ./run.sh -c default -b 0.0.0.0 The server starts without any issues, But when I try to shutdown JBoss I get the following error: # ./shutdown.sh -S Exception in thread "main" javax.naming.CommunicationException: Could not ob

[jboss-user] [JBoss Cache: Core Edition] - Basic Question in using Cache Loaders??

2008-03-28 Thread tiroo4u
Hi all, I am trying to use the RmiDelegatingCacheLoader for my application, Can any one let me know how do i configure it??? Do i need to create an xml file in my deploy directory in JBOSS AS ??Or how do i do it programatically. Thanks in advance Tiru View the original post : http://www.jboss

[jboss-user] [JBoss Cache: Core Edition] - Re: How to communicate between Jboss Appserver and Jboss Cac

2008-03-28 Thread tiroo4u
Hi Manik, I am trying to use the RmiDelegatingCacheLoader for creating the cache isntance remotely.I went through the documentation .I have a basic doubt in the same. Can you please let me know how do i do the configuration?? Do i need to put the configuration file in my jBOSS appserver?? if so

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Database Based Sessions

2008-03-28 Thread vishal_jboss
Dear community members, I was taking a look at http://www.caucho.com/resin-3.0/config/sessions.xtp - a documentary regarding sessions in resin. I was just pondering if JBoss has a Way to store sessions in a/any database.. This could help maintain session data evenif the application server crash

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

2008-03-28 Thread dilipmavireddi
"ramboid" wrote : With JBoss 4.2.2, can I use the InvokerServlet in the section of my web.xml? With JBoss 4.0.5GA, I was able to create war deployments with a web xml that would map the servlets as follows: | | invoker | | org.apache.catalina.servlets.InvokerServlet | | 2

[jboss-user] [Security & JAAS/JBoss] - Jboss login and portlet login

2008-03-28 Thread snon
Hi, JBoss Portal 2.4.1 JBoss 4.0.4 I have a portal, with portlets containing webapps. I need to be able to use the login and password from the jboss portal login page in order to log into my other apps. That's why I'm trying to develop a servlet in order to store the username and password in

[jboss-user] [JBoss Cache: Core Edition] - Re: basic question on starting a jboss cache

2008-03-28 Thread radomehta
Thanks a lot bstansberry. Your post was very useful for me. According to what u said , I have now configured my hibernate as: But when I run my application, I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/cache/Transac

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

2008-03-28 Thread dilipmavireddi
"ramboid" wrote : With JBoss 4.2.2, can I use the InvokerServlet in the section of my web.xml? With JBoss 4.0.5GA, I was able to create war deployments with a web xml that would map the servlets as follows: | | invoker | | org.apache.catalina.servlets.InvokerServlet | | 2

[jboss-user] [EJB 3.0] - Re: Dependency bug with multiple modules in EAR

2008-03-28 Thread dahm
"jaikiran" wrote : Going by what is described here and the exception stacktrace, this appears to be the same issue as what has been reported in http://jira.jboss.com/jira/browse/JBAS-5049 | | Yes, that's exactly the behavior I noticed. Thanks. View the original post : http://www.jboss.co

[jboss-user] [The Lizzard's corner] - Re: binding problem

2008-03-28 Thread jwenting
check your port assignments. Some IDEs will open ports for things like remote debuggers and autoupdate options that can conflict with ports needed by other applications. See if JBoss will start when Notbeans is shut down, then try to start Notbeans with JBoss running. View the original post :

[jboss-user] [The Lizzard's corner] - Re: Ruby versus Java

2008-03-28 Thread jwenting
"treespace" wrote : I bought a Ruby book and flipped through some others. One thing struck me was the amount of time they generally spend saying "how great the language is" with hardly a word on "how the language is great". In fact they appear to deliberately dodge what's good about it and fail

[jboss-user] [Performance Tuning] - Performance Tuning EJB 3.0 in JBoss

2008-03-28 Thread the666pack
Hello, so my application uses ejb 3.0 persistent entities. i am doing some simple performance studies of different application servers and realized that jboss is performing bad, when it is about to write/delete persistent entities. I believe it is a configuration issue and as far as i can see,

  1   2   >