[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Support maxThreads minSpareThreads maxSpareThreads ?

2009-07-13 Thread jfrederic.cl...@jboss.com
The connectors share most of their code, if in your version maxspareThreads 
works for http it should work for ajp too.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243158#4243158

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243158
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unauthenticated caller null N sqlException

2009-07-13 Thread ravirachannavar
U mean that I should not make any changes in the 
hsqldb-persistence-service.xml. And the changes should be -ds.xml. fine.


And I have placed the all the jars in default/lib. Is it necessory to put it in 
the common/lib as well..?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243163#4243163

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243163
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to compile Calculator bean in ejb3 tutorial.

2009-07-13 Thread jaikiran
anonymous wrote : Detected Maven Version: 2.1.0 is not in the allowed range 
[2.0.9,2.1). 

You need Maven 2.0.9 to run the examples.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243165#4243165

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243165
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Where can I download JBoss EAP 4.3CP02 ??

2009-07-13 Thread jtcnz
I need the JBoss Enterprise Application Platform 4.3 CP02 as an application 
server. But it seems the achives of different versions of JBoss AS can not 
access as easily as  before.

How can I get it? I must register to become a customer of Red Hat? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243166#4243166

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243166
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: communicate with a remote JNDI EJB3 object

2009-07-13 Thread jaikiran
You will find a jndi.properties in the client classpath (source code). You can 
edit that to point to the remote server. Here's an example:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=jnp://Remote-Machine-IP:1099

Remote-Machine-IP is the IP/hostname of the remote server which hosts the EJB. 
1099 is the Naming port (by default) of the remote server.




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243167#4243167

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243167
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: is it possible to use jBPM with TopLink instead of Hiber

2009-07-13 Thread npirard
Thank you Ronald and Mohamed !

--
Nicolas

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243168#4243168

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243168
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to enable Directory Browsing on jboss 5 like in IIS

2009-07-13 Thread jaikiran
Under jboss-5.1.0.GA/server/ serverName/deployers/jbossweb.deployer you will 
find a web.xml which by default has set the listings attribute to false. 
Change it to set that value to true to allow directory listing:

  | init-param
  |  param-namelistings/param-name
  |  param-valuetrue/param-value
  |   /init-param

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243171#4243171

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243171
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Cant run jboss as5.1.0GA - fails to start with default s

2009-07-13 Thread jaikiran
wiggy wrote : 
  | Any one seen this / or know how to fix ??
  | 
  | just downloaded the latest version of JBOSS AS5.1.0 GA and it fails to start
  | 
  | it gets stuck somewhere after the note on starting mail in the dialogue 
  | 

I don't see any errors and things look OK to me from these logs.

anonymous wrote : 
  | heres my boot log - says something about not being able to find class 
loader which doesnt look good 
  | 

You can ignore those. That's a known (non)issue.


Try taking a thread dump and see what's going on 
http://www.jboss.org/community/wiki/StackTrace

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243172#4243172

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243172
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - ClassNotFoundException causing Problem with Passivation of S

2009-07-13 Thread mlikesit
I am getting an error that I'm not sure how to fix.  It appears that it happens 
when the EJB container (i think) tries to passivate one of my EJB 3.0 statefull 
session beans.  The  top level exception, and the root cause of the exception 
are posted below.

So basically it looks like somewhere something is trying to use reflection to 
load the class:org.omg.CORBA.InterfaceDef but it can't be found anywhere.  I 
think this happens when the EJB container tries to passivate one of my 
statefull session beans.  

I'd just include the class on my classpath, but I can't even find somewhere to 
download it from.

Top Level Exception
00:53:43,992 ERROR [HoldemTableBean] problem passivation thread
javax.ejb.EJBException: Could not passivate; failed to save state
at 
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:409)
[Rest of Stack Trace Ommitted]



The root cause of the error is this:
Caused by: java.lang.ClassNotFoundException: org.omg.CORBA.InterfaceDef from 
baseclassloa...@adc928{vfsclassloaderpolicy@1716fcd{name=vfsfile:/C:/jboss-5.0.1.GA/server/default/deployers/ejb3.deployer/
 domain=classloaderdom...@18aecf1{name=defaultdomain parentPolicy=BEFORE 
parent=org.jboss.system.noannotationurlclassloa...@4cee32} 
roots=[memorycontexthand...@6498190[path= 
context=vfsmemory://5c4o15i-b318ui-fx2upwhw-1-fx2uq4jy-8 
real=vfsmemory://5c4o15i-b318ui-fx2upwhw-1-fx2uq4jy-8], 
filehand...@28958965[path=ejb3.deployer 
context=file:/C:/jboss-5.0.1.GA/server/default/deployers/ 
real=file:/C:/jboss-5.0.1.GA/server/default/deployers/ejb3.deployer/], 
delegatinghand...@6303790[path=ejb3.deployer/jboss-ejb3-deployer.jar 
context=file:/C:/jboss-5.0.1.GA/server/default/deployers/ 
real=file:/C:/jboss-5.0.1.GA/server/default/deployers/ejb3.deployer/jboss-ejb3-deployer.jar],
 delegatinghand...@16463057[path=ejb3.deployer/jboss-ejb3-iiop.jar 
context=file:/C:/jboss-5.0.1.GA/server/default!
 /deployers/ 
real=file:/C:/jboss-5.0.1.GA/server/default/deployers/ejb3.deployer/jboss-ejb3-iiop.jar]]
  delegates=null exported=[org.jboss.as.javaee, org.jboss.ejb3.clientmodule, 
org.jboss.ejb3.deployers, org.jboss.ejb3.deployers.tmp, org.jboss.ejb3.iiop, 
org.jboss.as.jpa.resolvers, META-INF] IMPORT-ALLNON_EMPTY}}

[Rest of Stack Trace Ommitted]


My Environment
OS: WIndows Vista 32 bit
JBOSS 5.1


Thanks in advance for any help. 
-Mike

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243176#4243176

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243176

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: javax.ejb.EJBTransactionRolledbackException: java.lang.S

2009-07-13 Thread denica.gencheva
The same process works with version 3.2.2. But I don't want to use it because I 
have a problem with fork/join there.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243179#4243179

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243179
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBoss 5.0.1.GA, JBossWS 3.0.5, JDK 1.6 - java.lang.Unsup

2009-07-13 Thread a.fluegge
Yes, I'm already using the JDK6 version of JBoss. And in fact, there are no 
search results concerning this issue. :-( 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243180#4243180

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243180
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 and asynchronous continuatios

2009-07-13 Thread jbarrez
No, this is not correct. The documentation states: 'indicates if an 
asynchronous continuation should be performed before the element is executed.'

If you try the async activity example in the distribution, you can modify the 
test case (ie remove the job execution through the mgt service) and you'll see 
that the activity never gets executed.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243181#4243181

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243181
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re:

2009-07-13 Thread ataylor
anonymous wrote : 1) When I monitor my queue from JBoss jmx-console I see very 
low message counts, typically less that 50. I know that all my 1000 messages 
have been pumped into the queue because the call to send them has returned. I 
also know that only a handful have been received by watching the logs. So why 
does the console not show a big number in the queue? 

This could be for 2 reasons, either the messages haven't arrived in the queue 
yet (this could happen if paging kicks in) or the messages are sitting in the 
clients internal buffer.

anonymous wrote : 2) In the stand-alone server use case, where is the 
connection factory located - on the JBM server or on client (i.e. a standalone 
application or servlet/EJB running on an application server)?

I'm not 100% sure what yopu mean by located. The connection factories are 
configured and created on the server and serialized to the client on lookup. 
The instance being used is on the client side.

anonymous wrote :  I am assuming that it is on the client and you might even 
provide an implementation that manages a pool of connections just like the JCA 
adapter on the application server. Is this assumption correct? 

This we already do, see the 'Session Multiplexing' chapter.

regarding the documentation, we will be reviewing this again before GA and will 
nore your comments.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243182#4243182

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243182
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 and asynchronous continuatios

2009-07-13 Thread kukeltje
Shouldn't there be a warning somewhere if async is encountered but there is no 
job executor configured?

@Joram: Would make a nice and very interesting blog entry though, the 
difference between jBPM 3 and 4 regarding async stuff ;-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243183#4243183

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243183
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: javax.ejb.EJBTransactionRolledbackException: java.lang.S

2009-07-13 Thread kukeltje
Does the same problem occur when you start this without an ejb, just in a 
unittest?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243184#4243184

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243184
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment Descriptor Overriding Not Working?

2009-07-13 Thread jaikiran
Ichai,

Please start a new thread to discuss your question. Also please provide details 
like which version of JBoss AS you are using and what version of EJB. Also 
which setting do you want to override using the xmls? And just to get you 
started, here's the EJB3 tutorial which might help you find what you are 
looking for 
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/index.html

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243185#4243185

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243185
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re:

