[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread bikerzon
I'm still getting the same error. | Error:org.hibernate.HibernateException: Could not find datasource: java:MySqlDS | Error Detail: javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource: java:MySqlDS | I've also tried to enumerate the jndi

[jboss-user] [Remoting] - Re: EJB3.0 Slower when using Jboss Serialization

2008-06-20 Thread [EMAIL PROTECTED]
Well, it looks like your configuration is correct. Our experience in Remoting with our performance tests is that the socket transport is considerably faster with JBossSerialization than with ordinary java serialization, but there are no guarantees. It's certainly possible that the situation is

[jboss-user] [JBoss jBPM] - lazy init exception on getting Tasklist through Command EJB

2008-06-20 Thread lblaauw
Hi all, Another challenge ;-0 When I get the task list for a string[] of actors I correctly get all tasks for all the actors in the list. However the variables in the taks have not been initialized and consequently hibernate throws a lazy exception.. In de GetTaskListCommand when you get the ta

[jboss-user] [EJB 3.0] - Re: How can set longblob type in entitybean 3.0

2008-06-20 Thread itsme
The Length attribute of the @Column - Annotation applies only to string valued columns (see ejb3-spec p. 168). Instead of using object as the base type you could try to use byte[] or even string (with length declaration). \sandor\ View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [Beginners Corner] - Re: Creating a socket inside a J2EE bean

2008-06-20 Thread FrankTheTank
Maybe they are saying that because JBoss does offer multiple services such as RMI, SOAP and Servlets that also provide access. Other then that, I don't know why it should be bad to have your own sockets. If you needs require it, then do it. And if your colleagues say it is bad practice, then d

[jboss-user] [JBoss Portal] - Re: Cannot arrange portlets horizontally

2008-06-20 Thread [EMAIL PROTECTED]
If you want to contribute it, it would be great if you could open a jira task http://jira.jboss.com and attach you patch to it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159460#4159460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [Remoting] - Re: Trouble testing EJB's with Client

2008-06-20 Thread [EMAIL PROTECTED]
Hi Karen, Well, the OptionalDataException suggests a mismatch between the versions of jboss-remoting.jar on the client and on the server. I know you've said that you're using jars from the ApplicationServer, but it might be worth checking again. You can get the version by running |jav

[jboss-user] [Beginners Corner] - Re: What IDE to start with?

2008-06-20 Thread FrankTheTank
I know it is a dumb answer but use what you like better. I have developed for Jboss with both netbeans and eclipse and both will get the job done. I would tend more twards Eclipse atm though as netbeans was just not performant enough. CTRL-Space would take far to long to be useful. Each has it'

[jboss-user] [JBossWS] - Re: Schema Validation - Failed to read schema document

2008-06-20 Thread [EMAIL PROTECTED]
Are you having this issue only with more than one imported schema? In this case please see http://jira.jboss.org/jira/browse/JBWS-2235 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159465#4159465 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss Messaging] - Again Message Order and MDB

2008-06-20 Thread mclu
Hi! Its mee again. I spend arround 5 hours now digging in JBM code to find out why my system behaves as it does. Testenvironment: - One local persistent Queue with a lot of messages in. - An EJB3 MDB attached to the Queue using maxSession and maxMessages set to 1 - redelivery is set to MDBs def

[jboss-user] [JBossWS] - Re: JBoss Shutdown hook

2008-06-20 Thread FrankTheTank
You have your concepts mixed up. A shutdown hook is a (or multiple) task you can add to the system that will then be executed when the system recieves a shutdown from the OS. So, lets say you have a connection somewhere and you want it to be closed gracefully when the system shuts down. You wou

[jboss-user] [JBoss jBPM] - Could not make local copy for file: root/server/server/jbpm/

2008-06-20 Thread sanjayce107
Hello everybody, I m getting following exception.when i m trying to start the server .I m using JBPM 3.2.2. 13:24:30,296 ERROR [MainDeployer] Could not make local copy for file:/F:/JBPM/jbpm-jpdl-suite-3.2.2_2/jbpm-jpdl-3.2.2/server/server/jbpm/conf/jboss-service.xml java.io.IOException: Access

[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread timfox
Do the clustering and failover examples in the distro work for you? Have you tried 1.4.0.SP3_CP02? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159473#4159473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159473 ___

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Connecting to a database through named instance, mssql-ds.xml

2008-06-20 Thread srawan
how to connect to database through named insatnce SQL SERVER from jboss msql-ds.xml jndi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159475#4159475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159475

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread Olivier_Debels
You could start extending the previous process definition from its processdefinition.xml. This one is saved in the database (besides gpd.xml en process image). Can be retrieve using FileDefinition. So when extending a process definition you can retrieve its xml and start from there. Make sur

[jboss-user] [JBoss Messaging] - Re: Clustering JBoss Messaging without Shared Database?

2008-06-20 Thread timfox
Hmm something fishy here, you say you have started instance 2, which according to what you said in your post should have a server peer id of 1, but the console output you posted says: | 12:26:36,434 INFO [ServerPeer] JBoss Messaging 1.4.0.SP3-CP02 server [0] started | Which tells me it

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread npe
Hi, Thanks for your reply. The problem is that I design my process definition directly through the objects of the "definition graph". I don't use the eclipse graphical designer nor the XML to parse into a definition. As I have very simple definitions to create I developed a web based design

[jboss-user] [JBoss jBPM] - Re: lazy init exception on getting Tasklist through Command

2008-06-20 Thread lblaauw
all, Never mind I had a task in my start node wich caused the problem, so solved !!! Greetz Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159480#4159480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159480 _

[jboss-user] [JBoss jBPM] - Re: lazy init exception on getting Tasklist through Command

2008-06-20 Thread jbarrez
I haven't tested this, but while strolling through the code I saw that: - GetTaskListCommand extends AbstractGetObjectBaseCommand. - AbstractGetObjectBaseCommand has a method setIncludeAllVariables(boolean includeAllVariables) and setVariablesToInclude(String[] variablesToInclude). I saw that yo

[jboss-user] [JBoss jBPM] - Re: Is this a bug or is it intentional

2008-06-20 Thread bentins
I agree both scanarios should be addressed. Addressing the interface issue is not hard as we can do type.isInterface() However this leaves two problems. Both are not common. use cases. 1. Abstract classes which if someone uses it is imposible to get it to work, since it will fail on 'Field.set'

[jboss-user] [JBoss Tools (users)] - About livedemo

2008-06-20 Thread JPagera
hello i just wanna ask if there anyway to download the source code of livedemo can i? and thank for help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159484#4159484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41594

[jboss-user] [JBoss Messaging] - EXCEPTION_ACCESS_VIOLATION [ntdll.dll+0x18fea]

2008-06-20 Thread bodrin
My jvm started to crash just when I have started to use jboss messaging. The problem seems to be native in nature, but anyway the JBM somehow provokes it I think. The problem appears only on windows xp. Three of my colleagues are experiencing the same problem. Actually it appears very often and

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread Olivier_Debels
Just another thought in your case: Maybe you could use serialization to do the cloning? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159489#4159489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159489 __

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread jaikiran
Can you post the final persistence.xml file(after the modifications) that you are using? Also have you changed anything in the JBoss installation after downloading it? And can you reproduce this behaviour without your application deployed and only the datasource deployed? Finally do you have any

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JasperException: Need classpath for JSP compile

2008-06-20 Thread bbredohl
Hi, I have some problems to migrate a war project from BEA to JBoss 4.2.2. In this project are a lot of .jsp files, which use a lot of java classes without imports! Example: FileReader fReader = new FileReader(new File(file)); When I try to deploy the Pproject, I get a lot of "... cannot be res

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread jaikiran
One more observation, you seem to be creating the entity manager using the entity manager factory. Maybe there might be a problem there. But that does not explain why, the simple lookup of the datasource through a jsp returns null. Try this from a very simple jsp in your application: | <%

[jboss-user] [Microcontainer] - circular bean injection

2008-06-20 Thread [EMAIL PROTECTED]
Hi, is it possible to do circular injections? | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159494#4159494 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread thehunt
Hi dmary. Actually I found a solution to this and implemented the project. I ll need to dig a bit as its 2 years old now, to find the specific chunks of code you are interested in. I hope i send em to you some time tomorrow. As far as the fail over behaviour, provider and manager are instantiate

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

2008-06-20 Thread alok0007_07
I m facing a problem. I have created some users in JBPM application and i have assigned some task to each user and I want that each user can see only his own task not of others. But when i logged in with the users i created , i got the taks of other users too... I m facing the following error

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread bikerzon
Here's my final persistence.xml : | | http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";> | | org.hibern

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread bikerzon
OK here's my last try - : 1) I change my persistence.xml to use java:DefaultDS as my datasource - since it is the default datasource come with JBOSS. 2) The default database is started (I've checked the log/trace) 3) Result - still the same - NullPointerException - even from JBOSS default data

