[jboss-user] [JBoss Portal] - Re: How to clean the server data when switch off/on JBoss se

2007-05-21 Thread [EMAIL PROTECTED]
What do you see as cached ?

If you want to delete everything each time you restart the server you can 
modify the hibernate config files, but i doubt that's what you want to do.

If a page has been added by config file, it will always be there unless you 
delete it using the management portlet. Is it what you are facing ?

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal developer's blog

2007-05-21 Thread [EMAIL PROTECTED]
If it is just an HTML page, you can use the CMS editor to write it or upload an 
existing document.

Then refer to the documentation for the version of JBoss Portal you are using 
to see how to include it in a window

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

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


[jboss-user] [JBoss Seam] - Re: Seam and Dynamic Language

2007-05-21 Thread thejavafreak
Wow cool. This is great. Let's see where I can contribute since I can not log 
in to CVS from my office.



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

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


[jboss-user] [JBoss Seam] - @Digit Annotation

2007-05-21 Thread m.shinde
Hi,

If anybody knows about which jar I have to import so that I can use 
@Digit,@Country,@ZipCode Annotations. Which is being validated by tag
s:validate/

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Using Oracle AQ as JMS Provider

2007-05-21 Thread [EMAIL PROTECTED]
https://sourceforge.net/tracker/?func=detailatid=376687aid=912173group_id=22866
Which is really just a set of MBeans to create JMS client objects in JBoss jndi.


Although it should really just be a case of configuring the JMSProvider
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJMSProvider
to point at Oracle's jndi.

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm3.2deployment error

2007-05-21 Thread wjm
Right.  You're not getting the identity bits you need to run the demo.  This 
note:

[url]http://wiki.jboss.org/wiki/Wiki.jsp?page=UseHibernateToCreateJbpmDB
[/url]

should get you going.  

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Differences between ConnFactories

2007-05-21 Thread [EMAIL PROTECTED]
The first one is a real jndi binding.
The second one does not exist in the default configuration.
You probably mean a resource-ref?
java:comp/env/jms/ConnectionFactory
and is upto you to define in ejb-jar.xml/jboss.xml

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

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


[jboss-user] [EJB 3.0] - Re: Transaction annotation - cannot get desired behavior

2007-05-21 Thread amitka
This will only work for EntityExistsException due to primary key constraint. 
The situation I encountered is with a unique constraint on other columns which 
are not primary keys.

I used the setter methods to set some field values, and then handled both 
InvalidStateException to retrieve all of the InvalidValue-s, and 
EntityExistsException to know if a unique constraint has been violated. The 
problem is that in the catch block of the EntityExistsException, I couldn't 
query and extract which field's uniqueness the update tried to violate. The 
only solution I did find was to receive another instance of the (same) bean 
(from itself), and invoke a REQUIRES_NEW method on that other instance which 
does the query.

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

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


[jboss-user] [JBoss Seam] - Exception while generation the jasper Reports using Seam

2007-05-21 Thread d.solasa
Hi 
 I am trying to generate jasper reports using seam.for that i have used the 
following code 
 InputStream input = 
this.getClass().getClassLoader().getResourceAsStream(reportName);
JasperDesign design = JRXmlLoader.load(input);
JasperReport report = JasperCompileManager.compileReport(design);
InitialContext initialContext = new InitialContext();
  DataSource ds = (DataSource) initialContext.lookup(java:/claims);
  conn = ds.getConnection();
  JasperPrint print = JasperFillManager.fillReport(report, parameters, 
conn);
  String fileName = D:/downloads/ireport/ + showType;
  OutputStream output = new FileOutputStream(new File(fileName));
 JasperExportManager.exportReportToPdfStream(print, output);
 FileInputStream fis = new FileInputStream(fileName);
  BufferedInputStream bis = new BufferedInputStream(fis);
  DataInputStream dis = new DataInputStream(bis);

and when i tried to rum i am getting the following exception as 
12:18:41,966 INFO  [JasperReporter] 
Exceptionnet.sf.jasperreports.engine.JRException: 
net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports
ngine.JRException: Class 
net.sf.jasperreports.engine.query.JRJdbcQueryExecuterFactory should be 
compatible with net.sf.jasperreports.engine.query.JRQue
ExecuterFactory

Then i changed the code i tried it by setting jdt-compiler-4.1.1 .jar to the 
class path 

  FacesContext facesCtx = FacesContext.getCurrentInstance();
  Map parameters = new HashMap();
  InputStream input = 
this.getClass().getClassLoader().getResourceAsStream(reportName);
  JasperDesign design = JRXmlLoader.load(input);
  JasperReport report = JasperCompileManager.compileReport(design);
  log.info(jasper design is+design);
  log.info(inputStream is + input);
  // get a database connection
  InitialContext initialContext = new InitialContext();
  DataSource ds = (DataSource) initialContext.lookup(java:/claims);
  conn = ds.getConnection();
 JasperPrint print = JasperFillManager.fillReport(report, parameters, conn);
  String fileName = D:/downloads/ireport/ + showType;
  OutputStream output = new FileOutputStream(new File(fileName));
  
//System.setProperty(jasper.reports.compiler.class,org.eclipse.jdt.internal.compiler.Compiler);
  
//JasperRunManager.runReportToPdfStream(input,facesCtx.getResponseStream(),parameters,conn);
  facesCtx.getResponseStream().flush();
  facesCtx.getResponseStream().close();
  facesCtx.responseComplete();
   String destFileNamePdf = opencclaimdecission.pdf;

  // create JasperPrint using fillReport() method
   JasperPrint print = JasperFillManager.fillReport(reportName, parameters, 
conn);
   JasperExportManager.exportReportToPdfFile(print, destFileNamePdf);*/

Even now i am getting the Exception as

12:26:30,884 INFO  [JasperReporter] 
Exceptionnet.sf.jasperreports.engine.JRException: Could not instantiate report 
compiler : net.sf.jasperreports.engine.
sign.JRJavacCompiler

So plz help me what s the solution to generate the jasper ReportsNEed to 
implement in my roject so urgently..

Thanx in Advance for any type of suggestions

   

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

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


[jboss-user] [JBoss Seam] - Re: Getting Started with Seam and Maven / Migrating from Spr

2007-05-21 Thread -Arthur-
I am still working with the softeu.cz repo, its really cool, because you get 
seam working fast and the preconfiguration is good too.

The only disadvantage i've discovered ist the fact, that you depend softeuz.cz 
repo and their group and artifact ids.
So you have to figure out in which pom the specific dependencies are and change 
them if you want to use snapshots for example.

Actual Seam builds in the repo1 would be great!

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

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


[jboss-user] [JBoss Seam] - Re: @Digit Annotation

2007-05-21 Thread -Arthur-
I think you have to implement that for your own.

http://www.hibernate.org/hib_docs/validator/reference/en/html/

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

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


[jboss-user] [JBoss Seam] - Re: @In required session timeout, IdleRemover Exceptions a

2007-05-21 Thread saimonsez
Ok, for question one I have a workaround that's fine for the moment. The other 
two problems remain.

I hope the questions are not pointless or unclear. Please help.

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

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


[jboss-user] [JBoss Seam] - Question On @Datamodel Outjection

2007-05-21 Thread hasc
Hello,

i have a problem outjecting a datamodel.

i have a class the holds the business logic for a calculation process. It holds 
the Entity Calculation.class where the data is stored. during the calculation i 
create another object that holds the response information.


  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name(scmanager)
  | public class CalculationManagerBean implements CalculationManager{
  | 
  | @In(create=true)
  | ExpressCalculator expresscalculator;
  | 
  | @Out(scope=ScopeType.CONVERSATION,required=false)
  | BudgetOverview budgetOverview;
  | 
  | ...
  | 
  | @Create
  | public void init(){
  | log.debug(initialize new calculation entity);
  | calculation = new Calculation(user);
  | return;
  | }
  | 
  |/*** business logic ***/
  | 
  | public void executeExpressCalculation(){
  | budgetOverview = expresscalculator.calculate(calculation);   
  | }
  | ...
  | }

@Stateless
  | @Name(expresscalculator)
  | public class ExpressCalculatorBean implements ExpressCalculator {
  | 
  | public BudgetOverview calculate(Calculation calculation) {
  | 
  | // initialise BudgetOverview
  | BudgetOverview budgetOverview = new BudgetOverview();
  | 
  | //some code
  | 
  | // this is the datamodel
  | SetCostItem costItems = calculateInstallationCosts();
  | budgetOverview.setCostItems(costItems);
  | 
  | return budgetOverview;
  | 
  | }
  | 
  | // some functions
  | }

and here is the class BudgetOverview

@Name(budgetOverview)
  | @Scope(ScopeType.CONVERSATION)
  | public class BudgetOverview{
  | 
  | // some attributes
  | 
  | // the datamodel
  | @Datamodel
  | public SetCostItem costitems;
  | 
  | // getter and setter methods
  | }


So the problem is: 
In the view I can display all attributes from the budgetOverview except the 
datamodel selectitems. But i can e.g. display the size of the datamodel. So it 
is set properly just not outjected.
If i change the code and outject the datamodel in the CalculationManager class 
and initialize it via a getter method from the BudgetOberview it works fine.

I have no clue if i made a mistake or the overall concept of outjecting an 
object that outjects a datamodel doesnt work. 

Help would be great. and i hope you could follow this explanation.

thanks,
hasc

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

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


[jboss-user] [JBoss Seam] - Re: @Digit Annotation

2007-05-21 Thread fhh
I think they are only available in alater release of the Hibernate Validator.

Not sure about compatibility.

Regards

Felix

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

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


[jboss-user] [JBoss Seam] - Question on rendering a @Datamodel

2007-05-21 Thread hasc
Hello,

Is there a way to set the styleClass of a h:dataTable for a special row when 
a @Datamodel is rendered?

In my case some objects that the Set contains, can be special and i want to 
render them in a row as: tr class=special

I wrote a method in the objects class 

public boolean isSpecial() {
  |// return true or false
  | }
  | 

is there a way i can realize that?

Thanks for help,
hasc

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

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


[jboss-user] [JBoss jBPM] - Re: xml export