2009-07-13 Thread timfox
nbhatia wrote : 
  | Thanks for the pointers. Based on your suggestions I have been able to send 
and receive 1000 messages on my Windows XP box without any problems! I tried to 
push this number upwards but it breaks at about 3000 messages - same 
Connection failure has been detected message. Anyway, I am not worried about 
that right now since I am not expecting those kinds of loads on my system. 
  | 

I am worrried though since that should never happen, irrespective of load. 
Clebert and Andy are the guys who have access to Windows boxes. Hopefully one 
of them will try and replicate this.

anonymous wrote : 
  | 1) When I monitor my queue from JBoss jmx-console I see very low message 
counts, typically less that 50. I know that all my 1000 messages have been 
pumped into the queue because the call to send them has returned. I also know 
that only a handful have been received by watching the logs. So why does the 
console not show a big number in the queue?
  | 

The messages probably aren't in the queue, they're buffered on the client 
waiting for consumption. If you don't want buffering you can turn this off, see 
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html_single/index.html#flow-control.consumer.window

anonymous wrote : 
  | Next, I would use these diagrams as a base for explaining deeper concepts. 
Overlay them with connection factories to show where they are located and how 
many of them are there. Especially useful would be to show what we get 
out-of-the-box. For example, I had no idea that we get the JmsXA factory 
out-of-the-box and it is a JCA factory that I can start using right away. The 
documentation leads me to believe that I got to do a #~it-load of configuration 
before I can get JCA working - which is absolutely not true.
  | 

Well, you don't get it out of the box with JBoss Messaging. The thing at 
java/:JmsXA is the JBoss app server is the JMS JCA resource adapter - it's not 
part of JBoss Messaging is part of the application server and is there 
irrespective of whether you have installed JBM or not. The JBoss AS JCA adapter 
can be used with other messaging implementations too.

anonymous wrote : 
  | Finally, it would be very helpful to use the diagrams to show which 
configuration file controls which piece. There are so many configuration files 
flying out there that it is confusing for a beginner.
  | 

Certainly JBoss application server has many configurations files, but JBoss 
Messaging actually has very few, just:

jbm-configuration.xml - this is the main config file with most stuff in it

jbm-users.xml - this is the default user credential file - you probably won't 
even use this when using jboss as

jbm-jms.xml - this just contains JMS destinations and connection factories, you 
won't use this if you're not using JMS

You can actually run a fully functioning server with just jbm-configuration.xml.

The purpose of all the above files are explained in 
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html_single/index.html#using-server.configuration

Any other files you have configured (e.g. jms-ds.xml) are not part of JBoss 
Messaging - they're JBoss Application Server config files and should be 
described in the JBoss AS documentation.

Thanks for your feedback it's very constructive.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243188#4243188

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243188
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Multiple concurrent sub-processes

2009-07-13 Thread aapthorp
Does jBPM / jpdl have a standard way of initiating multiple concurrent 
sub-processes of the same type, when the exact number of instances is only 
known at run time?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243191#4243191

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243191
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deplyoment failing in jboss-5.1.0.GA

2009-07-13 Thread XsubinX
No way , I tried all different combination.

Also export-all cannot be false.

It can be either ALL or NON_EMPTY

Thanks
Subin

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243192#4243192

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243192
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re:

2009-07-13 Thread ataylor
If you can provide your configuration, MDB and client code I'll run it on my 
windows box today

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243193#4243193

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243193
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBOSS crashes, possibly database related; Exception: rec

2009-07-13 Thread cgries
Hello jaikiran, thanks for your reply. We are using version 5.1.7, which is, as 
far as I know, the latest one. So that should not be the cause of the problems.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243194#4243194

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243194
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - ManyToMany prob. with reading lists from entities

2009-07-13 Thread NSchweig
Hi,

I have got two Entities. Appointment and AppointmentOffer.
The relation is @ManyToMany.

Appointment.java
//bidirektional, inverse Seite
  | 
@ManyToMany(fetch=FetchType.EAGER,mappedBy=appointments,cascade=CascadeType.MERGE)
  | @IndexColumn(name=INDEX_COL)
  | private ListAppointmentOffer appointmentOffers= new 
ArrayListAppointmentOffer();

AppointmentOffer.java
  | //bidirektional, besitzende Seite
  | @ManyToMany(fetch=FetchType.EAGER)
  | @IndexColumn(name=INDEX_COL)
  | private ListAppointment appointments = new ArrayListAppointment();

I have got two jsf-pages. One is first reading the appointmentOffers and then 
reading the list with appointments from this offers:

show_appointment_offers.xhtml
  | rich:dataTable value=#{appointmentBeanInst.appointmentOffers} 
var=appOffer
  | rich:column
  |  h:outputText value=#{appOffer.id} /
  | /rich:column
  | ...
  | rich:column
  | h:dataTable value=#{appOffer.appointments} var=app
  | h:column
  |  h:outputText value=#{app.title} /
  | /h:column
  | /rich:column
  | /rich:dataTable

The second pages tries to do the same with the appointments:
show_appointments.xhtml
rich:dataTable value=#{appointmentBeanInst.freeAppointments} 
var=appointment 
  | rich:column sortBy=#{appointment.title}
  |  h:outputText value=#{appointment.title} /
  | /rich:column
  | ...
  | rich:column
  | h:dataTable value=#{appointment.appointmentOffers} var=appOffer
  | h:column
  |  h:outputText value=#{appOffer.title} /
  | /h:column
  | /h:dataTable
  | ...
  | 
The problem is that in the second page only one of the appointmentOffers is 
shown (in the list is only one appointmentOffer). I do not understand this. The 
only difference between the first and the second page is that appointmentOffer 
is the owner side. Is that the reason? How can I solve this?

Thanks for your hints.
NSchweig

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243195#4243195

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243195
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM Documentation

2009-07-13 Thread sushantgupta402
Hi, 
I am a new to JBPM and found that there is very less documentation or proper 
documentation of the features of JBPM. Is there any book or reference material 
other than the user guide? Also is there a specific documentation on how to use 
execution context? A quick help will be highly appreciated. 

Thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243197#4243197

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243197
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-07-13 Thread Leos.Bitto
rkapur123 wrote : Hi Leos.bitto
  | 
  | I have jboss SOA 4.3 ESB which has Jboss Messaging as messaging provoder.
  | 
  | Using Spring framework's MDP (message driven pojo) - I want to listen on 
sampleQueue. As per springframework 2.5 guide - MDP is a simple class which 
implements javax.jms.MessageListener onMessage().
  | 

I do not use any support for JMS from Spring, because my trust in their JMS 
code vanished when I found out how terribly inefficient is their JmsTemplate. 
So I have studied the JMS 1.1 specification and wrote the necessarry code 
myself - it was not difficult, and I got a code which performs much better.

rkapur123 wrote : 
  | I have the class and specified the following in applicationContext.xml file
  | 
  | 
  |   | bean id=messageListener class=com.acme.SpringMDP /
  |   | 
  |   | bean id=listenerContainer
  |   | 
class=org.springframework.jms.listener.DefaultMessageListenerContainer
  |   | property name=concurrentConsumers value=5 /
  |   | property name=destination ref=destination /
  |   | property name=connectionFactory 
ref=connectionFactory /
  |   | property name=messageListener ref=messageListener 
/
  |   | /bean
  |   | 
  | 
  | but how should I define connectionFactory and destination in spring 
context file. 
  | 

There are more possibilities, but the most versatile one seems to be to use 
JNDI - that actually makes your code compatible with most JMS providers, not 
only JBoss Messaging. Check the chapter 5.3. JNDI configuration of the JBoss 
Messaging documentation and use something like this (not tested):


  |   bean name=jbmJndiEnv
  | props
  |   prop 
key=java.naming.factory.initialorg.jnp.interfaces.NamingContextFactory/prop
  |   prop key=java.naming.provider.urljnp://myhost:1099/prop
  |   prop 
key=java.naming.factory.url.pkgsorg.jboss.naming:org.jnp.interfaces/prop
  | /props
  |   /property
  | 
  |   bean id=connectionFactory 
class=org.springframework.jndi.JndiObjectFactoryBean
  | property name=jndiEnvironment ref=jbmJndiEnv /
  | property name=lookupOnStartup value=false/
  | property name=proxyInterface value=javax.jms.ConnectionFactory/
  | property name=jndiName value=ConnectionFactory /
  |   /bean
  | 
  |   bean id=destination 
class=org.springframework.jndi.JndiObjectFactoryBean
  | property name=jndiEnvironment ref=jbmJndiEnv /
  | property name=lookupOnStartup value=false/
  | property name=proxyInterface value=javax.jms.Destination /
  | property name=jndiName value=/queue/ExampleQueue /
  |   /bean
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243200#4243200

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243200
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss OSGi] - Re: JBossOSGi source archive

2009-07-13 Thread thomas.dies...@jboss.com
I've resolved JBOSGI-101 

