[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2008-12-06 Thread pepelara
Thank you.

This application is a little bit complicated.

Thanks again,
pepelara

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194864#4194864

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194864
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Read lot of objects with OPTIMISTIC Locking scheme

2008-12-06 Thread apdo
I know that EJB are not used to retrieve very long list of objects.

However I have performed a simple test and I would like to confirm with you 
that result are obtained from correct configuration.

Objects:
Account entity with parameters id, username, realname, password
Role entity with parameters id, name, description

There is a relation m to n between Account and Role


Configuration:

  | Persistence.xml
  | 
  | 
  | java:/securityEJB3DS
  | 
  | 
  | 
  | 
  | 
  |  
  |  
  | 
  | 
  | 
  | 

To enable caching on the default configuration, I follow the french instruction 
provided in at the following location: 
http://wiki.objetdirect.com/wiki/index.php?title=Cache_2nd_niveau_Hibernate 

Ejb3-entity-cache-service.xml

  | OPTIMISTIC
  | REPEATABLE_READ
  | LOCAL
  | 
  | Everything else is left to the default values
  | 


Test Results:

10 Account and 100 role have been inserted.

For test 2 and 3:
Retrieving all Account using a entityManager.createQuery("from Account a") it 
takes 


Test 1:
Simple select from SQL server management studio.
It take 1 second to display the whole list of Account

Test 2:
With pessimistic locking:
PESSIMISTIC

About 10 second for the first call and then about 4 seconds using the cache


Test 3:
Thisi test has been executed with optimistic locking enabled.
OPTIMISTIC


Timeout after 5 minutes of execution

I have read that using OPTIMISTIC locking required additional overhead due to 
the copy of the cache entries.
However, I would like to know if the behaviour I got is normal or is there 
something I miss configured with the OPTIMISTIC locking.

Thanks to give me you comments on my tests and suggestion if configuration need 
to be changes.

An Phong Do


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194861#4194861

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194861
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: $Proxy123 cannot be cast to org.omg.CORBA.Object

2008-12-06 Thread msecrist
Yup - that looks like the trick.  Removing the EJBClient.jar file from the 
WEB-INF/lib directory got me past that problem.

Thanks,

Mark

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194860#4194860

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194860
___
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: Perplexing error - meta-aware object error

2008-12-06 Thread mohitanchlia
We have one local resource and one XA resource. Why would we still need 
multiple last resources enabled?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194859#4194859

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194859
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Problem using distributed transactions with MS SQLServer

2008-12-06 Thread mohitanchlia
We are seeing same problem but our Oracle DS is local-tx. Is  below also valid 
for local-tx?

false

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194858#4194858

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194858
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Resources in transaction

2008-12-06 Thread mohitanchlia
Jboss 4.2. I have a question about 2 phase commit: Here is the scenario:

1. Our app starts a user transaction in a servlet
2. In that transaction it accesses Stateless Bean that inserts something in DB. 
I think this leads to prorogation of transaction, if I am not wrong.
3. After successful call to that bean it inserts a message in queue (remember 
everything is still in same transaction).

So my question is, would both DB and JMS provider be part of same transaction 
and follow 2 phase commit protocol? So if DB fails or the route fails does it 
also ask for rollback from other resource? I am wondering how that works. 

Our DB is non-XA and JMS provider is XA. Jboss internally uses last resource 
gambit.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194856#4194856

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194856
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - NullPointer exception on client when looking up queue

2008-12-06 Thread jlashmet
I'm running JBoss 5.0.0CR2 and a client which has no problem connecting from 
any machine on my network.  When I try to connect over the internet from a 
remote machine, I get this initialization error saying "Failed to find property 
editor for: marshaller".  I'm not sure where to go from here.  Anyone have any 
ideas?




2008-12-06 16:10:53,802 [main] INFO  MessageManager - Looking up queue
2008-12-06 16:10:54,177 [main] INFO  MessageManager - Looking up connection 
factory
2008-12-06 16:10:54,630 [main] TRACE 
org.jboss.util.propertyeditor.PropertyEditors - Mapping properties for bean: 
SocketClientInvoker[16acdd1, bisocket://bargaintrends.net:4457]
2008-12-06 16:10:54,630 [main] TRACE 
org.jboss.util.propertyeditor.PropertyEditors - Property editor found for: 
pingFrequency, editor: [EMAIL PROTECTED], setter: public void 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.setPingFrequency(int)
2008-12-06 16:10:54,630 [main] TRACE 
org.jboss.util.propertyeditor.PropertyEditors - Property editor found for: 
numberOfCallRetries, editor: [EMAIL PROTECTED], setter: public void 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setNumberOfCallRetries(int)
2008-12-06 16:10:54,630 [main] TRACE 
org.jboss.util.propertyeditor.PropertyEditors - Property editor found for: 
marshaller, editor: [EMAIL PROTECTED], setter: public void 
org.jboss.remoting.MicroRemoteClientInvoker.setMarshaller(org.jboss.remoting.marshal.Marshaller)
2008-12-06 16:10:54,646 [main] TRACE 
org.jboss.util.propertyeditor.PropertyEditors - Failed to find property editor 
for: marshaller
2008-12-06 16:10:54,646 [main] TRACE 
org.jboss.util.propertyeditor.PropertyEditors - Failed to write property
java.lang.NullPointerException
at 
org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties(PropertyEditors.java:303)
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setup(MicroSocketClientInvoker.java:491)
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.(MicroSocketClientInvoker.java:270)
at 
org.jboss.remoting.transport.socket.SocketClientInvoker.(SocketClientInvoker.java:75)
at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.(BisocketClientInvoker.java:161)
at 
org.jboss.remoting.transport.bisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:425)
at 
org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:324)
at org.jboss.remoting.Client.connect(Client.java:495)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:300)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:228)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
at 
org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
at 
bl.messages.implementations.MessageManager.init(MessageManager.java:106)
at bl.messages.implementations.MessageManager.(MessageManager.java:90)
at 
bl.messages.implementations.MessageManager.main(MessageManager.java:50)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194854#4194854

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194854
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss SSO CR2 problems