2007-05-21 Thread kukeltje
the editor creates the xml

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

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


[jboss-user] [JBoss Seam] - Getting ALL Components of a given name in ALL contexts

2007-05-21 Thread straubp
Hi all,

how can I get all components with name x in all contexts?

Here my scenario:
On a page I am showing a list (dataTable) of persons, with options to add a new 
person or delete an existing one. The table is backed by a PersonListController 
(name=personListController), which caches the currently shown persons. The 
PersonListController is in conversation scope. Now a user adds or deletes a 
person. Now I need to refresh ALL PersonListControllers of all users (as the 
persons are cached and the change would not be shown otherwise). With 
Component.forName(personListController) I only get the PersonListController 
of the request's user. How can I get all?

Thank you!



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

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


[jboss-user] [EJB 3.0] - Re: ManyToOne gives EntityNotFoundException

2007-05-21 Thread ingo77
Thank you  TPBen!!!

An Excellent solution to the problem!!

To fhh, like TPben stated, working with legacy databases isn't always easy. 

The relation is missing in the database tier but I want it in the business tier 
and in this case adding the FK to the databse(Oracle) is not an option.

Thank you !!


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

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


[jboss-user] [JBossCache] - Failed to start pojo cache with JDK 1.6

2007-05-21 Thread ctof
Hi

I try to start my application which need to be compiled with jdk 1.6 (due to 
external 1.6 lib dependencies) and it fails when i start the second client 
(during the state synchronization).
I use PojoCache 2.0.0-RC1

I have made a test by removing my 1.6 code dependencies,compile and run my 
sample under 1.5, and all works fine.

Any idea ?
Thx
Christophe


  | 
  | ---
  | GMS: address is 191.254.42.78:2615
  | ---
  | Exception in thread main org.jboss.cache.pojo.PojoCacheException: init 
[EMAIL PROTECTED] failed
  | at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:100)
  | at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:89)
  | at 
org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:54)
  | at sgcib.deai.ft.FTAppLauncherDemo.main(FTAppLauncherDemo.java:59)
  | Caused by: org.jboss.cache.CacheException: Unable to fetch state on startup
  | at org.jboss.cache.CacheImpl.start(CacheImpl.java:791)
  | at 
org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:87)
  | at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:96)
  | ... 3 more
  | Caused by: java.io.EOFException
  | at java.io.DataInputStream.readShort(DataInputStream.java:298)
  | at 
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
  | at java.io.ObjectInputStream.readShort(ObjectInputStream.java:928)
  | at 
org.jboss.cache.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:223)
  | at 
org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateAssociatedState(DefaultStateTransferIntegrator.java:116)
  | at 
org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateState(DefaultStateTransferIntegrator.java:63)
  | at 
org.jboss.cache.statetransfer.StateTransferManager.setState(StateTransferManager.java:201)
  | at 
org.jboss.cache.statetransfer.StateTransferManager.setState(StateTransferManager.java:152)
  | at 
org.jboss.cache.CacheImpl$MessageListenerAdaptor.setState(CacheImpl.java:3407)
  | at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:667)
  | at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:722)
  | at org.jgroups.JChannel.up(JChannel.java:1015)
  | at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:326)
  | at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:509)
  | at 
org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$2.run(STREAMING_STATE_TRANSFER.java:674)
  | at java.lang.Thread.run(Thread.java:619)
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Can jBpm deployed in a distributed system?

2007-05-21 Thread [EMAIL PROTECTED]
estaub wrote : I know you have to switch the secondary hibernate cache to 
JBossCache or similar.  No experience, though!
  | 
  | -Ed Staub

thinks

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

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


[jboss-user] [JBoss Seam] - Re: Component Binding don't work in Seam?

2007-05-21 Thread g00se24
Hello.

It's works fine for me, but the documentation is a little bit strange in that.
You can inject a Component into your bean.

package de.psi.support.gui;

import java.util.List;

import javax.ejb.Remove;
import javax.faces.component.html.HtmlDataTable;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.jboss.seam.annotations.Destroy;
import org.jboss.seam.annotations.In;

public abstract class Selection {

@PersistenceContext
protected EntityManager em;

private Object selected;

@In(#{uiComponent['form:table']})
protected HtmlDataTable table;

public String getSearch() {
return search;
}

public void setSearch(String search) {
this.search = search;
}

protected List getResult() {
List query = em.createQuery(getQuery()).getResultList();
return query;
}

public Object getSelected() {
return selected;
}

public void setSelected(Object selected) {
this.selected = selected;
}

public void select() {
setSelected(table.getRowData());
}

It's a snippet of some of my classes (it's used only for inheritance - 
abstract, try not to wonder about that.).

@In(#{uiComponent['form:table']})
protected HtmlDataTable table;

That's your solution, keep in mind that the 'form:table' is the path (id!) to 
the component. The : splits the id's and not . like it is mentioned in the 
seam documentation.

Good luck!

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

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


[jboss-user] [JBoss Seam] - Re: Simple redirect/refresh

2007-05-21 Thread g00se24
Hello,

You can use a simple html file like:


  meta http-equiv=Refresh content=0; URL=login.seam /




to redirect your browser...

Keep in mind to use URL=*.seam... ;)



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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss shutdown without any log

2007-05-21 Thread arussel
We finally tracked down the problem. It has nothing to do with mod_jk.
One of our app is using jboss rules and the jvm crashes always at the same 
place:
---  T H R E A D  ---

Current thread (0x08105a48):  JavaThread CompilerThread0 daemon 
[_thread_in_native, id=10980]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x

Registers:
EAX=0x, EBX=0x407127f0, ECX=0x6a58eee0, EDX=0x6c0c78a4
ESP=0x6a58ee54, EBP=0x6a58ee78, ESI=0x6c0c8010, EDI=0x6a58eee0
EIP=0x40530cd1, CR2=0x, EFLAGS=0x00010212

Top of Stack: (sp=0x6a58ee54)
0x6a58ee54:   6a58f36c 6a58ef08 40530c16 407127f0
0x6a58ee64:   6c4585d8 6a58ee98 407127f0 6c0c8010
0x6a58ee74:   6c0c7fcc 6a58eea8 40530d75 6c0c8644
0x6a58ee84:   6c0c78a4 6c0c8644 6a58eee0 6c0c86c8
0x6a58ee94:   6c0c94d4 6c0c7fcc 407127f0 6c0c8644
0x6a58eea4:    6a58ef08 40531258 6c0c8644
0x6a58eeb4:   6c0c8010 6c0c8644 6a58eee0 0039
0x6a58eec4:   6c0c90bc 6a58eef8 405b5dd5 6c0c90bc

Instructions: (pc=0x40530cd1)
0x40530cc1:   10 eb de 31 c0 eb 8e 8b 42 04 83 ec 0c 8b 40 08
0x40530cd1:   8b 08 50 ff 51 28 83 c4 10 e9 48 ff ff ff 90 55

Stack: [0x6a511000,0x6a591000),  sp=0x6a58ee54,  free space=503k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x3c9cd1]
V  [libjvm.so+0x3c9d75]
V  [libjvm.so+0x3ca258]
V  [libjvm.so+0x4511fd]
V  [libjvm.so+0x450e90]
V  [libjvm.so+0x1a11c0]
V  [libjvm.so+0x19e432]
V  [libjvm.so+0x1474b3]
V  [libjvm.so+0x1a6929]
V  [libjvm.so+0x1a6281]
V  [libjvm.so+0x4c8366]
V  [libjvm.so+0x4c2ba3]
V  [libjvm.so+0x424338]
C  [libpthread.so.0+0x50bd]


Current CompileTask:
opto:941  !   
org.drools.lang.RuleParser.rule()Lorg/drools/lang/descr/RuleDescr; (2152 bytes)

I take it to the Jboss Rules forum


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

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


[jboss-user] [EJB 3.0] - Re: ManyToOne gives EntityNotFoundException

2007-05-21 Thread fhh
Legacy system smells for like a poor excuse for broken data. Foreign key 
constraints are usually in place for a good reason. If you ignore them all 
kinds of bad things may happen.

Regards

Felix

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

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


[jboss-user] [JBoss Seam] - Re: Question on rendering a @Datamodel

2007-05-21 Thread straubp
Maybe like this:


  | h:dataTable value=#{...} var=row rowClasses=#{row.special ? 'special' 
: ''}
  | ...
  | /h:dataTable
  | 

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

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


[jboss-user] [EJB 3.0] - EJB3 timer service configuration in JBoss 4.2.0.GA

2007-05-21 Thread tazman
Hi,

while using JBoss 4.0.5 I was able to change EJB3 timer persistence policy by 
editing ejb-timer-service.xml in the deploy directory. I cannot find this file 
in JBoss 4.2.0.GA any more. How can I change EJB3 timer service configuration 
in JBoss 4.2.0.GA? Specifically, I want to use the persistence policy that does 
not persist the timer.

tazman

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

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


[jboss-user] [JBoss jBPM] - No timer allowed in start-state (jBpm 3.2) ?

2007-05-21 Thread pirx
Hi,

according to the Schema for JPDL 3.2, there is no timer allowed
in the start-state:


  | xs:element name=start-state
  | xs:complexType
  |   xs:choice minOccurs=0 maxOccurs=unbounded
  | xs:element ref=description /
  | xs:element ref=task/
  | xs:element ref=transition/
  | xs:element ref=event/
  | xs:element ref=exception-handler/
  |   /xs:choice
  |   xs:attribute name=name type=xs:string/
  | /xs:complexType
  |   /xs:element
  | 

This was allowed in 3.1. 

Is this correct, and if yes, why is a timer not allowed in the start state (at 
least according to the XSD) ?

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

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


[jboss-user] [Clustering/JBoss] - Accessing singleton MBean from a cluster node

2007-05-21 Thread saxon747
Hello!

I have a cluster with 2 nodes (JBoss 4.0.5 GA) and a singleton MBean with name 
kapart.mbean:service=ScheduleManager. The singleton works correctly, if the 
master fails it is started on the new master. The problem is, that I'd like to 
access this mbean from a session bean, which can run on any node. I tried the 
example described here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHASingletonRemoteAccess

So i created a singleton-jmx-adapter-service.xml with code:

  | ?xml version=1.0 encoding=UTF-8?
  | server
  |   mbean code=org.jboss.invocation.jrmp.server.JRMPProxyFactory 
name=jboss.jmx:type=singletonadaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  | depends 
optional-attribute-name=InvokerNamejboss:service=invoker,type=jrmp/depends
  | depends 
optional-attribute-name=TargetNamejboss.jmx:type=adaptor,name=Invoker/depends
  | attribute name=JndiNamejmx/invoker/SingletonRMIAdaptor/attribute
  | attribute 
name=ExportedInterfacesorg.jboss.jmx.adaptor.rmi.RMIAdaptor,org.jboss.jmx.adaptor.rmi.RMIAdaptorExt/attribute
  | attribute name=ClientInterceptors
  |   interceptors
  | interceptororg.jboss.proxy.ClientMethodInterceptor/interceptor
  | interceptororg.jboss.proxy.SecurityInterceptor/interceptor
  | 
interceptororg.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor/interceptor
  | interceptororg.jboss.invocation.InvokerInterceptor/interceptor
  |   /interceptors
  | /attribute
  |   /mbean
  | /server
  | 

I put this document in the deploy-hasingleton directory on both servers. I 
tried to access the MBean like this:


  | Hashtable jndiProperties = new Hashtable();
  | jndiProperties.put( Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory );
  | jndiProperties.put( Context.PROVIDER_URL, localhost:1100 );
  | jndiProperties.put( 
java.naming.factory.url.pkgs,org.jboss.naming:org.jnp.interfaces );
  | Context context = new InitialContext( jndiProperties );
  | RMIAdaptor rmiAdaptor = (RMIAdaptor) 
context.lookup(jmx/invoker/SingletonRMIAdaptor);
  | if( (rmiAdaptor != null)  (rmiAdaptor.isRegistered(new 
ObjectName(kapart.mbean:service=ScheduleManager))) ) {
  |   rmiAdaptor.invoke( new 
ObjectName(kapart.mbean:service=ScheduleManager), startSingleton, null, 
null );
  | }
  | 

1100 is my HAJNDI port.

I got the following error:

  | java.lang.SecurityException: Failed to authenticate principal=null, 
securityDomain=jmx-console
  | at 
org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:97)
  | 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:659)
  | at 
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
  | 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 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | at sun.rmi.transport.Transport$1.run(Transport.java:153)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
  | at java.lang.Thread.run(Thread.java:595)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
  | at 

[jboss-user] [JBoss Seam] - Exception definition in pages.xml

2007-05-21 Thread kooudy
Hello,
I have defined in pages.xml page exception:

  exception class=cz.test.TestException
  | end-conversation /
  | redirect view-id=/error.seam /
  |   /exception

In places, where jpdl is not defined it works well.

But when exception occurs in pageflow defined by jpdl, new Exception is thrown:


  | 10:41:31,656 INFO  [Exceptions] reading exception mappings from 
/WEB-INF/pages.xml
  | 10:41:31,703 ERROR [SeamPhaseListener] uncaught exception
  | java.lang.IllegalStateException: pageflow has not yet started
  | at org.jboss.seam.core.Pageflow.getNode(Pageflow.java:156)
  | at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:189)
  | at org.jboss.seam.core.Pageflow.validatePageflow(Pageflow.java:99)
  | ...
  | 
  | Caused by: cz.test.TestException: Bla
  | at cz.test.NewProject.createProject(NewProject.java:377)
  | ... 169 more
  | 


10:41:31,703 ERROR [DebugPageHandler] redirecting to debug page
  | java.lang.IllegalStateException: pageflow has not yet started
  | at org.jboss.seam.core.Pageflow.getNode(Pageflow.java:156)
  | at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:189)
  | at org.jboss.seam.core.Pageflow.validatePageflow(Pageflow.java:99)

When TestException is not (manually) thrown, pageflow definition and 
transitions works, so I believe the pageflow is started in spite of 
IllegalStateException.

Where I did mistake?



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

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


[jboss-user] [JBoss Seam] - Re: Question on rendering a @Datamodel

2007-05-21 Thread hasc
thanks, but this did not work.

i tried
#{item.special ? 'parent' : 'child'}

which renderes all rows with class=child



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

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


[jboss-user] [Messaging, JMS JBossMQ] - JBoss throwing org.jboss.mq.SpyJMSException

2007-05-21 Thread dey_s
Hi, 
We are using jboss-4.0.1sp1 for a project running in Linux 2.4.21-47.ELsmp. 
There is a requirement in our project that we have to change the system time in 
the machine while our application (EAR) is running in JBoss to be compliant 
with a specification of the semi-conductor industry. When we take the System 
time back from whatever is the current time we get an Exception in what I think 
is the JMS service after which we are unable to publish or subscribe any 
message to the queue. A snippet of the stack trace is given below. Any help in 
this issue would be greatly appreciated. 
03:17:41,233 WARN [Connection] Connection failure: 
org.jboss.mq.SpyJMSException: Exiting on 
IOE; - nested throwable: (java.io.EOFException) at 
org.jboss.mq.Connection.asynchFailure(Connection.java:436) at 
org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:145)
 at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:406) 
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:338) at 
java.lang.Thread.run(Thread.java:595) 
Thanks and regards, 
Suvadeep

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

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


[jboss-user] [JBoss Seam] - Re: jbpm configuration problem

2007-05-21 Thread mgervais
Hi, 
did you find the solution? I'm using glassfish too, and I have the same 
error... Where should I place my jpdl files?
Thanks
Mickael

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

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


[jboss-user] [JBoss Seam] - Re: Getting ALL Components of a given name in ALL contexts

2007-05-21 Thread hasc
Hi,

maybe you can define the List or Set on ScopeType.APPLICATION an ouject it on 
application scope. then you can in- and outject this component on your 
Controller class and it saves you from accessing all instances of the conroller.

or if you store the persons in a database you can query the database whenever 
you instantiate the list.

would that help?



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

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


[jboss-user] [Security JAAS/JBoss] - Session fixation problem

2007-05-21 Thread ladam
Hi group,
i have already posted this to jboss-user ml with no success so I hope I don't 
get slapped for crossposting...

We are currently looking for ways to improve the security in our web 
applications to prevent session fixation.
We are looking for ways to generate a new session ID after an user has been 
authenticated.

This is our scenario:

- The webapplication contains public and private content
- public content is available by http, private/restricted content is only 
available by https
- If the user is logging in, communication is done only by https

We now want to generate a new session ID for the user session once he has 
authenticated in order to prevent session fixation / session hijacking (e.g. if 
chuck sniffes the http - communication / user doesn't use cookies and publishes 
a link with ;jsessionid-parameter).

The solutions found so far suggested all a
HttpServletRequest.getSession(true) after an invalidation:

if (!session.isNew()) {
  |session.invalidate(); // Invalidate old Session
  |session= request.getSession(true); // Create new Session ID }

However running this code on JBoss does not show the expected behaviour, no new 
session id is created.


  | System.out.println(session.getID()); // Prints Foo
  | session.invalidate(); // Invalidate old 
  | HttpSession session= request.getSession(true); // Should create new 
SessionID 
  | System.out.println(session.getID()); // Prints Foo again.

Any hints how we can work around this issue or what we are doing wrong here are 
greatly appreciated.

Thanks,
Ludwig


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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Generation of new session ID

2007-05-21 Thread ladam
Hi group,

I wasn't sure if following post was more security related / webapps related but 
perhaps you guys also have a solution for me: 
http://www.jboss.com/index.html?module=bbop=viewtopict=109070

Thanks,
Ludwig

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

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


[jboss-user] [JBoss Seam] - Re: @DataModelSelection problem, outjects the first element i

2007-05-21 Thread [EMAIL PROTECTED]
Hi again,

when looking at post [1] which seems to have had my problem the main difference 
I find is that the @Factory annotation is used to initialize the List backing 
the datamodel.

In my test app I initialize the List backing the datamodel via the 
performSearch action(which rerenders the page with the table to select from), 
could that be why @DataModelSelection doesn't work properly for me?

[1] http://www.jboss.com/index.html?module=bbop=viewtopict=108196

Any help/suggestions appreciated,
 Mike

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

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


[jboss-user] [Advanced Documentation] - i18n and documentation

2007-05-21 Thread sviluppatorefico
hiI would to know what is your strategy about internationalization of 
documents.for example can to be useful to get an italian translation of 
application server guide?

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

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


[jboss-user] [JBoss jBPM] - Re: Why doesn't work?

2007-05-21 Thread ricardomarques
Ok here's the log:


  | 10:31:20,953 DEBUG [CommandServiceBean] getting jbpm configuration resource 
from the environment properties
  | 10:31:21,390 DEBUG [UIComponentTag] Exited encodeEnd for client-Id: _idJsp0
  | 10:31:21,390 DEBUG [CommandServiceBean] couldn't find configuration 
property JbpmCfgResource through JNDI
  | 10:31:21,390 DEBUG [CommandServiceBean] getting default jbpm configuration 
resource (jbpm.cfg.xml)
  | 10:31:21,390 DEBUG [CommandServiceBean] handing over the command execution 
to the command service
  | 10:31:21,390 DEBUG [JbpmContextInfo] creating jbpm context with service 
factories '[tx, message, scheduler, logging, persistence, authentication]'
  | 10:31:21,390 DEBUG [FacesServlet] service end
  | 10:31:21,890 DEBUG [JbpmContext] creating [EMAIL PROTECTED]
  | 10:31:21,890 DEBUG [CommandServiceBean] executing [EMAIL PROTECTED]
  | 10:31:21,890 DEBUG [DbPersistenceServiceFactory] creating persistence 
service
  | 10:31:21,890 DEBUG [DbPersistenceService] creating hibernate session
  | 10:31:21,890 DEBUG [SessionImpl] opened session at timestamp: 
4832214556221440
  | 10:31:21,890 DEBUG [DbPersistenceService] beginning hibernate transaction
  | 10:31:21,890 DEBUG [JDBCTransaction] begin
  | 10:31:21,890 DEBUG [ConnectionManager] opening JDBC connection
  | 10:31:21,890 DEBUG [DriverManagerConnectionProvider] total checked-out 
connections: 1
  | 10:31:21,890 DEBUG [DriverManagerConnectionProvider] opening new JDBC 
connection
  | 10:31:21,906 DEBUG [DriverManagerConnectionProvider] created connection to: 
jdbc:mysql://localhost:3306/workflow-server, Isolation Level: 4
  | 10:31:21,906 DEBUG [JDBCTransaction] current autocommit status: false
  | 10:31:21,906 DEBUG [JDBCContext] after transaction begin
  | 10:31:21,937 DEBUG [QueryPlanCache] located HQL query plan in cache (
  | 
  |   select ti
  |   from org.jbpm.taskmgmt.exe.TaskInstance as ti
  |   where ti.actorId = :actorId
  | and ti.isSuspended != true
  | and ti.isOpen = true
  | 
  |   )
  | 10:31:22,390 DEBUG [QueryPlanCache] located HQL query plan in cache (
  | 
  |   select ti
  |   from org.jbpm.taskmgmt.exe.TaskInstance as ti
  |   where ti.actorId = :actorId
  | and ti.isSuspended != true
  | and ti.isOpen = true
  | 
  |   )
  | 10:31:22,390 DEBUG [HQLQueryPlan] find: 
  | 
  |   select ti
  |   from org.jbpm.taskmgmt.exe.TaskInstance as ti
  |   where ti.actorId = :actorId
  | and ti.isSuspended != true
  | and ti.isOpen = true
  | 
  |   
  | 10:31:22,390 DEBUG [QueryParameters] named parameters: {actorId=grover}
  | 10:31:22,890 DEBUG [AbstractBatcher] about to open PreparedStatement (open 
PreparedStatements: 0, globally: 0)
  | 10:31:22,890 DEBUG [SQL] select taskinstan0_.ID_ as ID1_27_, 
taskinstan0_.VERSION_ as VERSION3_27_, taskinstan0_.NAME_ as NAME4_27_, 
taskinstan0_.DESCRIPTION_ as DESCRIPT5_27_, taskinstan0_.ACTORID_ as 
ACTORID6_27_, taskinstan0_.CREATE_ as CREATE7_27_, taskinstan0_.START_ as 
START8_27_, taskinstan0_.END_ as END9_27_, taskinstan0_.DUEDATE_ as 
DUEDATE10_27_, taskinstan0_.PRIORITY_ as PRIORITY11_27_, 
taskinstan0_.ISCANCELLED_ as ISCANCE12_27_, taskinstan0_.ISSUSPENDED_ as 
ISSUSPE13_27_, taskinstan0_.ISOPEN_ as ISOPEN14_27_, taskinstan0_.ISSIGNALLING_ 
as ISSIGNA15_27_, taskinstan0_.ISBLOCKING_ as ISBLOCKING16_27_, 
taskinstan0_.TASK_ as TASK17_27_, taskinstan0_.TOKEN_ as TOKEN18_27_, 
taskinstan0_.PROCINST_ as PROCINST19_27_, taskinstan0_.SWIMLANINSTANCE_ as 
SWIMLAN20_27_, taskinstan0_.TASKMGMTINSTANCE_ as TASKMGM21_27_ from 
JBPM_TASKINSTANCE taskinstan0_ where taskinstan0_.ACTORID_=? and 
taskinstan0_.ISSUSPENDED_1 and taskinstan0_.ISOPEN_=1
  | 10:31:23,390 DEBUG [AbstractBatcher] preparing statement
  | 10:31:23,390 DEBUG [StringType] binding 'grover' to parameter: 1
  | 10:31:23,390 DEBUG [AbstractBatcher] about to open ResultSet (open 
ResultSets: 0, globally: 0)
  | 10:31:23,390 DEBUG [Loader] processing result set
  | 10:31:23,390 DEBUG [Loader] done processing result set (0 rows)
  | 10:31:23,390 DEBUG [AbstractBatcher] about to close ResultSet (open 
ResultSets: 1, globally: 1)
  | 10:31:23,390 DEBUG [AbstractBatcher] about to close PreparedStatement (open 
PreparedStatements: 1, globally: 1)
  | 10:31:23,390 DEBUG [AbstractBatcher] closing statement
  | 10:31:23,890 DEBUG [Loader] total objects hydrated: 0
  | 10:31:23,890 DEBUG [StatefulPersistenceContext] initializing non-lazy 
collections
  | 10:31:23,890 DEBUG [QueryPlanCache] located HQL query plan in cache (
  | 
  |   select distinct ti
  |   from org.jbpm.taskmgmt.exe.PooledActor pooledActor
  |join pooledActor.taskInstances ti
  |   where pooledActor.actorId in ( :actorIds )
  | and ti.actorId is null
  | and ti.isSuspended != true
  | and ti.isOpen = true
  | 
  |   )
  | 10:31:23,890 DEBUG [QueryPlanCache] located HQL query plan in cache (
  |   

[jboss-user] [JBoss Seam] - Re: Question on rendering a @Datamodel

2007-05-21 Thread hasc
i found a possible solution but this seems a little ugly to me.

i wrote a method 

public String getRowClasses {

}

which loops over the Set and generates a comma seperated list with the class 
names depending on the special property of each object.

so:
rowClasses=#{budgetOverview.rowClasses}

if theres a better solution tell me please.

regards,
hasc








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

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


[jboss-user] [JBoss Seam] - Re: Question On @Datamodel Outjection

2007-05-21 Thread baz
Hello,
what are you trying to do? Show the xtml pages.
But, nevertheless, your code looks not quite correct.

You do have a bean called budgetOverview in Conversation scope. And you try to 
outject the same name to conversation scope in scmanager.
I do not understand whta you are trying to do.
For your Datamodel costitems you need an initialization method. Either a 
factory or a method called from user interface would do the job.
These concepts are well described in the seam documentation and are covered in 
the seam examples.

But trying to outject an object which is already setup by seam, semms not right 
to me.

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

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


[jboss-user] [JBoss Portal] - Jboss forum for 2.6

2007-05-21 Thread maiky
Hy all,

I want to know if exist a portlet jboss-forum for jboss portal 2.6.
I don't find it ...


Sorry for my bad English.

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm-bpel-1.1.Beta3 examples problem!

2007-05-21 Thread itprabha
Hi gongdonghui,

Thanks for sharing the solution.

I already had jdk 1.5.0-6 installed on machine. So I just placed the jar files. 
Now the test cases of HelloTest are passed, but ATM and purchase order test 
cases are failing. 

I am getting the following error message for AtmFrontEndTest-testConnect test 
case.

Call invocation failed with code [Server] because of: The service is not in an 
appropiate state for the requested operation; nested exception is: 
javax.xml.rpc.soap.SOAPFaultException: The service is not in an appropiate 
state for the requested operation
  | 
  | java.rmi.RemoteException: Call invocation failed with code [Server] because 
of: The service is not in an appropiate state for the requested operation; 
nested exception is: javax.xml.rpc.soap.SOAPFaultException: The service is not 
in an appropiate state for the requested operation at 
org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:713) at 
org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) at 
org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) at 
$Proxy3.connect(Unknown Source) at 
org.jbpm.bpel.tutorial.atm.AtmFrontEndTest.testConnect(AtmFrontEndTest.java:61) 
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at 
junit.extensions.TestSetup$1.protect(TestSetup.java:19) at 
junit.extensions.TestSetup.run(TestSetup.java:23)Caused by: 
javax.xml.rpc.soap.SOAPFaultException: The service is not in an appropiate 
state for the requested operation at 
org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100)
 !
 at 
org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:486)
 at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702) ... 23 more


I tried the atm terminal client as well. It also gives the same error message.

Are you able to run other test cases successfully?

Regards,
Prabhakar N

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

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

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


[jboss-user] [JBoss Portal] - Re: Jboss forum for 2.6

2007-05-21 Thread unibrew
Hi

http://labs.jboss.com/jbossforums/ version working on 2.6CR2 is now available 
only in SVN but you can also wait a bit as there will be binary version as well 
very soon.

BTW. Please use JBoss Forums' user forums for questions about them.

Regards,
Ryszard Kozmik
JBoss Forums Lead

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

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


[jboss-user] [JBoss jBPM] - Re: login to jbpm_console failed

2007-05-21 Thread naseem.k
Hi Guys,

Finally I am able to login to jbpm-console page by adding records in 
JBPM_ID_MEMBERSHIP table for the new users I created and assigned them to a 
group by groupid as a foreign key.

Now I am getting exception at the time of process start.

First time when I start a new process, it works fine. There is no exception on 
the console. Second time when I start the same process version, exception is 
generated on the console saying...


anonymous wrote : 15:32:26,701 DEBUG [JbpmContext] closing JbpmContext
  | 15:32:26,701 DEBUG [Services] closing service 'persistence': [EMAIL 
PROTECTED]
  | 15:32:26,701 DEBUG [DbPersistenceService] committing hibernate transaction
  | 15:32:26,717 WARN  [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000
  | 15:32:26,717 ERROR [JDBCExceptionReporter] ORA-1: unique constraint 
(RND.SYS_C0014481) violated
  | 
  | 15:32:26,717 WARN  [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000
  | 15:32:26,717 ERROR [JDBCExceptionReporter] ORA-1: unique constraint 
(RND.SYS_C0014481) violated
  | 
  | 15:32:26,732 ERROR [AbstractFlushingEventListener] Could not synchronize 
database state with session
  | org.hibernate.exception.ConstraintViolationException: Could not execute 
JDBC batch update
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:218)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2106)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2503)
  | at 
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.ja
  | va:297)

I got this exception only with oracle database. With hypersonic database, there 
was no exception.

Please help. What could be the cause?

Thanks
Naseem

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

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


[jboss-user] [JBoss jBPM] - Re: login to jbpm_console failed

2007-05-21 Thread kukeltje
two things:
- STFF (e.g. with google) for the oracle and unique constraint problem
- search the jira for comparable things

Only if this does not turn up anything post in a NEW topic

hint: the orcale/unique constraint thing has been previously addressed 

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

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


[jboss-user] [JBoss Seam] - Re: Question On @Datamodel Outjection