You might also want to monitor 

https://jira.jboss.org/jira/browse/JBOSGI-111

cheers

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243205#4243205

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243205
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ManyToMany prob. with reading lists from entities

2009-07-13 Thread Wolfgang Knauf
Hi Nicole,

I don't see wrong things here. 

Is there a difference beetween appointmentBeanInst.appointmentOffers and 
appointmentBeanInst.freeAppointments?

By the way, I would not advice you to use FetchType.EAGER on both sides of a 
ManyToMany relation: http://www.jboss.org/community/wiki/EJB3relationships

Best regards

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243213#4243213

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243213
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - jboss seam 2.2 runtime support in jboss tools

2009-07-13 Thread kretes
This is currently not supported in development version 3.1.0.M2

Does anybody know when will be? Will it be after 2.2.0 will be stable?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243219#4243219

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243219
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread kukeltje
http://www.packtpub.com/jboss-jbpm/book (from google)

For 4 there are no books yet. But the sourcecode (examples in the jBPM 
download) are very good starting points

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243222#4243222

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243222
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Multiple concurrent sub-processes

2009-07-13 Thread kukeltje
jbpm 3: use the foreach fork handler like in the wiki. Only change the task to 
subprocess.

That is the 'standard' way of doing it in jBPM 3.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243223#4243223

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243223
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Caused by: javax.resource.ResourceException: Transaction is

2009-07-13 Thread Randysv
I get the following exception when I use a timer in a task-node.
I use an Oracle XA data source.

03:16:06,783 ERROR [LogInterceptor] TransactionRolledbackLocalException in 
method: public abstract void javax.ejb.TimedObject.ejbTimeout(javax.ejb.Timer), 
causedBy:
org.hibernate.exception.GenericJDBCException: Cannot open connection
at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at 
org.hibernate.jdbc.AbstractBatcher.prepareSelectStatement(AbstractBatcher.java:145)
at 
org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:96)
at 
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
at 
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
at 
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546)
at org.jbpm.logging.db.DbLoggingService.log(DbLoggingService.java:49)
at org.jbpm.svc.save.SaveLogsOperation.save(SaveLogsOperation.java:43)
at org.jbpm.svc.Services.save(Services.java:173)
at org.jbpm.JbpmContext.save(JbpmContext.java:461)
at org.jbpm.JbpmContext.autoSave(JbpmContext.java:691)
at org.jbpm.JbpmContext.close(JbpmContext.java:129)
at 
org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java:124)
at sun.reflect.GeneratedMethodAccessor596.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:228)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at 
org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
at 
org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
at 
org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
at org.jboss.ejb.Container.invoke(Container.java:1029)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy162.execute(Unknown Source)
at 
org.jbpm.ejb.impl.TimerEntityBean.ejbTimeout(TimerEntityBean.java:129)
at sun.reflect.GeneratedMethodAccessor595.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at 