[jboss-user] [JBoss Portal] - Personalization of Portlets and Themes

2008-06-20 Thread tamil_jboss
Hi... I'm new to JBoss portal environment and have done few sample portlets, themes, and custom layouts. I would like to know if can do the following on JBoss Portal: 1. Customizing Portlets in a Portal page. --- Ex: suppose I've 4 portlets in a portal page. I would like to provide an opt

[jboss-user] [JBoss Messaging] - Re: I got some performance problem while sending a lot of me

2008-06-20 Thread gary.c.chen
Afterward we setted up another test, this time we setted the parameter to ten minutes, and we setted the FullSize parameter, PageSize parameter, DownCacheSize parameter of the queue to be tested to 3355444, 1, and 1, and the messages we sended in this test were all NON_PERSISTENT messa

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread dmary
thks a lot for ur response, two years after ;) I'm trying actualy , a little bit the same way , but for moment with db provider. I was also thinking about JbossCache as I use it in other parts. I was wondering what is the goods and bads between JbossCache and a database . One good point for dat

[jboss-user] [JBoss Messaging] - Re: I got some performance problem while sending a lot of me

2008-06-20 Thread gary.c.chen
the duration parameter to ten minutes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159507#4159507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159507 ___ jboss-user mailin

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Setting up JBoss to run on 127.0.0.1 with JBWeb on 0.0.0.0