2007-05-21 Thread hasc
Hi,

i work mainly with 4 classes.

CalculationManager:
- serves the business logic for the interaction with the user
- holds a Calculation Object

Calculation:
- Entity Bean
- holds all data provided by the user

 ExpressCalculator:
- executes a calculation for a passed Calculation object
- returns a BudgetOverview object

BudgetOverview:
- holds all data which should be returned to the user

Workflow:
1. every time the user starts a calculation a (long running) conversation is 
started and a Calculation object is created which holds all data.
2. When the user has passed all information a calculation is executed. and the 
response is stored in the BudgetOverview object
3. the CalculationManager gets this BudgetOverview object and outjects it to 
the conversation scope. Then the user is redirected to the page where the 
response is rendered and after that the conversation ends.

And within the BudgetOverview there is the DataModel selectitems which should 
also be outjected to the conversation scope.

the part of the xhtml looks like that:
ui:define name=content
  |h1Budget Overview/h1
  |div
  |   spanBuildingTyp: /span
  |   h:outputText value=#{budgetOverview.buildingType}/br/
  |   spanArea: /span
  |   h:outputText value=#{budgetOverview.area}/
  |/div
  |h:dataTable value=#{costitems} var=item
  |... columns
  |/h:dataTable
  | /ui:define

works fine fot the #{budgetOverview.attributes} but not for the @Datamodel

thanks for help,
hasc

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

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


[jboss-user] [JBoss Seam] - Re: Question On @Datamodel Outjection

2007-05-21 Thread hasc
the @Datamodel selectitems is initialized by the ExpressCalculator 's method 
calculateInstallationCosts(). it executes a private method which returns the 
Set. I just did not write it down here. selectitems is properly initialized 
because i can e.g display the size of it by writing a method in BudgetOverview

public int getSize() {
  |return selectitems.size();
  | }

and display it like

h:outputText value#{budgetOverview.size}/

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

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


[jboss-user] [JBoss Seam] - 'sometimes' a nullpointer exception for #{identity.loggedIn}

2007-05-21 Thread koenhandekyn
i sometimes get a nullpointer exception with the following root:

rendered=#{identity.loggedIn}: Cannot get value for expression 
'#{org.jboss.seam.security.identity}'

the main issue is that it happens sometimes and that triggering a page refresh 
within the same session just continues as if nothing was wrong.

so it seems that for some reason i don't understand sometimes the name 
'identity'  doesn't seem to be bound ???

i searched the forum but i did not manage to find anything related.

any comments on this behaviour which is not blocking for development but 
blocking for deployment.

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

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


[jboss-user] [JBoss Seam] - Conversion Error

2007-05-21 Thread kvchowdary_6699
hi 
when i click submit button in jspx page i got this error.

i ran the application like registration.


  | 
  | application.jspx
  | 
  | ?xml version=1.0?
  | jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; 
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  |   xmlns=http://www.w3.org/1999/xhtml;
  |   version=2.0
  |   jsp:output doctype-root-element=html
  |   doctype-public=-//W3C//DTD XHTML 1.0 Transitional//EN
  |   
doctype-system=http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd/
  |   jsp:directive.page contentType=text/html/
  |   html
  |   head
  | titleApplication New User/title
  |   /head
  |   body
  |  f:view
  |   h:form
  | table border=0
  |  s:validateAll
  | tr
  |   tdApplication ID/td
  |   tdh:inputText value=#{app.appID} required=true//td
  | /tr
  | tr
  |   tdFirst Name/td
  |   tdh:inputText value=#{app.firstName} 
required=true//td
  | /tr
  | tr
  |   tdLast Name/td
  |   tdh:inputText value=#{app.lastName} 
required=true//td
  | /tr
  | tr
  |   tdSEX/td
  |   tdh:inputText value=#{app.sex} required=true//td
  | /tr
  | tr
  |   tdAGE/td
  |   tdh:inputText value=#{app.age} required=true//td
  | /tr
  |   /s:validateAll
  | /table
  | h:messages/
  | h:commandButton value=Approve 
action=#{application.application}/
  |   /h:form
  | /f:view
  |   /body
  |   /html
  | /jsp:root
  | 
  | 
  | ApplicationUser.java 
  | 
  | 
  | package org.jboss.seam.example.application;
  | 
  | import java.io.Serializable;
  | import javax.persistence.Entity;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | 
  | import org.hibernate.validator.Length;
  | import org.hibernate.validator.NotNull;
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Scope;
  | 
  | @Entity
  | @Name(app)
  | @Scope(ScopeType.SESSION)
  | @Table(name=applications)
  | 
  | public class ApplicationUser implements Serializable
  | {
  | private int appID;
  | private String firstName;
  | private String lastName;
  | private String sex;
  | private int age;
  | 
  | public ApplicationUser(int appID, String firstName, String 
lastName, String sex, int age)
  | {
  | this.appID = appID;
  | this.firstName = firstName;
  | this.lastName = lastName;
  | this.sex = sex;
  | this.age = age;
  | }
  | 
  | public ApplicationUser(){}
  | 
  | //@NotNull @Length(min=1, max=2)
  | public int getAge() {
  | return age;
  | }
  | 
  | public void setAge(int age) {
  | this.age = age;
  | }
  | 
  | //@Id @NotNull @Length(min=3, max=5)
  | public int getAppID() {
  | return appID;
  | }
  | 
  | public void setAppID(int appID) {
  | this.appID = appID;
  | }
  | 
  | //@NotNull @Length(min=5, max=15)
  | public String getFirstName() {
  | return firstName;
  | }
  | 
  | public void setFirstName(String firstName) {
  | this.firstName = firstName;
  | }
  | 
  | //  @NotNull @Length(min=5, max=15)
  | public String getLastName() {
  | return lastName;
  | }
  | 
  | public void setLastName(String lastName) {
  | this.lastName = lastName;
  | }
  | 
  | //@NotNull @Length(min=4, max=6)
  | public String getSex() {
  | return sex;
  | }
  | 
  | public void setSex(String sex) {
  | this.sex = sex;
  | }
  | }
  | 
  | 
  | 
  | and ApplicationAction.java
  | 
  | 
  | package org.jboss.seam.example.application;
  | 
  | import java.util.List;
  | 
  | import javax.ejb.Stateless;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | 
  | import org.apache.commons.logging.Log;
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Logger;
  | import org.jboss.seam.annotations.Name;
  | import 

[jboss-user] [JBoss Seam] - How to get a facelets parameter into a seam component

2007-05-21 Thread quilian
Hi Folks!

I have the following scenario:
I want to create a component that manages relationship between entities. To 
make it reusable, i have two general managers, which are templated EJB3 session 
beans and manage some buisness objects.
These entities are derived from two interfaces AssociationMaster and 
AssociationSlave respectively. Their methods can tell which fields of the two 
entitys map the relationship betweeen them. So the only thing my component 
should be depend on is that the two managers given to it manage entities which 
are derived from the two interfaces and behave accordingly. The component 
itself consists of a Listbox to select the master and a MultipleSelectCheckbox 
on the right side to select the Associated Slaves. A Common scenario in our 
application would be to map users to groups and groups to tasks etc.
I used the facelet-taglib with the source tag to define my component:




  | myTaglib.xml:
  | 
  | facelet-taglib
  | namespacehttp://www.mobilanten.de/tags/namespace
  | tag
  | tag-nameassociationTableInclude/tag-name
  | sourcetags/associationTable.xhtml/source   
  | /tag
  | 
  | /facelet-taglib
  | 
 


  | testPage.xml:
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:mb=http://www.mobilanten.de/tags;
  | 
  | ui:define name=body
  | tr:panelPage
  | mb:associationTableInclude
  | masterManager=#{gruppenManager}
  | slaveManager=#{benutzerManager}/
  | /tr:panelPage
  | /ui:define
  | /ui:composition   
  | 
  
inside the associationTable.xhtml (not posted here) i can use #{masterManager} 
and get the concretized #{gruppenManager}.

when submitting the form, the called action method should call .save in the end.
  
 So the question his how to get the facelet template parameter #{masterManager} 
into my code by whatever means?

I have tried many things like giving the masterManager as Parameter to the 
action method(always null) now but am stuck, so i wonder if theres any way at 
all to do this..

Many thanks for your suggestions!
Tobias Kilian

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

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


[jboss-user] [JBoss Seam] - Re: Question On @Datamodel Outjection

2007-05-21 Thread baz
Hi,
now it is hopefully clear to me.
You have an object 'budgetOverview' which is managed by seam, due to the @name 
annotation .


At some stage in your workflow an object called budgetOverview is created (new 
...) This object is NOT managed by seam. And you are outjecting this object 
into the same scope as the seam managed object resides in.

So the datamodel can not be outjected, since you are not having a managed 
object in the scope.

You should not create, with new, the budgetOverview object. Try to inject this 
bean into expresscalculator.

From your code i suppose that you are not familar with the seam way of 
programming. Try to investigate the seam examples until you understand them. 
Or buy the very good new seam book, read documentation and experiment for 
yourself.

If you have questions abourt the examples or documentation do not hesitate to 
ask here.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Help Deploying .war :: javax.xml.ws.WebServiceException

2007-05-21 Thread yamasaki
any guesses?  

thanks

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

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


[jboss-user] [EJB/JBoss] - EJB2.1:UserTransaction with CMT- possible bug?

2007-05-21 Thread mskonda
I have a CMT bean with a method set to Never as tx attribute. 

- If I get the UserTransction from SessionContext(), I do get an 
IllegalStateException (java.lang.IllegalStateException: CMT beans are not 
allowed to get a UserTransaction) which is expected
- However, I am able to get the same UT from JNDI!

I am successful in getting TransactionManager and UserTransaction from JNDI in 
my ejbCreate() method.

Now, the following method executes without any 
exceptions/restrictions/constraints:

  | private void doNonTxWork()
  | {
  | logger.info( Method: doNonTxWork );
  | try
  | {
  | Transaction t = tm.suspend();
  | ut.begin();
  | logger.info(UserTransaction BEGIN: );
  | ut.commit();
  | logger.info(UserTransaction COMMITTED: );
  | tm.resume(t);
  | logger.info(Transaction Resumed: );
  | }
  | catch (Exception e)
  | {
  | logger.info(Exception: + e.getMessage());
  | logger.error(e);
  | throw new EJBException(e);
  | }
  | }
  | 