[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-07-13 Thread Leos.Bitto
Because I have started this thread about embedding the JBoss Messaging server, 
here is my solution for everybody who would need it:


  | import java.util.HashMap;
  | import java.util.HashSet;
  | import java.util.Map;
  | import java.util.Set;
  | import org.jboss.messaging.core.config.Configuration;
  | import org.jboss.messaging.core.config.TransportConfiguration;
  | import org.jboss.messaging.core.config.impl.ConfigurationImpl;
  | import org.jboss.messaging.core.remoting.impl.invm.InVMAcceptorFactory;
  | import org.jboss.messaging.core.remoting.impl.invm.TransportConstants;
  | import org.jboss.messaging.core.server.Messaging;
  | import org.jboss.messaging.core.server.MessagingServer;
  | import org.jboss.messaging.jms.JBossQueue;
  | import org.jboss.messaging.jms.JBossTopic;
  | import org.jboss.messaging.utils.SimpleString;
  | 
  | public class EmbeddedServer {
  | 
  | private final MessagingServer server;
  | 
  | public EmbeddedServer() {
  | final SetTransportConfiguration transports = new 
HashSetTransportConfiguration();
  | transports.add(new 
TransportConfiguration(InVMAcceptorFactory.class.getName()));
  | server = createMessagingServer(transports);
  | }
  | 
  | public EmbeddedServer(int serverID) {
  | final MapString,Object params = new HashMapString,Object();
  | params.put(TransportConstants.SERVER_ID_PROP_NAME, serverID);
  | final SetTransportConfiguration transports = new 
HashSetTransportConfiguration();
  | transports.add(new 
TransportConfiguration(InVMAcceptorFactory.class.getName(), params));
  | server = createMessagingServer(transports);
  | }
  | 
  | public static MessagingServer 
createMessagingServer(SetTransportConfiguration transports) {
  | final Configuration configuration = new ConfigurationImpl();
  | configuration.setPersistenceEnabled(false);
  | configuration.setSecurityEnabled(false);
  | configuration.setAcceptorConfigurations(transports);
  | return Messaging.newMessagingServer(configuration);
  | }
  | 
  | public void start() throws Exception {
  | server.start();
  | }
  | 
  | public void stop() throws Exception {
  | server.stop();
  | }
  | 
  | public JBossQueue createQueue(String name, boolean temporary) throws 
Exception {
  | final SimpleString q = JBossQueue.createAddressFromName(name);
  | server.createQueue(q, q, null, false, temporary);
  | return new JBossQueue(name);
  | }
  | 
  | public JBossQueue createQueue(String name) throws Exception {
  | return createQueue(name, false);
  | }
  | 
  | public JBossQueue createTemporaryQueue(String name) throws Exception {
  | return createQueue(name, true);
  | }
  | 
  | public JBossTopic createTopic(String name, boolean temporary) throws 
Exception {
  | final SimpleString t = JBossTopic.createAddressFromName(name);
  | server.createQueue(t, t, new SimpleString(__JBMX=-1), false, 
temporary);
  | return new JBossTopic(name);
  | }
  | 
  | public JBossTopic createTopic(String name) throws Exception {
  | return createTopic(name, false);
  | }
  | 
  | public JBossTopic createTemporaryTopic(String name) throws Exception {
  | return createTopic(name, true);
  | }
  | }
  | 

You need javax.jms.(XA)ConnectionFactory, too:


  | import java.util.HashMap;
  | import java.util.Map;
  | import org.jboss.messaging.core.config.TransportConfiguration;
  | import org.jboss.messaging.core.remoting.impl.invm.InVMConnectorFactory;
  | import org.jboss.messaging.core.remoting.impl.invm.TransportConstants;
  | import org.jboss.messaging.jms.client.JBossConnectionFactory;
  | 
  | public class InVMConnector {
  | 
  | public static final String DEFAULT_NAME = 
InVMConnectorFactory.class.getName();
  | 
  | public static JBossConnectionFactory createJBossConnectionFactory() {
  | return createJBossConnectionFactory(DEFAULT_NAME);
  | }
  | 
  | public static JBossConnectionFactory 
createJBossConnectionFactory(String className) {
  | final TransportConfiguration transportConfiguration =
  | new TransportConfiguration(className);
  | return new JBossConnectionFactory(transportConfiguration);
  | }
  | 
  | public static JBossConnectionFactory createJBossConnectionFactory(int 
serverID) {
  | return createJBossConnectionFactory(serverID, DEFAULT_NAME);
  | }
  | 
  | public static JBossConnectionFactory createJBossConnectionFactory(int 
serverID, String className) {
  | final MapString,Object connectionParams = new 
HashMapString,Object();
  | connectionParams.put(TransportConstants.SERVER_ID_PROP_NAME, 
serverID);
  | final TransportConfiguration transportConfiguration =
  | new 

[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-07-13 Thread ataylor
or If you want to run a full standalone server in spring use something like the 
following and make sure the JBM config files are available on the classpath

?xml version=1.0 encoding=UTF-8?
  | beans xmlns=http://www.springframework.org/schema/beans;
  |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |xsi:schemaLocation=http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd;
  | 
  |bean name=messagingServer 
class=org.jboss.messaging.core.server.impl.MessagingServerImpl 
init-method=start destroy-method=stop
  |   constructor-arg ref=Configuration/
  |   constructor-arg ref=JBMSecurityManager/
  |/bean
  | 
  |bean name=Configuration 
class=org.jboss.messaging.core.config.impl.FileConfiguration 
init-method=start destroy-method=stop/
  | 
  |bean name=JBMSecurityManager 
class=org.jboss.messaging.core.security.impl.JBMSecurityManagerImpl/
  | 
  | 
  | /beans



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243233#4243233

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243233
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Getting EJB from remote Jboss instance fails

2009-07-13 Thread atijms
One thing that frequently fails when doing remote EJB communication using RMI 
is that not all ports are open. 

jnp://10.0.0.2:1099 seems to indicate that only port 1099 has to be open, but 
in fact more ports need to be open. From the top of my head that's 1083 and I 
think 1089 too.

I'm not 100% sure, but I think the exception will always Failed to connect to 
server 10.0.0.2:1099, even when the connection to 1099 succeeded and the 
follow up connection to 1083 fails.

I do wonder though if there's an overview somewhere that lists the exact 
requirements for remote EJB usage in Jboss AS.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243234#4243234

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243234
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Getting EJB from remote Jboss instance fails

2009-07-13 Thread jaikiran
This might be of some help 
http://www.jboss.org/community/wiki/UsingJBossBehindAFirewall

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243238#4243238

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243238
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-07-13 Thread Leos.Bitto
ataylor wrote : or If you want to run a full standalone server in spring use 
something like the following and make sure the JBM config files are available 
on the classpath
  | 

Cool, it is nice to see that you guys from JBoss are willing to suggest a 
straight replacement of JBoss Microcontainer by Spring Framework. Your example 
is missing the JMS objects needed at the client side, though - at least 
javax.jms.(XA)ConnectionFactory and some javax.jms.Destination (Queue or Topic) 
would be needed, unless you want to use your core API directly.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243239#4243239

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243239
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-07-13 Thread ataylor
anonymous wrote : Cool, it is nice to see that you guys from JBoss are willing 
to suggest a straight replacement of JBoss Microcontainer by Spring Framework

I wouldnt say that, this is just something i was messing round with. 

anonymous wrote : Your example is missing the JMS objects needed at the client 
side, though - at least javax.jms.(XA)ConnectionFactory and some 
javax.jms.Destination (Queue or Topic) would be needed, unless you want to use 
your core API directly.

These are defined in the jbm-configuration, jbm-jms.xml and jbm-users.xml files.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243241#4243241

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243241
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread sushantgupta402
Hi Ronald thanks for the reply the book you have suggested is good but doesn't 
speak much about the jPDL moreover the book's title itself says that it is 
mainly for business analysts. If you have any idea can you please explain how 
can I figure out if all the subrocesses has ended before moving ahead with the 
main process.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243243#4243243

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243243
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-07-13 Thread timfox
Leos.Bitto wrote : 
  | Cool, it is nice to see that you guys from JBoss are willing to suggest a 
straight replacement of JBoss Microcontainer by Spring Framework. 

Well.. we're not recommending a replacement of JBoss MC by Spring. 

But we also realise that a lot of people use Spring, or A.N. Other dependency 
injection framework and we want JBM to be flexible enough to work with all 
those :)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243244#4243244

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243244
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re:

2009-07-13 Thread nbhatia
Andy and Tim, thanks for answering my questions. I guess I was not very clear 
on the boundaries between JBM and JBoss, so your explanation was very helpful. 
Since many users will use JBoss and JBM together, I suppose including that 
explanation in the manual would also be very useful.

I have reopened https://jira.jboss.org/jira/browse/JBMESSAGING-1677 and 
attached my latest code to it. The configuration steps are included in 
readme.txt. Andy, if you need any more information please let me know.

Thanks.
Naresh

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243247#4243247

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243247
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread kukeltje
uhmmm... that should be trivial if you model it that way nothing special to 
do. A sub process node in the main process continues if the subprocess itself 
is ended.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243250#4243250

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243250
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-07-13 Thread Leos.Bitto
ataylor wrote : anonymous wrote : Cool, it is nice to see that you guys from 
JBoss are willing to suggest a straight replacement of JBoss Microcontainer by 
Spring Framework
  | 
  | I wouldnt say that, this is just something i was messing round with. 
  | 

Well, I have actually suspected that the omission of JBoss Microcontainer in 
your example would be most probably considered a mistake by most 
RedHat-employed people. :-)

ataylor wrote : 
  | anonymous wrote : Your example is missing the JMS objects needed at the 
client side, though - at least javax.jms.(XA)ConnectionFactory and some 
javax.jms.Destination (Queue or Topic) would be needed, unless you want to use 
your core API directly.
  | 
  | These are defined in the jbm-configuration, jbm-jms.xml and jbm-users.xml 
files.

Sure, but that is where the server picks them. I wrote that your example 
(unlike mine) does not show how the client is supposed to reach these objects.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243251#4243251

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243251
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Configure Portlet-Instances

2009-07-13 Thread TomHombergs
Hi,

I've been searching for a way to configure portlet instances. I'd like to 
have several instances of the same portlet in the portal, but each should 
behave differently, depending on some parameter passed at instantiation.

Is there a way to store some parameter for each portlet instance? Either 
through the admin interface or programmatically? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243255#4243255

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243255
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - TimerService.createTimer() in @Service POJO, 4.2.3 vs 5.1.0

2009-07-13 Thread vskytta
Hello,

When migrating @Service POJOs from JBoss AS 4.2.3 to 5.1.0, I ran into a 
problem (bug?) with EJB timers (among others, more about those later in 
separate posts) .  Simplified example:

DummyService.java:

package example;
  | 
  | public interface DummyService
  | {
  | void start()
  | throws Exception;
  | }

DummyServiceBean.java:

package example;
  | 
  | import java.util.Date;
  | 
  | import javax.annotation.Resource;
  | import javax.ejb.Timeout;
  | import javax.ejb.Timer;
  | import javax.ejb.TimerService;
  | 
  | import org.jboss.ejb3.annotation.Management;
  | import org.jboss.ejb3.annotation.Service;
  | 
  | @Service
  | @Management(DummyService.class)
  | public class DummyServiceBean
  | implements DummyService
  | {
  | @Resource
  | protected TimerService timerService;
  | 
  | public void start()
  | throws Exception
  | {
  | timerService.createTimer(new Date(), 5000, DUMMY);
  | }
  | 
  | @Timeout
  | public void timeout(Timer timer)
  | {
  | System.out.println(PING);
  | }
  | }

This works with AS 4.2.3 (annotation packages obviously changed to the old 
ones), but the createTimer() fails in 5.1.0 with an InvocationTargetException 
whose root cause is:

Caused by: java.lang.IllegalStateException: Cannot obtain inMethodFlag for: 
TimerService.createTimer
  | at 
org.jboss.ejb.AllowedOperationsAssociation.assertAllowedIn(AllowedOperationsAssociation.java:145)
  | at 
org.jboss.as.ejb3.timerservice.TimerServiceFacade.assertAllowedIn(TimerServiceFacade.java:59)
  | at 
org.jboss.as.ejb3.timerservice.TimerServiceFacade.createTimer(TimerServiceFacade.java:64)
  | at example.DummyServiceBean.start(DummyServiceBean.java:24)
  | [...]

I don't remember seeing any instructions except the annotation package changes 
in the 5.x release notes for migrating @Service POJOs.  Ideas?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243256#4243256

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243256
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Jmx port automatic binding

2009-07-13 Thread remnet
hi,
i try to launch multiple jboss servers, each one with a jmx (rmi) different 
port.
i found the JAVA_OPT setings to activate and bind the agent to one specific  
port (JAVA_OPTS -Dcom.sun.management.jmxremote.port=x) 

but i'd like to know if i can (and how to) use the binding services to proceed 
like any over default port  with a constant port offset like many other 
services.

thx

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243265#4243265

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243265
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jBPM Task Forms Example Not Working

2009-07-13 Thread vdurbha
I installed the latest jBPM 4 with JBoss 5.1.0 and Eclipse Ganymede. I tried to 
create an instance of VacationRequest process (Task Form example) and then 
login to jBPM console as peter and claimed the task.

When I go to Personal Tasks tab and try to open the task, I get a message 
saying The task doesn't provide a UI. But the example does have a 
request_vacation.ftl form but somehow the console doesn't pick it up.

Can someone please help me find the problem?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243266#4243266

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243266
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Configure Portlet-Instances

2009-07-13 Thread LeoLo
Hi Tom,

what about using the descriptor portlet-instances.xml?

...This is a JBoss Portal specific descriptor that allows a developer to 
instantiate one-or-many instances of one-or-many portlets. The benefit of using 
this technique, is to allow one portlet to be instantiated several times with 
different preference parameters. ...

http://docs.huihoo.com/jboss/portal/2.6/reference-guide/html/xmldescriptors.html#desc_instancesxml

LeoLo

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243267#4243267

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243267
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Does anyone has example for ExpressionAssignmentHandler

2009-07-13 Thread csplrj
I wanted to see the example of identity management regarding how to configure 
our orgainzation's mapping and using ExpressionAssignmentHandler regarding this

CSJakharia

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243268#4243268

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243268
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - dependencies classes used in process

2009-07-13 Thread jokum
Hi all,

I currently have a process using some custom Java classes (DecisionHandler, 
...) These classes have some dependencies (custom domain model classes) 
contained is a different jar file. How can I make sure these classes are being 
found when the process is deployed?

I would like to avoid the use of the server's classpatch. Could a dummy process 
be used or do all process deployments get a different classloader?

Thanks,
Johan,

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243269#4243269

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243269
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread sushantgupta402
Yes you are right that if a subprocess is ended it will take due care to notify 
the parent but how about multiple subprocesses? In case of multiple 
subprocesses each one signals the parent and that creates a problem. Luckily I 
figured out the way but there is one more problem. Here is the business 
scenario see if you can help:
From a node I have to spwan multiple (read variable number of process else I 
could have used fork) processes and same number of tasks. What I am doing is 
creating multiple task from a node and from task-create event I am creating 
multiple sub process. Am I doing it corretly or you have a better suggestion?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243271#4243271

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243271
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Farm deployment errors with large WAR files

2009-07-13 Thread akarl16
I'm seeing the same behavior with a 37MB ear, JBoss 5.10 GA, and the base setup 
for clustering/JGroups (the All configuration).  I am deploying using the 
recommended method of dropping the file into the farm directory on the master 
node.  When I do this I begin seeing the Cannot acquire local lock messages 
on the child node.  ~20 minutes later the deployment proceeds on both machines 
at the same time.  

I'm experimenting with changing the OS level UDP settings as suggested but have 
not had dramatically better results yet.  I am raising the net.core.rmem_max 
limit and gathering deployment times to see if it is improving as I raise it 
however I stopped setting Udp packet receive errors once I took the limit above 
2MB so I suspect something else may be limiting the file transfer now.

I also don't see this behavior if I deploy to the master node while it is the 
only node and then bring up other nodes in the cluster after the 
deployment...i.e. when I do that the deployment to the child nodes is almost 
instantaneous following the typical startup time.  This makes me thing the 
problem is not at the OS level.

I'll zip and email my server log as well after turning on the logging and will 
post some timings from my deployment testing for others to compare against.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243273#4243273

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Login information cached? Interceptor?

2009-07-13 Thread AntonKronseder
It looks like the login information is cached.
But I need to turn this off.
(jboss-portal-2.7.2/zip-download with JBoss-4.2.X)

When I place a breakpoint in a LoginModule
(e.g. org.jboss.security.auth.spi.IdentityLoginModule or 
org.jboss.portal.identity.auth.IdentityLoginModule) and login as user1 I reach 
the breakpoint. When I logout and login as user2 I also reach the breakpoint, 
but when I now logout as user2 and login again as user1 I do not reach the 
breakpoint and user1 is logged in immediately.

I guess the successful login of user1 a few seconds before is somehow, 
somewhere cached using some interceptor.

Does anyone know whether or not I am right and how to turn this off, as I have 
to assure that nothing is cached and the LoginModule is used every time a user 
tries to login.

Any help or ideas?

Thanks in advance,

Anton

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243288#4243288

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243288
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: change xml Schema to jpdl-3.1.xsd

2009-07-13 Thread jbossjbpm
Guys,

I am using JBPM-JPDL-Suite.3.2.G.A on LINUX and have used IDE Eclipse 3.2.
every time I try including a process flow, it gives me a error as follows

Processing Dirty regions
Referenced Grammars 
org.eclipse.wst.common.uriresolver.URIResolverExtension

Thanks in advance.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243289#4243289

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243289
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBoss 5.1.0GA with JBM2.0.0. b3

2009-07-13 Thread guntherv
Hi

I've integrated JBM 2.0.0 Beta 3 with JBoss AS 5.1.0GA using the Ant script 
provided with JBM.  This worked fine but somehow I fail to register a custom 
queue on the system.
  
I copied the files delivered with JBM (config\jboss-as\non-clustered) to the 
JBOSS\server\default-with-jbm2 profile and get errors about beans that are 
already present.  If I skip the jbm-jboss-beans.xml file, no errors are shown 
but I fail to find my custom defined queue.

As a JBM newbie I don't understand why I get this error?  Somehow JBM must 
already be there.   And if it is active, I wonder why I can't find my queue 
using the Admin Console?  I'm sure I'm missing something crucial here.

I simply registered 2 queues in the jbm-jms.xml file.

configuration xmlns=urn:jboss:messaging
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=urn:jboss:messaging /schema/jbm-jms.xsd
  | 
  |connection-factory name=ConnectionFactory
  |   connector-ref connector-name=netty/
  |   entries
  |  entry name=ConnectionFactory/
  |   /entries
  |/connection-factory
  |
  |queue name=pbRequestQueue
  |   entry name=/queue/pbRequestQueue/
  |/queue
  |queue name=pbResponseQueue
  |   entry name=/queue/pbResponseQueue/
  |/queue
  | 
  | /configuration

Thank you in advance for your reply.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243294#4243294

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243294
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss 5.1.0GA with JBM2.0.0. b3

2009-07-13 Thread timfox
Hi Gunther-

If you run the ant install script as mentioned in the quick start guide (after 
setting JBOSS_HOME) as described in 
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/quickstart-2.0.0.beta2/html/installation.html#installation.jboss
 then it should create a default-with-jbm2 profile and you don't need to 
manually copy any other files over.

To validate that JBM 2.0 was installed correctly you can try running the javaee 
examples as explained in the examples chapter. If these examples run ok you 
know you installed JBM alright. Otherwise it's likely it's a botched install, 
in which case I suggest starting the installation again with a fresh download 
of JBoss AS and JBM 2.0.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243299#4243299

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243299
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss 5.1.0GA with JBM2.0.0. b3

2009-07-13 Thread ataylor
firstly, you shouldn't need to copy any files the install script does this for 
you.

also, can you use the jmx console not the admin console. have you tried sending 
messages to the queue?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243300#4243300

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243300
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss 5.1.0GA with JBM2.0.0. b3

2009-07-13 Thread timfox
ataylor wrote : firstly, you shouldn't need to copy any files the install 
script does this for you.
  | 
  | also, can you use the jmx console not the admin console. have you tried 
sending messages to the queue?

+1. JBM 2.0 *as yet* is not managed by the JBoss AS 5 admin console.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243301#4243301

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243301
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Where can I download JBoss EAP 4.3CP02 ??

2009-07-13 Thread PeterJ
Yes, that is the supported version available from the support portal and you 
need a support contract to download and use it. You can download an evaluation 
copy from http://www.jboss.com/products/platforms/application/ (registration is 
required)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243302#4243302

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243302
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re:

2009-07-13 Thread timfox
nbhatia wrote : Andy and Tim, thanks for answering my questions. I guess I 
was not very clear on the boundaries between JBM and JBoss, so your explanation 
was very helpful. Since many users will use JBoss and JBM together, I suppose 
including that explanation in the manual would also be very useful.
  | 

Agreed, especially for users using JBM in JBoss AS, it's easy to just think of 
everything as just JBoss. We should add some clarification in the 
documentation. Thanks again for your good feedback :)


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243303#4243303

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243303
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - mapped-name is required for jdbc