2008-06-20 Thread jonferguson
Does it make sense to deploy JBWeb on 0.0.0.0 so that the web interface is available on the network and keep everything else explicitly running on localhost? For security etc. How would I go about this? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[jboss-user] [JBoss Messaging] - Re: Again Message Order and MDB

2008-06-20 Thread ataylor
This is an MDB container question, probably to do with pool size etc. refer to http://wiki.jboss.org/wiki/ConfigJBossMDB on how to configure MDB's. FYI The JMS spec doesn't require message order to be preserved after rollback. View the original post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Portal] - Accessing CMS Content in MY own portlet

2008-06-20 Thread srinivasan.sathyanarayana
hey can anyone help me on this. I have create a text.jsp file in the CMS. Also i have created my own protlet. i want text.jsp in my own portlet can anyone tell me whether its possible or not. SImply i want to access CMS content in my own portlet class. View the original post : http://www.jb

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread jaikiran
What does this print out when you run this code from the place where you instantiating the entity manager: Properties hibProps = org.hibernate.cfg.Environment.getProperties(); | props.list(System.out); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=415

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread jaikiran
anonymous wrote : and also I did package the jndi.properties with my apps. See if removing that file from the application is going to help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159514#4159514 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [Microcontainer] - Re: circular bean injection

2008-06-20 Thread alesj
Sure. They just need to be done in different states. Add state="Instantiated" to one of circular inject elements. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159515#4159515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss Portal] - Re: Cannot arrange portlets horizontally

2008-06-20 Thread michaelchan
Will do View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159517#4159517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159517 ___ jboss-user mailing list jboss-user@lists.jboss

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread jaikiran
anonymous wrote : 11:39:59,609 INFO [STDOUT] 11:39:59,609 INFO [Version] Hibernate Annotations 3.3.0.GA | 11:39:59,640 INFO [STDOUT] 11:39:59,640 INFO [Environment] Hibernate 3.2.6 | 11:39:59,640 INFO [STDOUT] 11:39:59,640 INFO [Environment] hibernate.properties not found | 11:39:59,6

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Connecting to a database through named instance, mssql-ds

2008-06-20 Thread jaikiran
Which driver do you use? Is it Microsoft driver or is it the jTDS driver? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159523#4159523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159523

[jboss-user] [JBoss Messaging] - Re: Again Message Order and MDB