Note that the method that's calling this one is set to Never. 

Now, in order to check whether I can do the same work in a Required 
method(which ideally should'nt work), I called this method from Required 
method. I didn't get any exceptions/errors and everything seems quite happy!!

Is it not strange behaviour(possible bug??) or am I missing something here?

Thanks
Madhu

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

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


[jboss-user] [JBoss jBPM] - Re: Why doesn't work?

2007-05-21 Thread ricardomarques
BTW, i'm trying to isolate the problem, now i've tried to execute the process 
from another way, this time using StartProcessInstanceCommand. 

Using this code:


  | Properties props = System.getProperties();
  | try {
  | 
  | props.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | props.put(Context.PROVIDER_URL, jnp://localhost:1099);
  | props.put(Context.URL_PKG_PREFIXES, 
org.jboss.naming:org.jnp.interfaces);
  | 
  | Context ctx = new InitialContext(props);
  | 
  | Object obj = ctx.lookup(CommandService);
  | 
  | CommandServiceRemoteHome remoteCommandService = 
(CommandServiceRemoteHome) 
javax.rmi.PortableRemoteObject.narrow(obj,CommandServiceRemoteHome.class);
  | CommandServiceRemote commandService = 
remoteCommandService.create();
  | 
  | StartProcessInstanceCommand cmd = new 
StartProcessInstanceCommand();
  | 
  | cmd.setProcessName(send mail 4);
  | cmd.setCreateStartTask(false);
  | cmd.setActorId(grover);
  | 
  | 
  | System.out.println(RETURNING OBJECT:  + 
commandService.execute(cmd).toString());
  | 
  | commandService.remove();
  | ctx.close();
  | 

I get this exception:


  | Caused by: org.jbpm.JbpmException: couldn't execute [EMAIL PROTECTED]
  | at 
pep.workflow.server.beans.command.CommandServiceBean.execute(CommandServiceBean.java:71)
  | 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.invocation.Invocation.performCall(Invocation.java:359)
  | at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
  | at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
  | 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.invoke(SecurityInterceptor.java:168)
  | at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
  | ... 24 more
  | Caused by: org.jbpm.JbpmException: token 'Token(/)' can't be signalled 
cause it is currently not positioned in a node
  | at org.jbpm.graph.exe.Token.signal(Token.java:134)
  | at 
org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:251)
  | at 
org.jbpm.command.StartProcessInstanceCommand.execute(StartProcessInstanceCommand.java:32)
  | at 
pep.workflow.server.beans.command.CommandServiceBean.execute(CommandServiceBean.java:67)
  | ... 38 more
  | 
  | 

The process XML is this:


  | ?xml version=1.0 encoding=UTF-8?
  | 
  | process-definition
  |   xmlns=urn:jbpm.org:jpdl-3.1  name=sendmail
  |start-state name=Inicio
  |   transition name= to=Send Mail/transition
  |/start-state
  |end-state name=Fim/end-state
  |node name=Send Mail
  |   action class=pep.test.MailMeActionHandler/action
  |   transition name= to=Fim/transition
  |/node
  | /process-definition
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: PROBLEMS About the database of jBPM BPEL

2007-05-21 Thread vhuhtine
Your problem looks similar to the one I had, see 
http://www.jboss.org/index.html?module=bbop=viewtopict=107473
and http://jira.jboss.org/jira/browse/BPEL-230

The jar provided in the Jira doesn't work as such (see BPEL-250). 

You probably need only the org.jbpm.bpel.db.type.ElementType from the jar in 
BPEL-230, and then add length attribute to the related .hbm.xml files as 
described in BPEL-230.



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

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


[jboss-user] [Beginners Corner] - Re: javax.naming.CommunicationException: Could not obtain co

2007-05-21 Thread kbird
well, i tried the netstat to see if the port of running already or listening 
already and  i tried to kill it if it were, but the it was not.

then, searching the in the other forums suggested that this porblem could be a 
of java update. well when i restarted the machine it got working(sort of a 
strange prob though!!)

until this same error comes again to me.



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

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


[jboss-user] [JBoss Seam] - seam seam-gen eclipse??? procedure fails GET ONLY OLD D

2007-05-21 Thread dreuzel
As  I'm experimenting a little bit with seam (see if it works ???)
i'm using se
am 1.2.1   on jboss 4.0.5.ga jems  build 


I'm trying to change the content of  pages  in eclipse
whatever I seem to do I get   the old  XHTML  file  activated 

i REBOOT 
ErEASE  jboss
 
i CAN NOT FIND the  old  file  in ECLIPSE  though on  deploy only  the old file 
is deployed .

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

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


[jboss-user] [JBoss Seam] - Re: noSelectionLabel s:selectItems NumberFormatException

2007-05-21 Thread Newlukai
Is there any information about the strange behaviour of the selectItems feature 
in 1.2.1 with ICEfaces?

I hope that my problems will be gone if this one is fixed. I've added a 
valueChangeListener on the ice:selectOneMenu which just sets a scoped object to 
the selected value. But as soon as the user selects a value, there's a 
validation error occuring which says that the value is invalid.

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

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


[jboss-user] [JBoss Seam] - Re: How to get a facelets parameter into a seam component

2007-05-21 Thread -Arthur-
Hi!

Try it with: 

  | ui:include src=groupManager.xhtml
  |   ui:param name=gruppenManager value=#{component.property}/
  |   ui:param name=benutzerManager value#{component.property}/
  | /ui:include
  | 

I dont evet know if this works with ui:define.
Anyway i think that can help you.

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

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


[jboss-user] [JBoss jBPM] - Re: login to jbpm_console failed

2007-05-21 Thread naseem.k
Thanks Ronald,

I resolved the problem. In fact it became quite easier to find out the problem 
after your post.

Basically problem was in the process instance table, unique constraint was 
imposed on (ID_, PROCESSDEFINITION_) composite column. I just removed unique 
constraint and it worked.

Thanks once again

Regards
Naseem

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ JMS connection factory configuration

2007-05-21 Thread sanumohanty
I am also facing some problem while configuring JMS custom connection factory.
Documentation is not clear.Please let me know the configuration steps.

Sourajit

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 timer service configuration in JBoss 4.2.0.GA

2007-05-21 Thread wolfc
It has been moved to ejb-deployer.xml.

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

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


[jboss-user] [JBoss Messaging] - Re: How to configure new custom JMS Connection Factory

2007-05-21 Thread timfox
Moved from design forum since this is a user question

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

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


[jboss-user] [Installation, Configuration Deployment] - isolated ear log4j.xml config file

2007-05-21 Thread trebiani
Hi!

i'm using JBoss 4.0.5.GA and deploy a one ear application multiple times. the 
ear is containing a war file, a jar for ejb's and some other libraries. this is 
working as expected. right now i'm trying to use a log4j.xml for every single 
ear file which i can't get running. i tried every hint i found in this forum 
and the wiki.

has someone did this allready (if yes, can you give me a mini-howto)? or is it 
not possible?

many thanx in advance,
treb

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

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


[jboss-user] [JBoss Seam] - why conversation-timeout doesn't work properly?

2007-05-21 Thread mnrz
Hello

I set the conversation timeout to a value representing 1 hour but after a 
couple of the minutes the conversation will end 

here is the line in component.xml


  | core:manager  conversation-timeout=360 
  |   concurrent-request-timeout=500
  |   conversation-id-parameter=cid
  |   conversation-is-long-running-parameter=clr/
  | 
  | 

and this is the message will be shown:


The conversation ended, timed out or was processing another request 
You must be logged in to perform this action 


I have two components in conversation scope

SearchQuery  -- SearchResult

and one statefull component in Session scope

UserSettings

when the user is in the SearchResult which is actually in a long running 
conversation he/she may click on a button to go to settings page (UserSettings) 
and after change the settings will get back to SearchResult

however, I set a @Begin(join=true) in method of UserSettings but I think this 
is the point of my problem

is it possible to go to a statefull component  and then back to the last long 
running conversation?

thank you very much in advance


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

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


[jboss-user] [JBoss Seam] - Re: How to get a facelets parameter into a seam component

2007-05-21 Thread quilian
Hi Arthur!

Thanks for you reply, however according to

http://www.jsfcentral.com/articles/facelets_3.html

the ui:param and the custom tag approches are equivalent.

The question how to get that given parameter into my backing bean remains:

e.g., i have:
  tr:commandButton id=saveButton text=Save 
action=#{associationTable.save()}

where associationTable is a conversation scoped POJO living in 
.war-file/WEB-INF/classes. It must get the SelectManyCheckbox injected in order 
to preselect Slaves after the user has selected a Master. So associationTable 
is the listener for the valueChangeEvents and also keeps state of which Salves 
the user has selected. It must however inform the Managers that one of their 
entities has changed to get the database updated.

If anything on this approach is not standard like or how you would do it, 
please dont hesitate to correct me. However i thought keeping the UI-component 
associationTable seperated from my Buisness logic and therefor outside the 
.jar would be a good idea :-)

Greetings,
Tobias Kilian

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

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


[jboss-user] [JBoss Portal] - pages in dashboard

2007-05-21 Thread eagleIT
Hello. I will want to put pages in the dashboard directly when I deploy my 
portal. Without being obliged to do copy to my dashboard. 
Can you help me ??
Regards.

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

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


[jboss-user] [JBoss Seam] - Re: Question On @Datamodel Outjection

2007-05-21 Thread hasc
ok thanks for your help. i understand your point.

i have to think about it...

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS Framework Stops on changing System Time

2007-05-21 Thread njain15
Not sure if someone still looking for the answer. We had similar issue and 
looking at the JBoss code, figured out following -

Whenever a JMS connection is created in JBoss, JBoss schedules a thread that 
checks for the validity of the connection. The validity criteria is such that 
JBoss expects another message from the connection's client with in 2 min (by 
default, it might be configurable) since last message is received. If no 
message is received from client then connection is considered stale and closed. 