2009-07-13 Thread neelesh.parulkar
Hi,
 I am trying to deploy a webwar on Jboss 5.0.1 GA. I am using Struts2 and 
mysql as the DB. I get following exception while deploying the war:
I have my resource ref entires defined in web.xml and data source entry in the 
ds file:

***
java.lang.RuntimeException: mapped-name is required for jdbc/LOYALTY of 
deployment Loyalty.war
at 
org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceRefs(WebResourceHandler.java:178)
at 
org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:327)
at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:564)
at 
org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4272)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy36.start(Unknown Source)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at 
org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unauthenticated caller null N sqlException

2009-07-13 Thread PeterJ
Placing the JDBC driver JAR files in server/default/lib is acceptable.

Wait a minute, I re-read the error mesage. Looks like you are not use a type-4 
JDBC driver (pure Java), that instead you are using a type-2 (requires native C 
library). In that case you must either change your PATH  (Windows) or 
LD_LIBRARY_PATH (Linux) env var to include the directory containing the C 
library required by the driver.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243304#4243304

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243304
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Token Task Variables.

2009-07-13 Thread sushantgupta402
I have certain question about Token.
1. What is a token?
2. Do we get a separate token for each node or just one toke for the entire 
process definition?
3. If I am programmatically creating multiple instances of a Task can I have 
same set of variables but different values for all of them and also can I have 
then persist in database?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243307#4243307

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243307
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBoss 5.0.1.GA, JBossWS 3.0.5, JDK 1.6 - java.lang.Unsup

2009-07-13 Thread PeterJ
Perhaps a stray jaxws library is being picked up. Try adding -verbose:class to 
the JAVA_OPTS in the run script. This option causes the JVM to print the 
location of each class loaded. Look for where the SOAPMessage class gets 
loaded. By the way, this option generate a lot of output - you better redirect 
both stdout and stderr to a file.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243308#4243308

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243308
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: Jmx port automatic binding

2009-07-13 Thread PeterJ
What version of JBoss AS? The binding service underwent a major rehaul in 5.0.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243311#4243311

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243311
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: About JBoss user's configuration