2008-12-06 Thread msystems
"[EMAIL PROTECTED]" wrote : Yes based on the stack trace looks like the 
OpenSAML library does not like Java6 too much from a memory consumption 
standpoint. Especially during the phase where SAML xml needs to be produced 
from its Object model.
  | 
  | I have no idea what the reason could be. I will have to check OpenSAML 
community.
  | 
  | It may even turn out OpenSAML is not ready for Java6.
  | 

I'm a little bit confused, because CR1 works on Java 6, and CR1 also is using 
OpenSAML. Are you using OpenSAML different in CR2?

Did you see my other post about the exceptions are different from time to time?

What have changed from CR1 to CR2? CR1 works on Java 6 and CR2 do not.

I hope you find the problem. I'm looking forward to hear from you when you have 
found the bug :-)

Thanks.

/Kenneth

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194853#4194853

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194853
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - problems with jboss tools nightly CR and new JBOSS AS5 move

2008-12-06 Thread wiggy
having problems with latest AS 5.0.0 GA server.

first the default/lib dirctory is not present in the download - causes server 
not to start - reported this into config forum.  

more particularly, creating a server config in tools, defines the jboss5 
runtime library list that get linked to the ejb project.

however the current version on the nightly build seems not to recognise that 
AS5.0.0GA has moved all the libraries you need to home/common/lib directory, so 
all your hibernate libraries etc are not included in the standard search list 



is this going to be soppted and fixed quickly ?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194852#4194852

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: missing /lib directory in server/default confiog dir on

2008-12-06 Thread wiggy
downloaded it again and swithced download server from bern to heathnet ireland.

no diff.  ZIP file is the same and has no default/lib directory in it when i 
look inside winzip

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194851#4194851

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194851
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss SSO CR2 problems

2008-12-06 Thread sohil.s...@jboss.com
Yes based on the stack trace looks like the OpenSAML library does not like 
Java6 too much from a memory consumption standpoint. Especially during the 
phase where SAML xml needs to be produced from its Object model.

I have no idea what the reason could be. I will have to check OpenSAML 
community.

It may even turn out OpenSAML is not ready for Java6.

I will have to do some digging to get to the root of it. Until then, use it on 
Java5. I recommend CR2 vs CR1 since there have been quite a bit of bug fixes 
and security enhancements with it.

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194850#4194850

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194850
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Scheduler and asynchronous flow in in web app