2008-06-20 Thread mclu
Hi again... Yes I know that the spec says nothing about order. But still this behavior is strange. The pool size is set via annotations: @ActivationConfigProperty(propertyName="maxSession", propertyValue="1"), @ActivationConfigProperty(propertyName="maxMessages",

[jboss-user] [JBoss Messaging] - Re: Again Message Order and MDB

2008-06-20 Thread ataylor
Like I say, this is an MDB question, if you post on the appropriate forum they will be able to help you. Remember MDB's are JMS Provider agnostic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159528#4159528 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread bikerzon
Here's the print out : java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces I tried to run it without jndi.properties, same error. Is JBOSS4.2.2 not compatible with Hibernate 3

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread thehunt
np. ur welcome. JbossCache doesn't exclude the use of a database. The question is... the exact use of each. For example, database can be used only for persistence in case of a general power failure or system restart, but not for failover. Don't forget that if you use a non High Availability clu

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread dmary
well I aims at execute many small jobs which needs few cpu. I see your post and finaly, I'm not far from you. The difference is that I've got a JMX target in addition, like it is written here : http://www.madplanet.com/jboss-docu-wiki/Wiki.jsp?page=40.Utilities.Scheduler But this JMX target, s

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread dmary
just one question, what do u do of the task which has been pushed into cache, after his execution ? do u deleted it ? how ? just after push it into queue ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159538#4159538 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss Portal] - IPC & Page Communication

2008-06-20 Thread jayakarteek
Hi, I’m currently evaluating JBoss portal application. In my requirement, I’ve 2 portal pages say Page-A and Page-B and both has few portlets inside. There is a Menu portlet which has few Hyberlinks. It is added in both Page-A and Page-B at Left region like a Quick links for the app

[jboss-user] [JBoss jBPM] - Re: Impossible to run anymore a jBPM query after a socket er

2008-06-20 Thread dleerob
For those of you who don't want to, or can't use c3po, this thread will also help solve your problem of dropped db connections when using Tomcat. I posted my solution there: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105658 View the original post : http://www.jboss.com/index.html

[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Tim, Thanks for the fast reply. I have tried them before but just to make sure, could you point me to them so I can verify that I am following the examples correctly. CP2? We upgraded last night and still have same issues. Thanks for the help, View the original post : http://www.jboss.com/

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools with Tomcat 6

2008-06-20 Thread [EMAIL PROTECTED]
I have not tried, but any instructions that is in the seam docs should just be applied to the project in jboss tools too. The IDE does not do anything magically to the server besides deploying the -ds.xml, but that is not relevant in Tomcat. View the original post : http://www.jboss.com/index.

[jboss-user] [JBoss Tools (users)] - Re: jndi for war deployment

2008-06-20 Thread [EMAIL PROTECTED]
Ask in the seam forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159544#4159544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159544 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss Tools (users)] - Re: About livedemo

2008-06-20 Thread [EMAIL PROTECTED]
What livedemo ? richfaces livedemo ? I suggest you ask in the richfaces forum then ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159546#4159546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159546

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread npe
Problem is that if you load a process definition via hibernate and then serialize it you still keep a link to hibernate and when deserializing you still have all the links to other objects and exceptions as if you were trying to save a copied instance. View the original post : http://www.jb

[jboss-user] [JBossWS] - JBossWS 3.0.2 Released

2008-06-20 Thread [EMAIL PROTECTED]
We're happy to announce the release of JBossWS 3.0.2 GA that includes Native (fully certified JAX-WS web services implementation), Metro and Apache CXF integration Native runs on jboss-5.0.0.Beta4, jboss-4.2.2 and jboss-4.2.1 Both Metro and CXF run on jboss-5.0.0.Beta4 and jboss-4.2.2 JAXWS br

[jboss-user] [JBoss Cache: Core Edition] - Clustered and JDBCCacheLoader access to DB

2008-06-20 Thread jorgemoralespou_2
Hi, I`m trying to configure my cache loader to achieve the following: 1- Firts node incluster starts. Unable to retrieve state from memory (another cluster` node) so get it from DB 2- Second clustered node starts. Gets state from memory (another cluster`node) On cache put. The cache that receives

[jboss-user] [JBoss Messaging] - Re: Clustering JBoss Messaging without Shared Database?

2008-06-20 Thread ebenezerlovelin
Hi Tim, I posted the code of the second test; I had started the second (node 1) first, which started fine and then I started the first instance (node 0). >From my previous post... anonymous wrote : | I even changed the order in which the instances were started i.e., started instance 2 fir

[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread timfox
"bfach" wrote : Tim, | | Thanks for the fast reply. I have tried them before but just to make sure, could you point me to them so I can verify that I am following the examples correctly. | | Thanks for the help, Take a look at the installation section in the userguide. It goes on to e

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread Olivier_Debels
Isn't there a possibility to remove hibernate link before serializing? I'm sure there is (evicting...) BTW: If you go for this solution (serialization) keep in mind the disadvantages: http://weblogs.java.net/blog/emcmanus/archive/2007/04/cloning_java_ob.html View the original post : http://www

[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Thanks Tim. I am going to look at this first and I will get back to you. Just one question, FailoveronNodeLeave in CP2, is this property set to true if you want another node to failover if node is shutdown properly or if it is killed? Thanks in advance, View the original post : http://www.j

AW: [jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover notworking

2008-06-20 Thread Lange, Marek
> Just one question, FailoveronNodeLeave in CP2, is this > property set to true if you want another node to failover if > node is shutdown properly or if it is killed? This can be set to true if you want to force failover on a clean shutdown (I needed it in CP_01 :-)). Marek __

[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread timfox
By default, failover will *not* occur if you shut down a node cleanly (see FAQ on wiki). If you want it to occur in this situation set this property to true. There's a JIRA about this against the 1.4.0.SP3_CP02 release with info and links to discussions on the subject. View the original post :

[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Thanks. I thought so. Ok thanks for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159560#4159560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159560 ___ jboss-

[jboss-user] [JBossWS] - Re: Schema Validation - Failed to read schema document

2008-06-20 Thread bbucy
Actually originally I was importing a single schema (e.g. OneCardTxn.xsd) which had two elements defined (e.g. OCReq and OCRsp). I was receiving the exact same error just failing on the single import. So, I ended up changing it to two schemas (e.g. OneCardTxnRequest.xml and OneCardTxnResponse.

[jboss-user] [JBoss Cache: Core Edition] - PVM and concurrent childnodes: way of implementation?

2008-06-20 Thread Rasun
Hi there, As I'm kinda new on this jBPM happening, I'm struggling with a specific way of implementation. I'm not using the GPD, only the PVM. The processdefinition is build in a Java file, no XML. This is the situation: currently I'm trying to create a multithreaded process. That is, a node (A

[jboss-user] [JBoss jBPM] - JBPM and Drools

2008-06-20 Thread francis1970
Hi all, I have been reading some docs about Drools, I think it would be interesting to use Drools as "low level" layer for writing JBPM rules (For example ActionHandlers and Decision Nodes logic) My dilemma is how can I reference Jbpm variables (that live in its ExecutionContext) in Drools ? it

[jboss-user] [JBoss Getting Started Documentation] - Could not make local copy for file: jboss-service.xml

2008-06-20 Thread ramavi03
I am getting the following error while stating the jboss in unix environment Could not make local copy for file: jboss-service.xml java.io.IOException: Operation not permitted View the original post : http://www.jboss.com/index

[jboss-user] [JBoss Getting Started Documentation] - Re: GOOGLE CASH PROGRAM

2008-06-20 Thread ramavi03
Could not make local copy for file: jboss-service.xml java.io.IOException: Operation not permitted View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159567#4159567 Reply to the post : http://www

[jboss-user] [JBoss Cache: Core Edition] - Re: Clustered and JDBCCacheLoader access to DB

2008-06-20 Thread [EMAIL PROTECTED]
In your Approach 2 in the JDBCCacheLoader turn fetchPersistentState to false. There's no reason to move the persistent state over the wire from another cache, since the cacheloader already has access to it in the shared db. There used to be logic to ignore the fetchPersistentState=true if share

[jboss-user] [JBoss Messaging] - Re: EXCEPTION_ACCESS_VIOLATION [ntdll.dll+0x18fea]

2008-06-20 Thread [EMAIL PROTECTED]
I have a few observations: - The JVM 1.6 you have seems a bit old: Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode) I see at Sun's website they are at "Java SE 6 Update 10 Beta (Build 25)" right now. - JBoss 4 and JBM 1.4 is JVM 1.5 JBoss4 itself doesn't support JVM 1.5 yet. There

[jboss-user] [JBoss Messaging] - Re: Clustering JBoss Messaging without Shared Database?

2008-06-20 Thread ebenezerlovelin
Hi Tim, In messaging-service.xml, Node 0 has ${jboss.messaging.ServerPeerID:0} | and Node 1 has ${jboss.messaging.ServerPeerID:1} That is the only place where I have configured the server peer ID; do I have to configure it else where? Thanks, Ebe View the original post : http://www

[jboss-user] [JBoss Portal] - Re: Which class handles defining layout and theme?

2008-06-20 Thread michaelchan
no class handles that, it's a property file View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159579#4159579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159579 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: Why is Remote Interface not installed

2008-06-20 Thread baumar
Hi Jaikiran, Thanks for the hint. I searched and found the error report for that issue, but didn't know, what exactly had to be done. Well, I did what you said, but it didn't work. I also tried your earlier suggestion to avoid deployment with eclipse and use ant instead. I used the script of t

[jboss-user] [JBoss Tools (users)] - Re: jndi for war deployment

2008-06-20 Thread wilczarz
In case anyone had similar problem - jndi works fine in WAR except this archive doesn't support EJB components. The solution is to use POJOs or build an EAR application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159580#4159580 Reply to the post : http:

[jboss-user] [EJB 3.0] - Re: How can set longblob type in entitybean 3.0

2008-06-20 Thread jk6803
The schema is automatically generated at the deployment time if there is no schema in the database. We use Object type as a base, as it should accommodate any type of objects. After removing the table, whenever deploying EJB, the schema always say tinyblod.. View the original post : http

[jboss-user] [JBoss Portal] - How to duplicate Portals within JBoss Portal??

2008-06-20 Thread michaelchan
E.g. I have create a Apple portal, I want to make a copy of it and name it Orange, how do i do it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159584#4159584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159584 _

[jboss-user] [JBoss Messaging] - Browsing clustered queues

2008-06-20 Thread sams2100
I'm trying to browse a clustered queue and I cant seem to get a view that includes all the nodes in the cluster, even though the queue has the clustered attribute set. Does anyone know a way to browse all messages on a clustered queue without hitting each node individually? BTW, I'm using JBos

[jboss-user] [Security & JAAS/JBoss] - Securing default ports and services (e.g. naming service, in

2008-06-20 Thread user05
I'm running JBoss AS 4.22 and ESB 4.3. I would like to know which of the default JBoss ports (e.g. 1099, 1098, , 4445) can be disabled. If not, how can I implement access control on the services (naming, invokers, etc) using those ports ? thanks View the original post : http://www.jboss.

[jboss-user] [JBoss Messaging] - JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
Recently switched from JBM SP3 CP01 to CP02. I am using MySQL for persistence and am unable to send a message to a queue successfully. My setup: Fedora 8 MySQL community 5.1.22 JBossAS 4.3.0.GA_CP01 JBoss Messaging 1.4.0-1.SP3_CP02 Setup: 1. Install JBossAS 2. Deploy a MessagingDS pointing

[jboss-user] [JBoss Portal] - Re: Accessing CMS Content in MY own portlet

2008-06-20 Thread [EMAIL PROTECTED]
Srinivasan- Look at the org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet code to understand how the backend CMS Service is used to extract/manage content stored in the CMS. Also look at the configuration of CMSAdminPortlet to replicate inside your custom portlet Thanks View the original po

[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread ataylor
does this happen on startup or whilst sending a message. If the former, could you try deleting the messages from JBM_MSG and JBM_MSG_REF tables. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159595#4159595 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [Beginners Corner] - Running JBoss and Norton Security 2008

2008-06-20 Thread baumar
Hi, Since I installed Norton Security 2008 on my machine at home, I cannot run JBoss until I switch of the firewall completely. I tried to open the UDP-ports 1200 until 1500, (because they seem to be used dynamically, at least they chang with each start) but it didn't help. 17:36:00,890 ERROR

[jboss-user] [Management, JMX/JBoss] - Binding MBean to JNDI

2008-06-20 Thread madeinstein
Hi i've found this article that explains how to bind MBean to JNDI http://wiki.jboss.org/wiki/BindMBeanToJNDI But for some reason I can't get the object back using JNDI lookup, it's always null | Object obj = remoteCtx.lookup("service/Engine"); | Assert.assertNotNull(obj); | The jndi i

[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread timfox
You need to drop your old tables too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159608#4159608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159608 ___ jboss-user mailin

[jboss-user] [Javassist user questions] - Data-flow API now available in 3.8.0

2008-06-20 Thread [EMAIL PROTECTED]
For those that are interested, there is now a data-flow API in the new 3.8.0 release. A blog about entry about this feature: http://in.relation.to/Bloggers/JavassistNowProvidesDataflowAnalysisAPI Where to download: https://sourceforge.net/project/showfiles.php?group_id=22866&package_id=80766 Do

[jboss-user] [Management, JMX/JBoss] - How to access MBean from SessionBean

2008-06-20 Thread madeinstein
Do you know how can I call my MBean from SessionBean? I tried to expose my MBean via Jndi but not success so far.. Is there a better way? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159611#4159611 Reply to the post : http://www.jboss.com/index.

[jboss-user] [JBossWS] - Re: EJB Web Service Stateful?

2008-06-20 Thread gcoleman
Stateless EJBs are only stateless in the sense that they're not associated with any particular client session. The actual EJB instances can and will be pooled by the application server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159612#4159612 Reply to t

[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
This happens when sending only. Startup occurs successfully. The tables were recreated prior to attempting this, so there is no data in the JBM tables. I had to create the tables by hand, though, because the create-on-startup didn't work. But, to create the tables I took the DDL from the my

[jboss-user] [JBoss Messaging] - Re: Message Consumer fails when using messageSelector

2008-06-20 Thread mbreuer
Any idea, why the receive fails? How can i find out, what goes wrong? Are there special log entries? The ObjectMessage is stored to an oracle database, but the header fields are of type blob, so a can't take a look into. View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread timfox
Can you validate your installation by running the examples as per the user guide? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159619#4159619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159619

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - PHP $_POST not working in JBoss 4.2.2.GA?

2008-06-20 Thread gkincade
We're implementing a system that will rely upon a PHP script that is called via POST. The script has calls to the PHP super array $_POST to get the post parameters. We can see the parameters in JBoss debug so we know they're being passed but the script fails with 'undefined index' on all the

[jboss-user] [Clustering/JBoss] - FailOver and Session Stickness Behaviour

2008-06-20 Thread eduardo_thp
Hi, I´ve some doubts about how the server should behave in case of a failover, and also check if there´s any configuration to change this behaviour. My environment: 2 jboss 4.0.5 servers, (jvmRoute="tomcat1" and jvmRoute="tomcat2", useJK=true) 1 apache 2.2.8 + mod_jk 1.2.26 for load balancin

[jboss-user] [Clustering/JBoss] - Re: FailOver and Session Stickness Behaviour

2008-06-20 Thread [EMAIL PROTECTED]
The session should stick to Tomcat2. Are you using URLRewriting or session cookies? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159627#4159627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159627 __

[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
I can successfully send a message to a queue if I do not change the setup to use MySQL for message persistence. That is, do a base install of JBoss AS and it works out of the box with hsqldb and I can send a message to queue/testQueue. I did not use the process in the user guide to test this.

[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread timfox
That's strange. The example should certainly work when you use the mysql config (does for me). This strongly implies either a) wrong config is being used b) for some reason tables haven't been created properly. I would check your config and make sure it is from the right place. View the origin

[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
I pulled the mysql-persistence-service.xml from svn. Here are the files I changed in jboss from the base install and the DDL used to create the tables: messaging-ds.xml | | | MessagingDS | jdbc:mysql://HOSTNAME:3306/messaging |

[jboss-user] [JBoss Messaging] - Re: Message Consumer fails when using messageSelector

2008-06-20 Thread timfox
Sounds like your selector is just wrong, where are you setting JMSType="java.lang.String"? Please post a simple java example demonstrating the problem (both sender and receiver). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159635#4159635 Reply to the pos

  1   2   >