2009-07-13 Thread the_sinner
Hi!!!

Yeah, I forgot it, I've been talkin' about a web app, thanks for your reply. 
Certainly, max-pool-size is under control. The first advice could be more 
viable, I'm gonna do it right now but before that, I gotta say what I'm using 
JBoss AS 4.2. I'll find out server.xml file and post about the results. 


Again, thanks.

Regards!!!


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243316#4243316

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243316
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: jboss seam 2.2 runtime support in jboss tools

2009-07-13 Thread snjeza
Seam 2.2 will be supported by JBoss Tools 3.0.2.GA/3.1.0.M3.
See https://jira.jboss.org/jira/browse/JBIDE-4585

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243317#4243317

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: LRU Eviction algorithm not removing nodes

2009-07-13 Thread mjdinsmore
I am seeing the same behavior.  I'm on JBoss 4.2.2RC and appear to have the 
same setup, i.e.:

jboss:service=Naming
jboss:service=TransactionManager


org.jboss.cache.JBossTransactionManagerLookup
PESSIMISTIC
READ_COMMITTED
LOCAL
15000
org.jboss.cache.eviction.LRUPolicy



5

1
3600
86400


5
6000



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243320#4243320

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243320
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Login information cached? Interceptor?

2009-07-13 Thread matallen
Jboss AS does cache login info:

ie. if you try to login incorrectly once, then change the database directly to 
disable the user, then flick back to the browser and try to login again it will 
NOT tell you that the user has been disabled.

To turn off user caching in JBoss AS, edit the jboss-service.xml file in 
JBOSS_HOME/server/default/conf

Change the DefaultCacheTimeout from the default 1800 to 0 to disable the 
LoginUserModule cache.

Hope this helps,
Mat

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243321#4243321

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243321
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: change xml Schema to jpdl-3.1.xsd

2009-07-13 Thread kukeltje
Please upgrade to something newer first and see if the problem persists

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243326#4243326

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243326
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread kukeltje
No, it does not create a problem. It does not signal the parent process, it 
notifies the sub process node in the parent process to continue. Only that 
specific node.

So what you want is to use the for each forkhandler construction but with 
subprocess nodes instead of tasks. That creates a sub-process node for each 
'virtual' path.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243327#4243327

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243327
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: dependencies classes used in process

2009-07-13 Thread kukeltje
jBPM 3 or 4? In 3 deployment do not have a classloader. Processinstances when 
actualy running in a thread (so not when they are just in the db) have a 
classloader. That behaviour is configurable to some extend. But you should be 
able to use e.g. the war classloader when jBPM is running embedded.

For 4 I have no idea (yet)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243328#4243328

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243328
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM Task Forms Example Not Working

2009-07-13 Thread kukeltje
have you also deployed the process using the latest version of jBPM 4? Or with 
an earlier one?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243329#4243329

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243329
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Token Task Variables.

2009-07-13 Thread kukeltje
1: http://docs.jboss.org/jbpm/v3/javadoc/org/jbpm/graph/exe/Token.html

2:  According to 1, you get one for each path of execution. So in a fork you 
get one for each 'leg' of the fork and a parent one stays in the fork

3: Yes

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243330#4243330

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243330
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBoss 5.0.1.GA, JBossWS 3.0.5, JDK 1.6 - java.lang.Unsup

2009-07-13 Thread a.fluegge
Thanks for your answer!

I could solve this issue, although it is a strange behaviour. Testing the web 
service on another system running Windows XP works fine (I'm using Vista!, 
didn't mind it matters).

The solution under Vista is to copy all JARs from JBOSS_HOME/lib endorsed to 
JAVA_HOME/jre/lib/endorsed (I had to create this directory).

I don't know if the OS is the real reason, but now it works!

Thank you very much!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243332#4243332

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243332
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM Task Forms Example Not Working

2009-07-13 Thread efabbri
I've also maid the same test and the example doesn't work. I used the last 
stable version of Jbpm 4.0.

This is the screenshot:

[img]http://img199.imageshack.us/img199/4524/taskform.th.jpg[/img]

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243335#4243335

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243335
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Configure Portlet-Instances

2009-07-13 Thread matallen
If you configure your portlet-instance.xml like this:

?xml version=1.0 standalone=yes?
  | deployments
  |deployment
  |  instance
  | instance-idXPortletInstance/instance-id
  | portlet-refXPortlet/portlet-ref
  | preferences
  | preference
  | namename/name
  | valueX-Portlet/value
  | /preference
  | /preferences
  | security-constraint
  | policy-permission
  | action-nameadmin/action-name
  | role-namerole1/role-name
  | /policy-permission
  | /security-constraint
  |  /instance
  |/deployment
  |deployment
  | instance
  | instance-idYPortletInstance/instance-id
  | portlet-refYPortlet/portlet-ref
  | preferences
  | preference
  | namename/name
  | valueY-Portlet/value
  | /preference
  | /preferences
  | security-constraint
  | policy-permission
  | action-nameadmin/action-name
  | role-namerole1/role-name
  | /policy-permission
  | /security-constraint
  | /instance
  |   /deployment
  | /deployments

then you can retrieve the values within your portlet with this code:

renderRequest.getPreferences().getValue(name, default_name);

and thus, make your X portlet act differentlyto your Y portlet instance 
accordingly

Hope this helps,
Mat

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243336#4243336

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM Task Forms Example Not Working

2009-07-13 Thread efabbri
Sorry, this is the real image link.

http://img199.imageshack.us/img199/4524/taskform.jpg

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243337#4243337

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243337
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: LRU Eviction algorithm not removing nodes

2009-07-13 Thread mjdinsmore
I think I found the answer --

Just put a double slash before your entity names, ie.


region name=//com/company/foobar

and then the entities will be evicted.  There's a post on the Hibernate forum 
here:

https://forum.hibernate.org/viewtopic.php?f=1t=941748start=0

that was posted in April 2005, and says by someone on the Hibernate team, 

anonymous wrote : Ooops i kinda half noticed that but never really thought 
about why 
  | before  It's fixed in CVS.

But apparently the fix was lost or they thought they updated some document 
about it and that was promptly lost.[/url]

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243338#4243338

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243338
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM Task Forms Example Not Working

2009-07-13 Thread kukeltje
Yes I know how the error looks like ;-)  What I want to know is how you did the 
installation. I currently have no time A fully clean one, with using the 
embedded db? Or was the db filled with content from a previous installation of 
e.g. a 4.0CR release... etc... 

I currently have no time to try a clean install, so therefor I'm asking at 
least these questions.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243339#4243339

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243339
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Javassist user questions] - Problem with branches and ldc/ldc_w

2009-07-13 Thread tumbleweed
Hello,

i'm working with javassist for quite some time now and I must say it is really 
impressive what this thing can do, and with what ease!

Anyways, I'm confronted with one problem:
My tool inserts an arbitrary series of conditional branches and some code 
afterwards. This means I have to precalculate the number of bytes inserted for 
all following conditions and the code in respect to set the branch offset. All 
works well unless I load a string constant using addLdc(String). In this case I 
am unable to precalculate whether there are 3 bytes (ldc) or 4 bytes (ldc_w) 
inserted, since this depends on the ConstTables state at insertion time.

I've developed a workaround for my case by extending the Bytecode class and 
altering its behaviour with

  | private ArrayListInteger m_branches;
  | ...
  | 
  | public void addBranch(int code, int branchOffset) {
  | // branch opcode is inserted at offset getSize()
  | m_branches.add(getSize());
  | addOpcode(code);
  | add16bit(branchOffset);
  | }
  | 
  | private void adjustBranches(int end, int shift) {
  | for (Integer pos : m_branches) {
  | int branchOffset = read16bit(pos + 1);
  | if ((pos + branchOffset) = end) continue;
  | write16bit(pos + 1, branchOffset + shift);
  | }
  | }
  | 
  | @Override
  | public void addLdc(int i) {
  | if (i  0xFF) {
  | adjustBranches(getSize(), 1);
  | addOpcode(LDC_W);
  | addIndex(i);
  | } else {
  | addOpcode(LDC);
  | add(i);
  | }
  | }
  | 

I think this is could be extended to a general solution, if it would be well 
defined how many bytes one should asume to be inserted.

Is there a way around this problem that I've overseen or is this really a bug?

---

By the way, is there any reason there is no

  | public void add16bit(int value) {
  | value = value % 65536;
  | add(value  8);
  | add(value % 256);
  | }
  | 
defined in Bytecode? Since it is required for inserting branch offsets...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243340#4243340

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243340
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EJBTimer Calling EJB issue ClassNotFoundException No ClassLo

2009-07-13 Thread kyle.bober
JBoss 4.2.1
Java 1.5

I have an EJB timer that is attempting to make a call to a Session EJB. We do a 
JNDI lookup and recieve the following exception...