The exception in your case is because of this behavior.

Since a JMS client application may not send a message every two minutes, the 
JMS implementation sends a PingMessage to the connection every 60 sec to keep 
it alive.

To schedule the PING for every 60 sec, JBoss uses the ClockDeamon class from 
'EDU', that provides a feature to schedule a task periodically. The application 
works as expected if you increase the system time. If system time is decreased, 
it fails to send to PING message every 60 sec and hence connection times out 
after 2 min.

Look at the implementation of 'nextTask' method in 'ClockDeamon' class for 
details. 

One of the possible approach to fix the issue is to register a 
javax.jms.ExceptionListener with the JMS connection. This listener is notified 
whenever JMS system encounters any error with the connection. During call back, 
you should recreate the connection and all the associated JMS objects.

Here is snippet of a TextMDB (will not compile as it is, removed unnecessary 
code to reduce the text) that uses the above mentioned approach

public class TextMDB implements MessageDrivenBean, MessageListener, 
ExceptionListener
{

  private MessageDrivenContext ctx = null;
  private QueueConnection conn;
  private QueueSession session;

  public void ejbCreate() {
  setupPTP();
  }

  public void onMessage(Message msg) {
  TextMessage tm = (TextMessage) msg;
  String text = tm.getText() + processed by:  + hashCode();
  Queue dest = (Queue) msg.getJMSReplyTo();
  sendReply(text, dest);
  }

  private void setupPTP() throws JMSException, NamingException {
InitialContext iniCtx = new InitialContext();
Object tmp = iniCtx.lookup(java:comp/env/jms/QCF);
QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
conn = qcf.createQueueConnection();
conn.setExceptionListener(this);
session = conn.createQueueSession(false,
  QueueSession.AUTO_ACKNOWLEDGE);
conn.start();
  }

  private void sendReply(String text, Queue dest) throws JMSException {
QueueSender sender = session.createSender(dest);
TextMessage tm = session.createTextMessage(text);
sender.send(tm);
sender.close();
  }

  public void onException(JMSException jMSException) {
  setupPTP();
  }
  
}

Hope this helps

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - troubles migration to jbossAS-4.2.0ga

2007-05-21 Thread KrisVH
I've got an EAR (SEAM) application.

On version 4.0.5ga everything is running smoothly

but when I put the EAR-file in default-deploy dir of jboss4.2.0ga, while 
deploying it gives

2007-05-21 14:05:26,989 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/aero]] Error 
configuring application listener of class 
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.ClassNotFoundException: 
org.apache.myfaces.webapp.StartupServletContextListener
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3797)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
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 

[jboss-user] [JBoss Portal] - Re: pages in dashboard

2007-05-21 Thread [EMAIL PROTECTED]
There is a special portal called template. It is used as a template for all 
users to create their dashboard

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

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


[jboss-user] [JBossCache] - Re: Failed to start pojo cache with JDK 1.6

2007-05-21 Thread ctof
To complete by post, i tried to compile JBossCache whith JDK 1.6.0 and already 
have the same pb.

Christophe

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Multiple applications connection problem

2007-05-21 Thread mex
Adding
  |   track-connection-by-txtrue/track-connection-by-tx
  |   new-connection-sqlset autocommit=1/new-connection-sql
  |   no-tx-separate-poolstrue/no-tx-separate-pools
  | 
made it for the xa-datasource.

But the problem remains.

It DOES appear to be a classloader isolation problem.

More specific there is a problem with static sections of classes with identical 
packages and ClassNames (but in different ears). I believe instances are 
correctly referenced via jndi.

I will try classloader separation next.

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

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


[jboss-user] [JBoss Portal] - Re: pages in dashboard

2007-05-21 Thread eagleIT
Oh thanks. But I can't add pages directly in my default-object.xml !! What I 
must to do to add pages ??

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 timer service configuration in JBoss 4.2.0.GA

2007-05-21 Thread tazman
Thanks wolfc!

tazman

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

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


[jboss-user] [JBoss Portal] - Re: pages in dashboard

2007-05-21 Thread eagleIT
I'm sorry I was mistaken. I can add page. But in my template, I want the 
dashboard properties !! I put the properties which written in the 
default-object.xml but when I move portlet, the position is not kept !

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

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


[jboss-user] [JBoss Portal] - Re: pages in dashboard

2007-05-21 Thread [EMAIL PROTECTED]
Explain...

Did you specify how you wanted the windows ordered by specifying height on the 
window descriptor ?

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

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


[jboss-user] [JBoss Messaging] - Re: How to configure new custom JMS Connection Factory

2007-05-21 Thread sanumohanty
Hi Madhu,

Thanks for ur suggestion.
But the documentation is not clear.As I am using JBOSS 4.X,I believe JBOSS MQ 
is the default JMS provider.I dont want to use JBOSS messaging which is default 
provider for JBOSS 5.x.

Now I have two questions.
1 Can I create an custom connection factory(on JBOSS4.x)?
2If yes,Please list all the configuration file names and what changes do i 
need to make to create a Custom Connection Factory?

I have worked on Weblogic JMS and its really very easy to configure connection 
factory as I have to deal with only one configuration file(config.xml) and 
console.

Any pointers on this are highly appreciated.

Thanks in advance.

Regards
Sourajit

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

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


[jboss-user] [JBoss Seam] - Re: 'sometimes' a nullpointer exception for #{identity.logge

2007-05-21 Thread ffischer
Are you using seam 1.2.1 with richFaces/ajax4Jjsf enabled? I suffer from very 
similar problems. Randomly I get exceptions like your exception or exceptions 
like this one: Cannot get value for expression '#{org.jboss.seam.messages}' 

After I switched off ajax4jsf by commenting out the ajax4jsf filter and the  
ajax4jsf.VIEW_HANDLERS within web.xml and reactivating the view-handler within 
faces-config.xml the problem disapears.

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

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


[jboss-user] [Security JAAS/JBoss] - NegotiateKerberos

2007-05-21 Thread chat2saqib
Hi All,

I am trying to follow the instructions which is available on 
http://wiki.jboss.org/wiki/Wiki.jsp?page=NegotiateKerberos to test the 
Negotiate Authentication on Tomcat in JBoss exactly what it is said on the 
website. But, I dont know why when i run the JBOSS it gives me an exception.

13:17:43,875 INFO  [ServiceConfigurator] Problem configuring service 
jboss.security:service=JaasSecurityManager
org.jboss.deployment.DeploymentException: Exception setting attribute [EMAIL 
PROTECTED] on mbean jboss.s
ecurity:service=JaasSecurityManager; - nested throwable: 
(java.lang.NoClassDefFoundError: org/jboss/web/tomcat/security/
WebCallbackHandler)
at 
org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
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:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:464)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError: 
org/jboss/web/tomcat/security/WebCallbackHandler
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(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:672)
at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
at 

[jboss-user] [JBoss jBPM] - Re: utf problem

2007-05-21 Thread fuligj
I'am using MySQL, but I tried it in an original suite with HSQL too, but the 
problem was the same. I think this is not the database's mistake, because I can 
display any special character in the webapp, that stored in db.

Could anyone help me?
Thanks!

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

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


[jboss-user] [EJB/JBoss] - Re: Row-locking enhancement for ejbLoad invoked outside of a

2007-05-21 Thread [EMAIL PROTECTED]
In theory that sounds ok. But we do not recommend accessing entity beans w/o a 
transaction in our implementation. Some code relies on an active transaction.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: NegotiateKerberos

2007-05-21 Thread chat2saqib
Sorry I forgot to mention that I have already put all the following jar files 
in the C:\server2\jboss-4.0.4.GA\server\default\lib directory.

jcifs-1.2.3_spnego.jar
jcifs-ext-1.2.3.jar
negotiate.jar
negotiate-src.jar
jcifs-1.1.11.jar
jcifs-krb5-1.2.13.jar

I hope anyone will reply soon to resolve my problem.

Thanks.

Saqib Hussain.

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

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


[jboss-user] [JBoss Seam] - @Embeddable question

2007-05-21 Thread anescu
Hi,

We're trying to use an @Embeddable class in our project. It's a seam generated 
project, but we keep our entities and modify the views as needed.

So, we have a ABC @Embeddable class which has one field

private String name;
And this class is embedded into another, XYZ.

On the interface i have a field:
s:decorate id=ABCNameDecoration template=layout/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['XYZ.ABCName.label']} //ui:define
  | h:inputText id=ABCName
  |size=100
  |   maxlength=100
  |   value=#{xyzHome.instance.ABC.name} 
title=#{messages['XYZ.ABCName.tooltip']}
  | a:support event=onblur reRender=ABCNameDecoration/
  | /h:inputText
  | /s:decorate

The page renders ok, but when i try to edit/add an entity and put some value 
into this field I get a validation error:
anonymous wrote : value could not be converted to the expected type
No error shows up in the log, even on debug mode.

I browsed the forum and found somewhere something about needing a converter for 
this entity. I also found some examples on how to build a custom JSF converter. 
So, my questions are:
1) is there a doc on how to do custom converters on seam (what needs to be 
configured and so on)
2) If my ABC class has 5 fields, all rendered on the page of the owing entity 
(XYZ) as separate fields, do I need 5 converters, one for each field
Tnx, I wait for your reply...

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

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


[jboss-user] [JBoss Seam] - Re: @Embeddable question

2007-05-21 Thread fernando_jmt
Have you declared the ABC as follows?:

  | public class XYZ {
  | ...
  | private ABC abc = new ABC();
  | 
  | ...
  | getters/setters
  | }
  | 
  | 

In this case abc should be referenced in the view, not ABC.

HTH.

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

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


[jboss-user] [JBoss Seam] - Re: why conversation-timeout doesn't work properly?

2007-05-21 Thread fernando_jmt
anonymous wrote : 
  | You must be logged in to perform this action 
  | 

That message tell that the HTTP Session has been timed out (session time out 
destroys any active conversation).

How long are your http session defined?

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

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


[jboss-user] [JBoss Seam] - SeamEntityConverter Mess

2007-05-21 Thread toni
Hi,

I'm trying to use the SeamEntityConverter convertEntity tag in order to select 
an entity from a selectOneMenu widget.

I downloaded the entityconverter-0.1.zip and unzipped it. The I discovered that 
the tld is pointing to the wrong class and that reference to the taglib is 
wrong too. After fixing this I'm now getting the whole time getting invalid 
value when trying to select an entity. I have tried everything nothing seems 
work.

So my questions:

1. Is the tag in the 1.2.1 GA release included. I don't think so, but it says 
so in the Wiki :  This is now in Seam from the 1.2.1.GA releas. Don't know 
what that really mean.

2. If it's not in the 1.2.1 GA release, then were can I get the jar from? The 
one in the wiki has wrong tld names and class references and even after fixing 
this it's not working for me.

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

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


[jboss-user] [JBoss Portal] - Re: pages in dashboard

2007-05-21 Thread eagleIT
I want a portal for each user based in the same template (example : 1 portal 
with 4 tabs/pages).
This portal must be personalisable by user (drag and drop, keep the position of 
the drag and drop, add content/new portlet).

Have you a database model for the dashboard ? In which table is persisted the 
information about each portlet position for each user ? 

Have you any documentation about dashboard/template/user preferences.

Best regards. Sorry for my English.

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

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


[jboss-user] [JBoss Seam] - Re: @Digit Annotation

2007-05-21 Thread fernando_jmt
I will really appreciate if the next release of Seam has bundled the latest 
Hibernate libraries (Core, EM, Validator...). There are some bugs corrected in 
such versions currently I'm waiting for.

Thanks in advance.

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

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


[jboss-user] [JBoss Seam] - Re: @Embeddable question

2007-05-21 Thread anescu
Yes, I just tried and the same problem.
i also tried this one: I manually inserted the value into the DB (in 
xyz_abc_name field), so this one works like this, after that i deleted the 
value from the field and updated, all works ok. 

Is possible I need to set not null value on the field in the constructor???

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

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


[jboss-user] [JBoss Portal] - Re: pages in dashboard

2007-05-21 Thread eagleIT
I give you my default-object.xml :


  | ?xml version=1.0 encoding=UTF-8?
  | 
!--~~~
  |   ~ JBoss, a division of Red Hat
  ~
  |   ~ Copyright 2006, Red Hat Middleware, LLC, and individual 
  ~
  |   ~ contributors as indicated by the @authors tag. See the  
  ~
  |   ~ copyright.txt in the distribution for a full listing of 
  ~
  |   ~ individual contributors.
  ~
  |   ~ 
  ~
  |   ~ This is free software; you can redistribute it and/or modify it 
  ~
  |   ~ under the terms of the GNU Lesser General Public License as 
  ~
  |   ~ published by the Free Software Foundation; either version 2.1 of
  ~
  |   ~ the License, or (at your option) any later version. 
  ~
  |   ~ 
  ~
  |   ~ This software is distributed in the hope that it will be useful,
  ~
  |   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of  
  ~
  |   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~
  |   ~ Lesser General Public License for more details. 
  ~
  |   ~ 
  ~
  |   ~ You should have received a copy of the GNU Lesser General Public
  ~
  |   ~ License along with this software; if not, write to the Free 
  ~
  |   ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  
  ~
  |   ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  ~
  |   
~~~--
  | 
  | !DOCTYPE deployments PUBLIC
  |-//JBoss Portal//DTD Portal Object 2.6//EN
  |http://www.jboss.org/portal/dtd/portal-object_2_6.dtd;
  |
  | 
!--~~~ 
 
  | 
  | PORTAIL CPAGE
  | 
  | 
--
  |
  | 
  |
  | deployments
  |deployment
  |   parent-ref/
  |   if-existsoverwrite/if-exists
  |   portal
  |  portal-namedefault/portal-name
  |  supported-modes
  | modeview/mode
  | modeedit/mode
  | modehelp/mode
  |  /supported-modes
  |  supported-window-states
  | window-statenormal/window-state
  | window-stateminimized/window-state
  | window-statemaximized/window-state
  |  /supported-window-states
  |  properties
  | !--
  | | Set the layout for the default portal, see also 
portal-layouts.xml.
  | --
  | property
  |namelayout.id/name
  |valueCPage1Col/value
  | /property
  | !--
  | | Set the theme for the default portal, see also 
portal-themes.xml.
  | --
  | property
  |nametheme.id/name
  |valuerenaissance/value
  | /property
  | !--
  | | Set the default render set name (used by the render tag in 
layouts), see also portal-renderSet.xml
  | --
  | property
  |nametheme.renderSetId/name
  |valuedivRenderer/value
  | /property
  | !--
  | | Set the default strategy name (used by the strategy 
interceptor), see also portal-strategies.xml
  | --
  | property
  |namelayout.strategyId/name
  |valuemaximizedRegion/value
  | /property
  | !--
  | | The default page name, if the property is not explicited then 
the default page name is default
  | --
  | property
  |nameportal.defaultObjectName/name
  |valuedefault/value
  | /property 
  | 
  |  /properties  
  |   
  |  
  |   !--PAGE DEFAULT--
  |  
  | page
  | page-namedefault/page-name
  | window
  |window-nameCatalogPortlet/window-name
  |instance-refCatalogPortletInstance/instance-ref
  |regioncenter/region
  |height0/height
  | /window
  |  /page
  | 
  |  
  |   /portal
  |   
  |/deployment
  |
  |
  | 
!--~~~ 
 
  | 
  | PORTAIL 

[jboss-user] [EJB 3.0] - Migration from Embedded RC8 to embedded-jboss-beta2

2007-05-21 Thread jc7442
Hi,

I try to migrate my junit testcase from embedded RC8 to beta2. It looks that 
XML configuration file have change a lot.

Using the EJB3StandaloneBootstrap classes I was able to define the jar to scan 
and only the jar to scan. Consequently before each testcase, I started and 
shutdown the embedded JBoss. That was very convenient solution (my 
persitence.xml have the create-drop property) to make my testcase independent 
each from the other.

EJB3StandaloneBootstrap still exist in beta2 but is not documented. Should I 
use the Bootstrap class ? Is it possible to provide to the container the list 
of jars and directory to scan either than scanning all the jar ?

With CR8, I have a jar that contains my config. It looks that with the 
Bootstrap class, jar are not supported for the config. Config must be in a 
directory ?

thx

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

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


[jboss-user] [JBoss Seam] - Re: Component Binding don't work in Seam?

2007-05-21 Thread smithbstl
Thanks goose,

So I have to use injection, I can't use regular JSF style binding?

h:inputText binding=#{mySFSB.someUIInputComponent}/

Can you tell me where you found this in the Seam Documentation?

Using your method, do I still need to wire up the binding (like shown above) in 
the JSF page?  It appears that I don't since you don't have any getters or 
setters.or are you simply binding to #{table}?

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

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


[jboss-user] [JBoss Seam] - Re: @Embeddable question

2007-05-21 Thread anescu
Correction:

It works to insert a new entity XYZ. But i have a script which inserts some 
rows into xyz tables without the xyz_abc_name field. If i select one of these 
entities and want to update the abc.name field to something then i get a 
validation error. 

Anybody any idea how to solve this one?

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

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


[jboss-user] [JBoss Seam] - Re: @Embeddable question

2007-05-21 Thread fernando_jmt
I make a mistake in my last post, the code shoul be:


  | public class XYZ {
  | ...
  | @Embedded
  | private ABC abc = new ABC();
  | 
  | ...
  | getters/setters
  | }
  | 
  | 

And your ABC must have @Embeddable at type level.

do you have it in this way?

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

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


[jboss-user] [JBoss Seam] - Re: @Embeddable question

2007-05-21 Thread anescu
Yes, i have them both. Earlier i had only the @Embeddable on class ABC, but i 
saw the @Embedded annotation in another post and used it.

So the insert works, but the update of some already inserted entities does not.

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

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


[jboss-user] [Clustering/JBoss] - Re: Accessing singleton MBean from a cluster node

2007-05-21 Thread [EMAIL PROTECTED]
Looks like the jboss.jmx:type=adaptor,name=Invoker service is secured, using 
the same security domain as the JMX console. So, you need to associate a 
principal and credential that the jmx-console domain will accept with the 
caller thread before invoking on the adaptor.

This can be done as follows:


  | ... your existing stuff
  | String user = foo; // replace with whatever you want
  | org.jboss.security.SimplePrincipal prin = new SimplePrincipal(user);
  | org.jboss.security.SecurityAssociation.setPrincipal(prin);
  | 
  | char[] pwd = bar.toCharArray(); // replace with whatever you want
  | org.jboss.security.SecurityAssociation.setCredential(pwd);
  | if( (rmiAdaptor != null)  (rmiAdaptor.isRegistered(new 
ObjectName(kapart.mbean:service=ScheduleManager))) ) {
  |   rmiAdaptor.invoke( new 
ObjectName(kapart.mbean:service=ScheduleManager), startSingleton, null, 
null );
  | }
  | 

Probably a better idea is to call SecurityAssociation.getPrincipal() and 
getCredential() first and cache the results in a local variable.  Then do the 
above in a try/finally block.  In the finally, reset the principal and 
credential to whatever they were.  This way if the thread has a end user's 
principal and credential associated with it, they won't be lost.


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

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


[jboss-user] [JBoss Seam] - Re: SeamEntityConverter Mess

2007-05-21 Thread fhh
Since it is now uf the seam-ui package there is no ec-taglib anymore so you 
have to use s:convertEntity /.

Regards

Felix

P.S.: There is no JSP tag so it is facelets only at the moment.


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

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


[jboss-user] [JBoss Seam] - Re: SeamEntityConverter Mess

2007-05-21 Thread toni
sounds like a downgrade from the previous version

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

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


[jboss-user] [EJB/JBoss] - Re: EJB2.1:UserTransaction with CMT- possible bug?

2007-05-21 Thread waynebaylor
Why the call to tm.suspend()? 

By marking the method with TransactionAttributeType.NEVER you're stating that 
there will not be a transaction in progress when the method is called. 

Maybe try using TransactionAttributeType.NOT_SUPPORTED instead of NEVER. That 
way, if the caller has an associated transaction it will be suspended and 
restarted after the method executes.

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

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


  1   2   3   >