2008-12-06 Thread jeklund
1. I'll see if anyone in the Seam community has any ideas. 
(http://www.seamframework.org/Community/SchedulerIssueInWebAppWithMixedJBPMAndPageflow
 for anyone following this thread.)

2. I was thinking of creating a custom pageflow-action instead of

that would somehow replace the new jbpmContext with the original one and then 
programatically end the task. But after thinking this trough I don't think it's 
a good option.

Thanks again for all your help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194849#4194849

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194849
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: missing /lib directory in server/default confiog dir on

2008-12-06 Thread wiggy
no its not in the zip at all 

I have reopened in winzip - and filtered on path.  There is no default/lib 
directory at all.

There is for some of the other configs  like standard and all, but default and 
web contain no /lib directories.  

I just followed the links from sourceforge.

my as5-jdk6 zip is 106,409KB in my explorer view 

Will try another download now and see what i get 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194848#4194848

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194848
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - trying to begin a XA UserTransaction gets javax.transaction.

2008-12-06 Thread weinfie
Using db2-jcc-xa-ds.xml DB2 deploy descriptor with MQSeries.

When I try to begin the transaction with

UserTransaction utx.begin();

I get the not supported exception.

Using JB 4.2.3-GA, default configuration.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194847#4194847

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194847
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-06 Thread alesj
"Gary Marsh" wrote : and I am assuming you provide comparable JMX functionality 
(MBean notification, register and unregister, etc..).  I look forward to 
reading your documentation.
 - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=143433

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194846#4194846

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194846
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - JBoss SSO and JBoss Negotiation

2008-12-06 Thread msystems
In my world, it looks like JBoss Negotiation should be part of JBoss SSO or 
JBoss SSO should integrete with JBoss Negotiation, because JBoss Negotiation 
supports SPNEGO Authentication.

Is there any plans for JBoss SSO to support SSO HTTP/SPNEGO Authentication?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194843#4194843

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194843
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JDK 5 or 6 with JBoss AS 5, eclipse ganymede, JBoss tools 3

2008-12-06 Thread bdlink
Now that JBoss AS 5 is finally out, the question arises which JDK to use with 
it.  JBoss AS 5.0.0.GA seems to come in two versions, using JDK 5 or 6.  JBoss 
Developer Studio 1 required JDK 5.

Sun has move JDK 5 into the sunset, even though it is the reference JDK for 
Java EE 5.  Presumably at some point we will need to move to JDK 6.

What is the recommendation from the JBoss Tools standpoint?  Is JBoss tools 3 
(on top of Ganymede and with Seam, etc.) intended to work with JDK 6?  Is there 
a different answer for JBoss Developer Studio 2?

I have been testing it with JDK5 and have not tried it with 6, since there were 
issues earlier.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194841#4194841

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194841
___
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: setParameter() IllegalArgumentException

2008-12-06 Thread NSchweig
CmtUser:

  | package de.cmt.model;
  | 
  | import java.io.Serializable;
  | import java.util.ArrayList;
  | import java.util.List;
  | 
  | import javax.persistence.Embedded;
  | import javax.persistence.Entity;
  | import javax.persistence.FetchType;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.GenerationType;
  | import javax.persistence.Id;
  | import javax.persistence.ManyToMany;
  | import javax.persistence.Table;
  | import javax.persistence.UniqueConstraint;
  | 
  | import org.hibernate.annotations.IndexColumn;
  | 
  | @Entity
  | @Table(name="CmtUser", [EMAIL 
PROTECTED](columnNames={"userName","passWord","email"}))
  | public class CmtUser implements Serializable{
  | 
  | @Id
  | @GeneratedValue(strategy = GenerationType.AUTO)
  | private Long id;
  | 
  | private String userName;
  | private String firstName;
  | private String lastName;
  | private String passWord;
  | private String email;
  | 
  | @Embedded
  | private UserSettings settings = new UserSettings();
  | 
  | @ManyToMany(mappedBy="participants", fetch=FetchType.EAGER) 
  | @IndexColumn(name="INDEX_COL")
  | private List  courses = new ArrayList();
  | 
  | @ManyToMany(fetch=FetchType.EAGER) 
  | private List  roles = new ArrayList();
  | 
  | public CmtUser(){}
  | 
  | public CmtUser(String userName, String firstName, String lastName, 
String passWord, String email){
  | this.userName = userName;
  | this.firstName = firstName;
  | this.lastName = lastName;
  | this.passWord = passWord;
  | this.email = email;
  | }
  | 
  | public void addRole(Role role){
  | ...
  | }
  | 
  | public void removeRole(Role role){
  | ...
  | }
  | 
  | public Long getId() {
  | return id;
  | }
  | 
  | public void setId(Long id) {
  | this.id = id;
  | }
  | 
  | public String getFirstName() {
  | return firstName;
  | }
  | public void setFirstName(String firstName) {
  | this.firstName = firstName;
  | }
  | public String getLastName() {
  | return lastName;
  | }
  | public void setLastName(String lastName) {
  | this.lastName = lastName;
  | }
  | public String getUserName() {
  | return userName;
  | }
  | public void setUserName(String userName) {
  | this.userName = userName;
  | }
  | public String getPassWord() {
  | return passWord;
  | }
  | public void setPassWord(String passWord) {
  | this.passWord = passWord;
  | }
  | public String getEmail() {
  | return email;
  | }
  | public void setEmail(String email) {
  | this.email = email;
  | }
  | public List getRoles() {
  | return roles;
  | }
  | 
  | public void setRoles(List roles) {
  | this.roles = roles;
  | }
  | 
  | public UserSettings getSettings() {
  | return settings;
  | }
  | 
  | public void setSettings(UserSettings settings) {
  | this.settings = settings;
  | }
  | 
  | 
  | }

from my server.log:
2008-12-06 21:25:26,375 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] 
(http-localhost%2F127.0.0.1-8080-1) parse() - HQL: SELECT c FROM 
de.cmt.model.Course c WHERE c.instructor = :instrId
  | 2008-12-06 21:25:26,453 DEBUG [org.hibernate.hql.ast.AST] 
(http-localhost%2F127.0.0.1-8080-1) --- HQL AST ---
  |  \-[QUERY] 'query'
  | +-[SELECT_FROM] 'SELECT_FROM'
  | |  +-[FROM] 'FROM'
  | |  |  \-[RANGE] 'RANGE'
  | |  | +-[DOT] '.'
  | |  | |  +-[DOT] '.'
  | |  | |  |  +-[DOT] '.'
  | |  | |  |  |  +-[IDENT] 'de'
  | |  | |  |  |  \-[IDENT] 'cmt'
  | |  | |  |  \-[IDENT] 'model'
  | |  | |  \-[IDENT] 'Course'
  | |  | \-[ALIAS] 'c'
  | |  \-[SELECT] 'SELECT'
  | | \-[IDENT] 'c'
  | \-[WHERE] 'WHERE'
  |\-[EQ] '='
  |   +-[DOT] '.'
  |   |  +-[IDENT] 'c'
  |   |  \-[IDENT] 'instructor'
  |   \-[COLON] ':'
  |  \-[IDENT] 'instrId'
  | 
  | 2008-12-06 21:25:26,453 DEBUG [org.hibernate.hql.ast.ErrorCounter] 
(http-localhost%2F127.0.0.1-8080-1) throwQueryException() : no errors
  | 2008-12-06 21:25:26,453 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] 
(http-localhost%2F127.0.0.1-8080-1) select << begin [level=1, statement=select]
  | 2008-12-06 21:25:26,453 DEBUG [org.hibernate.hql.ast.tree.FromElement] 
(http-localhost%2F127.0.0.1-8080-1) FromClause{level=1} :  de.cmt.model.Course 
(c) -> course0_
  | 2008-12-06 21:25:26,453 DEBUG 
[org.hibernate.hql.ast.tree.FromReferenceNode] 
(http-localhost%2F127.0.0.1-8080-1) Resolved :  c -> course0_.id
  | 2008-12-06 21:25:26,453 DEBUG 
[org.hibernate.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ClassNotFoundException: net/sf/HibernateException

2008-12-06 Thread ilangocal
"jaikiran" wrote : anonymous wrote : 16:54:21,973 ERROR 
[[/DexCenterQueueing2-war]] StandardWrapper.Throwable
  |   | java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
  |   | at java.lang.Class.forName0(Native Method)
  |   | at java.lang.Class.forName(Class.java:169)
  |   | at 
au.edu.qut.yawl.engine.interfce.InterfaceB_EnvironmentBasedServer.init(InterfaceB_Environ
  |   | mentBasedServer.java:52
  | 
  | This seems to be coming from the 
au.edu.qut.yawl.engine.interfce.InterfaceB_EnvironmentBasedServer class. Make 
sure you are importing the correct version of hibernate classes. Hibernate3 i 
packaged in org.hibernate.* whereas the earlier version of Hibernate was 
net.sf.*

Thanks, Jaikiran. I was able to solve this problem. 
Now I do have trouble with the EJB3 Timer Service.
I have a post out there, but I have not got any response yet. 

Any help is appreciated here.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194829#4194829

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: OutOfMemory exception when loading xml schemas in WSDL

2008-12-06 Thread bschmoll1
You should be able to access JIRA with the same credentials as your forum 
credentials, at least that was how I did. Nice catch on the bug.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194828#4194828

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194828
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: missing /lib directory in server/default confiog dir on

2008-12-06 Thread PeterJ
How did you unzip the zip file? Did you by any chance use an option that 
prevents empty directories from being unzipped? The server/default/lib 
directory appears in the zip file, but is empty. JBoss AS requires that 
directory, even if it is empty.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194827#4194827

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194827
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: creating new pooledactors for every task instance in JBP

2008-12-06 Thread kukeltje
anonymous wrote : Is this correct behaviour ? 

Yes, the way you do it, it is.

anonymous wrote : If it is ? Couldn't this be done better ?

Yes, by using swimlanes


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194826#4194826

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error while deploying

2008-12-06 Thread kukeltje
please post within code tags

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194825#4194825

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194825
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Scheduler and asynchronous flow in in web app

2008-12-06 Thread kukeltje
anonymous wrote : These questions might be better suited for a Seam forum, but 
I'm not sure what is jBPM and what is Seam here.. I think it is mostly seam (or 
their wrappers)

1: That surely is seam
2: what do you mean by custom action? A jbpm actionhandler or a method in a 
bean called from jsf?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194824#4194824

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194824
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss SSO CR2 problems

2008-12-06 Thread msystems
Hi Sohil,

"[EMAIL PROTECTED]" wrote : msystems-
  | 1/ Try to run this on Java5 instead of Java6.I have never run JBoss SSO on 
Java6, so I am not sure if there are some ClassLoading issues here that need to 
be fixed with a different packaging structure
  | 

This is a Java 6 problem. When I run it on Java 5 everything works fine. I can 
tell you, that CR1 works fine when it runs on Java 6.

I hope you will fix the Java 6 problem.

Thanks.

/Kenneth


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194823#4194823

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Can the toolbar of the designer be customizable?

2008-12-06 Thread kukeltje
Yes, search the forum... someone has posted some info on how to do this, but 
you need eclipse knowledge. It is not end-user customizable yet

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194822#4194822

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jPBM designer doesn't work

2008-12-06 Thread kukeltje
"craquerpro" wrote : 
  | Is this normal?
  | 
What do you think ;-)? Ofcourse not.

Can you show what the eclipse logging in .metadata in the workspace says?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194821#4194821

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Need the full set of JBPM 3.3.0 SQL scripts for SQL Serv

2008-12-06 Thread kukeltje
There never have been a full set of sql scripts in de kits/suite/installer for 
populating the tables, just scripts for creating tables. Not sure why you had 
to change the .hbm.xml files and in jars unless you use a custom database 
setup, but that will always be the case then.

A script for populating the JBPM_ID_* tables is in the wiki

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194820#4194820

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM/Spring/jUnit

2008-12-06 Thread kukeltje
anonymous wrote : "kukeltje" wrote : The fact that it is invoked (how do ypou 
see that from this log btw...) does not mean the result is used.The fact that 
the message is logged from the handler...
Yes, the handler is called, I see that. I meant that the 'result' isn't used. 


anonymous wrote : "kukeltje" wrote : btw, why do you do a leave node in an 
assignment handler? That is realy wrong.Hang-over from my early experiments 
with jBPM. I think without it, although the process starts, it gets 'stuck' in 
the start state.
Still then, it is realy wrong. And if you have a start task don't you want it 
to stay in the start node???
anonymous wrote : 
  | All I was hoping for with this thread was to get some ideas as to why the 
DelegationException is thrown when I invoke createStartTaskInstance() from a 
jUnit test, but NOT when the same code is run as part of the normal running of 
the app.

That is new information (or maybe I missed it somewhere in the split posts). 
Most often it is a classloader issue if you see this different behaviour

anonymous wrote : I had assumed that the range of possible causes for that 
exception had probably been experienced by someone. I'm still hoping that 
someone will give me some guesses or suggestions for investigation.

That is why a real unittest is handy for *us* so we can try to replicate the 
issue locally... 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194819#4194819

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194819
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss SSO CR2 problems

2008-12-06 Thread msystems
Hi Sohil,

"[EMAIL PROTECTED]" wrote : Alejandro-
  | as a hint, it looks like from the stacktrace, its a Class Not Found issue. 
Looks like the Federation server service needs the OpenSAML libraries packaged.
  | 

You can't expect java.lang.NoClassDefFoundError: org/opensaml/SAMLAttribute is 
the error, because everything F UP when the java.lang.OutOfMemoryError: 
PermGen space is thrown.

The exceptions I get can be different from time to time.

Here is another one:


  | 17:42:28,062 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: 
SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 30s:290ms
  | 17:43:17,388 DEBUG [header] >> "GET /federate/partners HTTP/1.1[\r][\n]"
  | 17:43:17,420 DEBUG [header] >> "User-Agent: Jakarta 
Commons-HttpClient/3.0.1[\r][\n]"
  | 17:43:17,420 DEBUG [header] >> "Host: pf.ms.com:8080[\r][\n]"
  | 17:43:17,420 DEBUG [header] >> "[\r][\n]"
  | 17:43:19,311 ERROR [[SSOFederationServlet]] Servlet.service() for servlet 
SSOFederationServlet threw exception
  | java.lang.OutOfMemoryError: PermGen space
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
  | at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:690)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:670)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:200)
  | at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
  | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:527)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
  | at 
org.apache.xml.security.c14n.implementations.NameSpaceSymbTable.(NameSpaceSymbTable.java:45)
  | at 
org.apache.xml.security.c14n.implementations.CanonicalizerBase.engineCanonicalizeSubTree(CanonicalizerBase.java:126)
  | at 
org.apache.xml.security.c14n.implementations.Canonicalizer20010315Excl.engineCanonicalizeSubTree(Canonicalizer20010315Excl.java:101)
  | at 
org.apache.xml.security.c14n.implementations.Canonicalizer20010315Excl.engineCanonicalizeSubTree(Canonicalizer20010315Excl.java:86)
  | at 
org.apache.xml.security.c14n.Canonicalizer.canonicalizeSubtree(Canonicalizer.java:255)
  | at org.opensaml.SAMLObject.toStream(Unknown Source)
  | at org.opensaml.SAMLObject.toString(Unknown Source)
  | at 
org.jboss.security.saml.JBossSingleSignOn.marshalPartners(JBossSingleSignOn.java:389)
  | at org.jboss.security.sso.util.SSOUtil.marshalPartners(SSOUtil.java:200)
  | at 
org.jboss.security.federation.service.Federation.getPartnerInfo(Federation.java:273)
  | 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)
  | 17:43:19,328 DEBUG [header] << "HTTP/1.1 500 Internal Server Error[\r][\n]"
  | 17:43:19,330 DEBUG [header] << "Server: Apache-Coyote/1.1[\r][\n]"
  | 17:43:19,330 DEBUG [header] << "Content-Type: 
text/html;charset=utf-8[\r][\n]"
  | 17:43:19,330 DEBUG [header] << "Transfer-Encoding: chunked[\r][\n]"
  | 17:43:19,330 DEBUG [header] << "Date: Sat, 06 Dec 2008 16:43:19 GMT[\r][\n]"
  | 17:43:19,330 DEBUG [header] << "Connection: close[\r][\n]"
  | 17:43:19,338 DEBUG [content] << "2"
  | 17:43:19,338 DEBUG [content] << "0"
  | 17:43:19,338 DEBUG [content] << "0"
  | 17:43:19,338 DEBUG [content] << "0"
  | 17:43:19,338 DEBUG [content] << "[\r]"
  | 17:43:19,339 DEBUG [content] << "[\n]"
  | 17:43:19,339 DEBUG [content] << "JBossWeb/2.0.1.GA - 
Error report