12:38:40,219 DEBUG [ServiceLocator] ERROR :: Could not locate 
[remote/KATReportService-1.0]
javax.naming.CommunicationException [Root exception is 
java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.thesearchagency.service.kat.IKATReportRemote (no security manager: RMI 
class loader disabled)]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:730)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
com.thesearchagency.service.kat.util.ServiceLocator.getKATReportServiceRemote(ServiceLocator.java:240)
at 
com.thesearchagency.service.kat.impl.KATReportDeleteTimerService.deleteExpiredKATReports(KATReportDeleteTimerService.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.tx.BMTInterceptor.handleStateless(BMTInterceptor.java:71)
at org.jboss.ejb3.tx.BMTInterceptor.invoke(BMTInterceptor.java:131)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:151)
at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:561)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.thesearchagency.service.kat.IKATReportRemote (no security manager: RMI 
class loader disabled)
at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:531)
at 
java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
at 
org.jboss.system.JBossRMIClassLoader.loadProxyClass(JBossRMIClassLoader.java:82)
at 
java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
at 
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1500)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1463)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654)
... 34 more

The classloader is setup as such ::

?xml 

[jboss-user] [JBoss jBPM] - Re: Multiple concurrent sub-processes

2009-07-13 Thread aapthorp
Ronald, thanks for the pointer.

Having looked at the wiki I'm not sure whether you were referring to the 
JbpmForkFAQ http://www.jboss.org/community/wiki/JbpmForkFAQ[/url] or 
ForEachForkActionHandler 
[url]http://www.jboss.org/community/wiki/ForEachForkActionHandler. As it's 
pattern 15 I'm after I assume the former, however the sample process is missing.

Oh and I assume the events will be propagated to the parent process?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243345#4243345

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243345
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-13 Thread asookazian
I am experiencing the same problem again for a different project/workspace in 
JBDS 2.0.0.CR2.

org.hibernate.hql.ast.QuerySyntaxException: EquipmentRecovery is not mapped 
[select er.icomsSiteId from EquipmentRecovery er]

I understand that this is a classpath problem (Hibernate Tools can not find my 
.class files for my entity classes in the classpath).  I have tried the 'ant 
deploy' trick from earlier in this thread, I have tried using exploded-archives 
rather than bin for default output folder, I have tried adding both bin and 
exploded-archives (one at a time of course) to the classpath in User Entries 
for the hibernate configuration.  Nothing works.

I currently have just done 'ant deploy' so there are EAR, JAR, WAR files in my 
foo/dist folder.  I tried that as well in the classpath.

under User Entries (in edit launch config properties -- classpath tab) I have:

foo (default classpath)
resources -\foo\
foo.jar - \foo\exploded-archives\

What do I need to do to get Hibernate tools to see my entity classes???

yes, project -- build auto is checked.

Where is the Hibernate console edit configuration text file saved so I can post 
it to this thread?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243348#4243348

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243348
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBoss 5.0.1.GA, JBossWS 3.0.5, JDK 1.6 - java.lang.Unsup

2009-07-13 Thread PeterJ
I'm using Vista and don't have this problem. Copying the JARs to the JRE's 
endorsed directory might fix this issue but it could cause you grief with other 
Java apps. I still think you have some stray jar files that were being picked 
up by your JVM (you don't have CLASSPATH set, do you?), but -verbose:class will 
help you locate them.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243349#4243349

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243349
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread sushantgupta402
it notifies the sub process this means it signals the process state node to 
continue. So here what we have to do is manually figure out if all the sub 
processes has ended if not then we have to put the execution back to the 
process state node.

So what you want is to use the for each forkhandler construction but with 
subprocess nodes instead of tasks. That creates a sub-process node for each 
'virtual' path. Do you have a code to illustrate this?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243355#4243355

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243355
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-13 Thread asookazian
I am seeing 7 errors in the problems tab all related to * is not mapped.  Even 
after I changed the default output folder back to foo/bin.  Not sure what's 
going on...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243357#4243357

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243357
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-13 Thread asookazian
[CODE]Contributor org.jboss.ide.eclipse.as.ui.views.JBossServerView cannot be 
created.

An exception stack trace is not available.[/CODE]

[CODE]Problems occurred when invoking code from plug-in: 
org.eclipse.ui.console.[/CODE]

[CODE]org.eclipse.swt.SWTException: Device is disposed
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.widgets.Display.error(Display.java:1180)
at org.eclipse.swt.widgets.Display.asyncExec(Display.java:648)
at 
org.eclipse.ui.internal.console.ConsoleDropDownAction.consolesRemoved(ConsoleDropDownAction.java:150)
at 
org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.run(ConsoleManager.java:154)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at 
org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.notify(ConsoleManager.java:174)
at 
org.eclipse.ui.internal.console.ConsoleManager.fireUpdate(ConsoleManager.java:262)
at 
org.eclipse.ui.internal.console.ConsoleManager.removeConsoles(ConsoleManager.java:244)
at org.eclipse.ui.console.ConsolePlugin.stop(ConsolePlugin.java:175)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1050)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1046)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:531)
at 
org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1104)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:655)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:312)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:257)
at 
org.eclipse.osgi.framework.internal.core.SystemBundle.suspend(SystemBundle.java:236)
at 
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:678)
at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:576)
at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.java:41)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:424)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

[/CODE]

[CODE]An exception occurred during console notification[/CODE]

[CODE]org.eclipse.swt.SWTException: Device is disposed
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.widgets.Display.error(Display.java:1180)
at org.eclipse.swt.widgets.Display.asyncExec(Display.java:648)
at 
org.eclipse.ui.internal.console.ConsoleDropDownAction.consolesRemoved(ConsoleDropDownAction.java:150)
at 
org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.run(ConsoleManager.java:154)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at 
org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.notify(ConsoleManager.java:174)
at 
org.eclipse.ui.internal.console.ConsoleManager.fireUpdate(ConsoleManager.java:262)
at 
org.eclipse.ui.internal.console.ConsoleManager.removeConsoles(ConsoleManager.java:244)
at org.eclipse.ui.console.ConsolePlugin.stop(ConsolePlugin.java:175)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1050)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1046)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:531)
at 
org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1104)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:655)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:312)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:257)
at 
org.eclipse.osgi.framework.internal.core.SystemBundle.suspend(SystemBundle.java:236)
at 
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:678)
at 

[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-13 Thread asookazian
in Java build path -- source tab, what is the benefit of using allow output 
folders for source folders and should I try that now?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243361#4243361

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243361
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-13 Thread asookazian
I did a 'ant clean undeploy explode' and still seeing errors after restarting 
JBDS...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243362#4243362

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243362
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-13 Thread asookazian
When I click the + (plus) icon to expand the Configuration and Session Factory 
in the Hibernate Configurations view, there is nothing there for either.

The configuration type is JPA and I can see the tables in the db from the 
Hibernate Configurations view.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243364#4243364

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243364
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-13 Thread asookazian
message:

java.lang.ArrayIndexOutOfBoundsException: 2

exception stack trace:

java.lang.ArrayIndexOutOfBoundsException: 2
  | at 
org.hibernate.eclipse.console.utils.ProjectUtils.removeProjectNature(ProjectUtils.java:128)
  | at 
org.hibernate.eclipse.console.utils.ProjectUtils.toggleHibernateOnProject(ProjectUtils.java:81)
  | at 
org.hibernate.eclipse.console.properties.HibernatePropertyPage.performOk(HibernatePropertyPage.java:268)
  | at 
org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:931)
  | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
  | at org.eclipse.core.runtime.Platform.run(Platform.java:880)
  | at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
  | at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
  | at 
org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:911)
  | at 
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:456)
  | at 
org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)
  | at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
  | at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
  | at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
  | at org.eclipse.jface.window.Window.open(Window.java:801)
  | at 
org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
  | at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
  | at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
  | at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
  | at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
  | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
  | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
  | at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
  | at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
  | at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
  | at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
  | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
  | at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
  | at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
  | at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
  | at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
  | at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
  | at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
  | at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
  | at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

not sure what is triggering these exceptions right now, something is obviously 
totally messed up...


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243365#4243365

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243365
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-13 Thread asookazian
Just noticed this in my console:

2009-07-13 10:58:32,488 WARN Worker-2 
org.hibernate.connection.UserSuppliedConnectionProvider - No connection 
properties specified - the user must supply JDBC connections
  | 2009-07-13 10:58:34,691 WARN Worker-6 org.hibernate.cfg.reveng.JDBCReader - 
The JDBC driver didn't report any primary key columns in ApplicationUserView. 
Asking rev.eng. strategy
  | 2009-07-13 10:58:34,691 WARN Worker-6 org.hibernate.cfg.reveng.JDBCReader - 
Rev.eng. strategy did not report any primary key columns for ApplicationUserView
  | 2009-07-13 10:58:34,691 WARN Worker-6 org.hibernate.cfg.reveng.JDBCReader - 
The JDBC driver didn't report any primary key columns in ListView. Asking 
rev.eng. strategy
  | 2009-07-13 10:58:34,691 WARN Worker-6 org.hibernate.cfg.reveng.JDBCReader - 
Rev.eng. strategy did not report any primary key columns for ListView
  | 2009-07-13 10:58:34,706 WARN Worker-6 org.hibernate.cfg.reveng.JDBCReader - 
The JDBC driver didn't report any primary key columns in UserView. Asking 
rev.eng. strategy
  | 2009-07-13 10:58:34,706 WARN Worker-6 org.hibernate.cfg.reveng.JDBCReader - 
Rev.eng. strategy did not report any primary key columns for UserView
  | 2009-07-13 11:02:19,218 WARN Worker-9 org.hibernate.cfg.reveng.JDBCReader - 
The JDBC driver didn't report any primary key columns in ApplicationUserView. 
Asking rev.eng. strategy
  | 2009-07-13 11:02:19,218 WARN Worker-9 org.hibernate.cfg.reveng.JDBCReader - 
Rev.eng. strategy did not report any primary key columns for ApplicationUserView
  | 2009-07-13 11:02:19,234 WARN Worker-9 org.hibernate.cfg.reveng.JDBCReader - 
The JDBC driver didn't report any primary key columns in ListView. Asking 
rev.eng. strategy
  | 2009-07-13 11:02:19,234 WARN Worker-9 org.hibernate.cfg.reveng.JDBCReader - 
Rev.eng. strategy did not report any primary key columns for ListView
  | 2009-07-13 11:02:19,234 WARN Worker-9 org.hibernate.cfg.reveng.JDBCReader - 
The JDBC driver didn't report any primary key columns in UserView. Asking 
rev.eng. strategy
  | 2009-07-13 11:02:19,234 WARN Worker-9 org.hibernate.cfg.reveng.JDBCReader - 
Rev.eng. strategy did not report any primary key columns for UserView

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243366#4243366

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243366
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Get TransactionRolledbackException when calling home.findByP

2009-07-13 Thread marksbennett
Hi,

I'm running JBoss 4.0.4 with MySQL 5.1.

I have an EJB2 solution that uses a facade-like design pattern: a message 
driven bean instantiates a stateless session bean which in turn instantiates 
CMP Entity beans. The session bean calls findByPrimaryKey() to instantiate a 
particular entity bean. Under normal operation, everything appears to work fine 
under heavy loads -- except if the server goes down and is then restarted. If 
messages are piled up in the JMS queue, then findByPrimaryKey() fails on the 
first message invocation:

2009-07-13 09:25:39,115 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackException in method: public abstract 
com.adobe.liaisonEJB.AccountRemoteEB 
com.adobe.liaisonEJB.AccountHomeEB.findByPrimaryKey(java.lang.String) throws 
java.rmi.RemoteException,javax.ejb.FinderException, causedBy:
java.lang.IllegalStateException: createBeanClassInstanceCommand == null
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:575)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:139)
at 
org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:238)
at 
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:183)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:113)

.

Any ideas as to why this is happening? Is it something to do with the MySQL 
configuration? Or the CMP configuration?

Thanks in advance,
Mark

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243367#4243367

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243367
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - determining which version of JBoss Tools I have in JBDS

2009-07-13 Thread asookazian
I want to know which version of JBoss Tools (and other plugin versions) I'm 
using in JBDS 2.0.0.CR2.  What is the best way to do this either from the IDE 
itself or from a list/website?  thx.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243370#4243370

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243370
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM 4.0 - Missing Class JpdlExecution

2009-07-13 Thread rams.rapo
Hi, 

After i took the latest JBPM 4.0, noticed the below error.
With CR1, the same test case was running fine. 


Caused by: org.hibernate.MappingException: proxy class not found: 
org.jbpm.jpdl.internal.model.JpdlExecution
  | at 
org.hibernate.mapping.PersistentClass.getProxyInterface(PersistentClass.java:132)
  | at 
org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:138)
  | at 
org.hibernate.tuple.entity.AbstractEntityTuplizer.init(AbstractEntityTuplizer.java:158)
  | at 
org.hibernate.tuple.entity.PojoEntityTuplizer.init(PojoEntityTuplizer.java:76)
  | at 
org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.init(EntityEntityModeToTuplizerMapping.java:80)
  | at 
org.hibernate.tuple.entity.EntityMetamodel.init(EntityMetamodel.java:325)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.init(AbstractEntityPersister.java:457)
  | at 
org.hibernate.persister.entity.SingleTableEntityPersister.init(SingleTableEntityPersister.java:131)
  | at 
org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
  | at 
org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:261)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
  | at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
  | at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
  | at 
org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
  | ... 89 more
  | Caused by: java.lang.ClassNotFoundException: 
org.jbpm.jpdl.internal.model.JpdlExecution
  | 

It fails why trying to load jbpm.jpdl.hbm.xml which has 

subclass name=org.jbpm.jpdl.internal.model.JpdlExecution 
  | extends=org.jbpm.pvm.internal.model.ExecutionImpl
  | discriminator-value=jpdl
  | 

Where did the class go? May be my eyes need a checkup... 

Thanks
-Sridhar

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243374#4243374

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243374
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - hangs at Configuring from URL..entry

2009-07-13 Thread matvrix
=

13:10:20,368 INFO  [Server] Starting JBoss (MX MicroKernel)...
13:10:20,369 INFO  [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP04 (build: 
SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)
13:10:20,369 INFO  [Server] Home Dir: 
/usr/local/EnterprisePlatform-4.3.0.GA_CP04/jboss-as
13:10:20,369 INFO  [Server] Home URL: 
file:/usr/local/EnterprisePlatform-4.3.0.GA_CP04/jboss-as/
13:10:20,370 INFO  [Server] Patch URL: null
13:10:20,370 INFO  [Server] Server Name: production
13:10:20,370 INFO  [Server] Server Home Dir: 
/usr/local/EnterprisePlatform-4.3.0.GA_CP04/jboss-as/server/production
13:10:20,370 INFO  [Server] Server Home URL: 
file:/usr/local/EnterprisePlatform-4.3.0.GA_CP04/jboss-as/server/production/
13:10:20,370 INFO  [Server] Server Log Dir: 
/usr/local/EnterprisePlatform-4.3.0.GA_CP04/jboss-as/server/production/log
13:10:20,370 INFO  [Server] Server Temp Dir: 
/usr/local/EnterprisePlatform-4.3.0.GA_CP04/jboss-as/server/production/tmp
13:10:20,375 INFO  [Server] Root Deployment Filename: jboss-service.xml
13:10:20,541 INFO  [ServerInfo] Java version: 1.5.0_19,Sun Microsystems Inc.
13:10:20,541 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_19-b02,Sun Microsystems Inc.
13:10:20,541 INFO  [ServerInfo] OS-System: Linux 2.6.16.46-0.12-smp,i386
13:10:20,740 INFO  [Server] Core system initialized
13:10:22,983 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
13:10:22,984 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml

what could be the problem ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243377#4243377

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243377
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM 4.0 - Missing Class JpdlExecution

2009-07-13 Thread shekharv
jbpm.hibernate.cfg.xml in the examples folder does not have a reference to the 
hbm file that you mentioned, so looks like it might be something that is there, 
but not being used?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243378#4243378

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243378
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Farm deployment errors with large WAR files

2009-07-13 Thread bstansbe...@jboss.com
Thanks for the info; got your logs. The log shows a burst of messages being 
received, each of which is a piece of the file, and then a 60 second pause 
before the next burst.

Suspiciously, 60 secs is the default timeout for waiting for group RPC 
responses, hinting that something around that' i what is going on.

Can you do a couple things for me?

1) Add TRACE logging for 
org.jboss.system.server.profileservice.repository.clustered 
2) Turn on all the TRACE logging for the other node as well.
3) Send me the server.log from both nodes.

Chances are only so-so that I'd have a chance to set up a test to reproduce 
this this week, so logs from your testing are very helpful in determining the 
problem.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243379#4243379

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243379
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: hangs at Configuring from URL..entry

2009-07-13 Thread matvrix
issue closed.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243380#4243380

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243380
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM 4.0 - Missing Class JpdlExecution

2009-07-13 Thread rams.rapo
yup, removing it works.  Only thing is it still being shipped under src 
directory. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243381#4243381

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243381
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM Task Forms Example Not Working

2009-07-13 Thread efabbri
Ok! My installation was, from the Jbpm-4.0 (10th of July stable version) folder:

cd jboss
ant -Djboss.version=5.1.0.GA demo.setup

press ok.

Database is embedded and autoconfigured.

Example deployment is automatic.

The installative gave no error.

But the taskform doesn't work.

How can I do to make it work? Thanks.

Emanuele Fabbri

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243384#4243384

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243384
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >