[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-14 Thread jbmp user
Thank you. 

I work with jboss jbpm 3.1. 
I have a process definition, and I have a task for every node. 
For example: 

start-state name=Entrada reclamación







/start-state


like you can look, I have a variable called Fecha reclamacion (date 
reclamation). This variable must be type date, but I can write chars, for 
example. Then, how do I tell the type of variables??? 

I'm sorry my bad english!!! 
Thank you all!!! 


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

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

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


[jboss-user] [JBoss Seam] - Advise needed: Conversations vs. navigation menu

2007-02-14 Thread wenzlaff
Hello,
I tried to achieve the following scenario:
1. Begin a conversation when showing an overview of items.
2. Use this conversation (using an extended persistence context) to hold the 
selected item using DataModelSelection.
3. Edit or delete the item
4. End the conversation.

I know that I could achieve this simple use case stateless as well, but this 
question is more general.

If the user ends the conversation implicit not explicit in Step 3, i.e. by 
using the navigation menu, the conversation still exists and prevents new 
conversations to be started.
Is there a general advise on how to handle conversations in combination with a 
application wide page navigation?


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

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


[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-14 Thread jbmp user
I'm sorry very much but I don't know :(  :(  :(

I work with jboss jbpm 3.1. 
I have a process definition, and I have a task for every node. 
For example: 


start-state name=Entrada reclamación/start-state


like you can look, I have a variable called Fecha reclamacion (date 
reclamation). This variable must be type date, but I can write chars, for 
example. Then, how do I tell the type of variables??? 

I'm sorry my bad english!!! 
Thank you all!!! 


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

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

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


[jboss-user] [JBoss Portal] - Re: How to get UserName or Password or Profile

2007-02-14 Thread ravindra reddy
thank you very much. i am able to get the user name of the logged person in 
this manner.

incase if we are able to do the same from the database where the details get 
stored, then we can get alot of information. we can get user profile and lot 
many things. is there any way to retrieve data from database.

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

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


[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-14 Thread jbmp user
:(  :(  :(  :(  :(  :( the last time

Code of this variable is:

  

 I'm sorry very much!!!

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

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


[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-14 Thread jbmp user
Now I going to write the code of variable without tags...

task name=rellenar información swimlane=usuario
 controller
variable name=Fecha reclamación access=read,write,required 
variable
 controller
task

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

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

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


[jboss-user] [JBoss Seam] - Re: Web services and Seam

2007-02-14 Thread avibh
thanks for the quick response guys
since i can wait till next Q i'd like to know if theres a way to simulate the 
injection of objects into the web service class using seam (or maybe extend 
seam components).
also if there's any configuration related to it, i'd love to know :-)
  

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

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


[jboss-user] [EJB/JBoss] - read-ahead and optimization

2007-02-14 Thread kanth_seenu
4.0.1sp1 version of jboss. 

In order to optimize the execessive queries fired to database by getter 
methods, I tried using the read-ahead tag. I have given the details about my 
configuration

* @jboss.load-group
  | *  name=modules
  | * description=module fields used in query
  |  * @jboss.read-ahead strategy = on-find
  |  * page-size = 200
  |  * eager-load-group=modules
  | 
  |  * @ejb.finder
  |  *signature=java.util.Collection findByTaskId(java.lang.Long taskid)
  |  *query=SELECT DISTINCT OBJECT(o) FROM Task o WHERE o.taskid = ?1
  |  *description=
  |  * @jboss.query
  |  *description=This generates jboss-ql and overwrites the original 
query 
  |  *signature=java.util.Collection findByTaskId(java.lang.Long taskid)
  |  *query=SELECT DISTINCT OBJECT(o) FROM Task o WHERE o.taskid = ?1
  |  *  eager-load-group=modules
  |  *  strategy=on-find
  |  *  page-size=200

Add added @jboss.load-group name=modules to my getter methods

but still I don't see any cache/optimization happening with my sql queries, 
issue persists

I have also removed the readonly attribute that I had set to the getter methods.

How to use the read-ahead attribute?



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

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


[jboss-user] [EJB 3.0] - EJB parser

2007-02-14 Thread dromanyuk100
Hi

I need EJBQL parser to convert EJBQL queries to Java Objects.
What is the best solution for this?
It will be great if there's a freeware solution, but payware is OK also.

Thanks.


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

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


[jboss-user] [JBoss Seam] - Re: anyone success with seam-gen war to portal ?

2007-02-14 Thread codelion
Jarkko,

You have mentioned in a past posting you got it to work.  Can you share a 
working project?

If your project is confidential, I'd suggest make a super simple table, e.g. 
(Oracle example)

CREATE TABLE THINGS
  | (
  |ID VARCHAR(30) PRIMARY KEY not null,
  |TITLE VARCHAR(100) not null,
  |DESCRIPTION VARCHAR(200) not null
  | )

then run seam setup (I tell it not to use existing tables at first, but I guess 
you could; also I've tested it for both .ear and .war), then run seam 
new-project, then run seam generate-entities (which you might not have to if 
you tell it to use existing tables at first).

You can test it by running ant for it to deploy.

I'd be happy to assist over IM or screen sharing to get to this point.

Then you'd have a project you can turn into a portlet.

Once you have it working you can probably email a source archive, or if anyone 
here makes a JIRA issue, submit as attachment to a comment.

I'd be happy to analyze your creation and document it, fit for Seam reference 
or Wiki, if that's ok with you, assuming you don't have time to do that.

- Leo

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

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


[jboss-user] [JBossCache] - Re: Performance expectations

2007-02-14 Thread mvlior
Oh... I must have checked in the wrong place then.

I understand that with optimistic locking, these are the results to expect,
please correct me if I'm wrong.

Thank you.


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

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


[jboss-user] [JBossCache] - Re: Where should I initialize/shutdown TreeCache?

2007-02-14 Thread ottuzzi
Hi there,

thanks for your interest :)
I'm using BEA Weblogic 8.1 with JDK1.4.2 on Solaris 9.

Bye
Piero

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

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


[jboss-user] [JBossCache] - Re: High CPU usage in Weblogic 8.1

2007-02-14 Thread ottuzzi
Hi,

well it looks like our environment is running with JVM hotspot CLIENT instead 
of SERVER.
As soon as it will switch to SERVER hotspot I'll let you know how much CPU is 
using really.

As a side note I already setted logging at DEBUG level and JGroups is logging 
as expected... some messages when it sweeps cache... nothing more to seem 
suspicious at my eyes.

Thanks
Bye
Piero

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

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


[jboss-user] [JBoss jBPM] - JBPM 3.1.4 tutorial examples not working in JBPM 3.2b2?

2007-02-14 Thread efip10
Hi,

I'm trying to run a proof-of-concept project using jBPM 3.2 beta2.

When running an (included in 3.1.4 but omitted from 3.2b2) HelloWorldDbTest, I 
get the following exception:

org.jbpm.JbpmException: no jbpm tx service configured
  | at 
org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly(DbPersistenceService.java:317)
  | at 
org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:220)
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:170)
  | at org.jbpm.svc.Services.close(Services.java:222)
  | at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  | at 
org.jbpm.tutorial.db.HelloWorldDbTest.deployProcessDefinition(HelloWorldDbTest.java:138)
  | at 
org.jbpm.tutorial.db.HelloWorldDbTest.testSimplePersistence(HelloWorldDbTest.java:100)

I understand that transaction management has changed in 3.2b2, since the 
previous implementation of DbPersistenceService reads:
  public void close() {
  | if ( (session!=null)
  |   (transaction==null)
  |   (isRollbackOnly)
  |) {

and the new version reads:
  public void close() {
  | if ( (session!=null)
  |   (transaction==null)
  |   (isRollbackOnly())
  |) {

If there is something I should do to configure jbpm tx service? I can't find 
any description in the docs accompanying 3.2b2.

Thanks,

efi

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Polimorphism problem

2007-02-14 Thread przemjaskier
Polimorphism problem

** Problem: I cannot customize content of a template, depending on a type of 
returned hibernate @Entity.

** Environment: MyFaces 1.1.4, Facelets 1.1.12, Seam 1.1.6, Hibernate 3.2.1.

** Situation:
I have three Hibernate entities:
1. Item - annotated with @Inheritance(strategy=InheritanceType.SINGLE_TABLE), 
@DiscriminatorColumn, @DiscriminatorValue, @Entity
   public void getProperty();
   isExtendedFlagSet(); //returning true only when this is instance of
 //ExtendedItem below (I need such flags in 
//general)
2. ExtendedItem extends Item - annotated with @DiscriminatorValue, @Entity
   public void getExtendedProperty();
3. ItemHolder - annotated with @Entity
   Item getItem();

And an EVENT scope backer:
currentItemProvider getting ItemHolder proxies/instances from Hibernate.

And two jsf+facelets templates, which I want to render different in case when 
ItemHolder.getItem()
returns instance if ExtendedItem than when it returns instance of Item.

** My (not working completely) solution:

Using custom, render-time-if component, which renders children when 
currentItemProvider.itemholder.item.extendedFlagSet is true,
   enable fragment of page:

h:outputText value=#{currentItemProvider.itemholder.item.property}/
mycomp:renderTimeIf 
condition=#{currentItemProvider.itemholder.item.extendedFlagSet}


h:outputText 
value=#{currentItemProvider.itemholder.item.extendedProperty}/

/mycomp:renderTimeIf

1. WORKS OK, when placed in a render-time loop of ui:repeat. Different item 
appear
on a page rendered according to their isExtendedFlagSet value

2. But DOESN'T work when put in compile-time ui:decorate or direct in a 
template. I get:

SEVERE: Error Rendering View[/itemDetails.xhtml]
javax.faces.el.PropertyNotFoundException: /WEB-INF/templates/itemtemplate.xhtml 
@18,132 value=#{currentItemProvider.itemholder.item.extendedProperty}:
Bean: package.Item$$EnhancerByCGLIB$$b215fa4e, property: extendedProperty
at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58)
at javax.faces.component.UIOutput.getValue(UIOutput.java:77)
at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217)
at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:69)
at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:57)
at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)


** Question: how to deal with such instance-dependent customization? I have a 
huge, complex domain (above is only a simplified illustration)
and would gladly stay with this consistent isFlasSet() approach, but if it 
should be done in a different way, please suggest.

Regards,
Przemek

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

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


[jboss-user] [EJB 3.0] - LockModeType.WRITE NPE

2007-02-14 Thread Uniman
We were investigating a problem in our application where we had a situation in 
which we needed LockModeType.WRITE - but we ran into troubles with it. 
Therefore I created a small test session and a simple entitybean with an id, 
name and description field.
We are using JBoss 4.0.5.GA as obtained through the forum.

Session bean code;
public void modThingy(Thingy thingy) {
  | Thingy dbThingy = manager.find(Thingy.class, thingy.getId());
  | dbThingy.setDescription(thingy.getDescription());
  | manager.lock(dbThingy, LockModeType.READ);
  | manager.persist(dbThingy);
  | }
We can add and delete entitybeans through the session bean, but as soon as we 
try to use the modify method on the SB, which contains the write lock 
statement, we get the NPE.
Exception in thread main javax.ejb.EJBException: 
java.lang.NullPointerException
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 
  | ...
  | 
  | Caused by: java.lang.NullPointerException
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.lock(AbstractEntityPersister.java:1290)
  | at 
org.hibernate.event.def.AbstractLockUpgradeEventListener.upgradeLock(AbstractLockUpgradeEventListener.java:88)
  | at 
org.hibernate.event.def.DefaultLockEventListener.onLock(DefaultLockEventListener.java:64)
  | at org.hibernate.impl.SessionImpl.fireLock(SessionImpl.java:584)
  | at org.hibernate.impl.SessionImpl.lock(SessionImpl.java:576)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.lock(AbstractEntityManagerImpl.java:375)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManager.lock(TransactionScopedEntityManager.java:101)

I already found the following posts from half a year ago on this problem;
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940780#3940780
http://www.jboss.com/index.html?module=bbop=viewtopicp=3961545#3961545

If I remove the manager.lock() statement, no exceptions are thrown. If I 
replace the LockModeType.WRITE with a LockModeType.READ - also no exceptions 
are thrown.

Is this still a known problem in JBoss 4.0.5.GA ?
If yes, is there any plan on resolving this issue ?
Are there alternatives for using LockModeType.WRITE ?

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

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


[jboss-user] [Security JAAS/JBoss] - Re: form based authentication not working under JBoss 4.0.5

2007-02-14 Thread wonker
The problem was that the FormAuthenticator class under 3.2.5 used a 
Response.sendRedirect() to get me to my login page, which issues a 302.

Whereas under 4.0.5, the class uses RequestDispatcher.forward() to get me to 
the login page, which issues no such 302, therefore causing me to have a 404 
error on form submission.

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

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


[jboss-user] [JBoss Seam] - Re: pagination control (10.3) missing transaction

2007-02-14 Thread baz
Finally i have found the reason:
anonymous wrote :@Transactional
  |@Override
  |public Long getResultCount()
  |{
  |   if (resultCount==null || isAnyParameterDirty())
  |   {
  |  org.hibernate.Query query = createCountQuery();
  |  resultCount = query==null ? 
  |null : (Integer) query.uniqueResult();
  |   }
  |   return resultCount.longValue();
  |}
  | 
query.uniqueResult returns a Long value. If resultcount is changed to Long 
(instead of Integer) all is well.

For this i used the cvs version from yesterday. I had to disable page security 
for my tests. ( tag in pages.xml) Because of an, for me, unknown reason all 
access to my pages are forbidden.
So i cant't use this seam library for my app.:-( Waiting for a new release 
fixing my problem.
Ciao,
Carsten
BTW: i have reopened the corresponding JIRA issue

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

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


[jboss-user] [JBoss/Spring Integration] - classpath problem: jboss-spring.xml + ejb module

2007-02-14 Thread bucegiomu
Hi, 
In an EAR, I have an EJB module containing an EJB facade and lots of classes 
below it and I would like to use InjectionInterceptor in the classes below the 
facade. Is there a way to have the ejb module recognized as both ejb and spring 
module? The point is that I do not want to refactor out all classes involved in 
this spring injection in a separate .spring module, but still I would like to 
use this spring deployer from Ales Justin. I tried to externalize only the 
jboss-spring.xml in a .spring jar declared in the application.xml (where the 
ejb module involved is also declared), but the spring is not seeing the classes 
in the ejb module:

  | module
  | javaadmin-ejb.spring/java
  | /module
  | module
  | ejbadmin-ejb.jar/ejb
  | /module
  | 
Also I tried to rename the EJB module to have the .spring extension (and of 
course having updated the application xml like in the listing below) and 
keeping the jboss-spring.xml in the EJB module (instead of being in a separate 
jar), but in this case the EJB is not deployed anymore:

  | module
  | ejbadmin-ejb.spring/ejb
  | /module
  | 
Any ideas?


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

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


[jboss-user] [EJB 3.0] - Embeddable JBoss

2007-02-14 Thread apill
Please could you give a wrough estimate of when we are likely to see a release 
for the new Embeddable JBoss?

i.e. Next week, in a few weeks, 1 month, 3 months, 6 months, 1 year?

Thank you very much.
Adrian

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

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


[jboss-user] [JBoss jBPM] - Re: Process Designer Plugin for Eclipse Download Broken

2007-02-14 Thread [EMAIL PROTECTED]
Hi James,

Try this link : 
http://downloads.sourceforge.net/jbpm/jbpm-jpdl-designer-3.0.13.zip.
I will update the link on the download page. Thanks for reporting.

Regards,
Koen

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

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


[jboss-user] [Management, JMX/JBoss] - Re: How do force the module org.jboss.ejb.EjbModule to be de

2007-02-14 Thread [EMAIL PROTECTED]
If your mbean service fails with an exception in the start method, then jboss 
will assume it has FAILED and so all dependend mbeans (including the EJB 
container) will never start.

Normally we don't manually call stop() after a failled start().



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

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


[jboss-user] [Messaging, JMS JBossMQ] - PHP JBossMQ

2007-02-14 Thread webbman

Can php scripts send and receive messages from JBossMQ?
If yes, HOW? I would appreciate pointers to documentation about 
this. I have googled without much success and the JBoss wiki doesn't
seem to address this. Having not seen any specific info about this, 
i suspect this is not possible, hopefully that is incorrect!

Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: Choosing JBPM?

2007-02-14 Thread kukeltje
define to monitor the processes  in more detail. Look at 3.2 webconsole there 
are already some things in there.

BPEL or JPDL depends on what you want to achieve. The console works for both

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: PHP JBossMQ

2007-02-14 Thread [EMAIL PROTECTED]
You may want to have a look at 

http://www.onjava.com/pub/a/onjava/2004/10/27/php-jms.html

Since PHP is just a scripting engine as long as you have some library or 
thirdparty 'middle man' brokering the communication between you and the JMS 
provider you should be all set. 

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: PHP JBossMQ

2007-02-14 Thread [EMAIL PROTECTED]
Also here

http://sourceforge.net/projects/phpmq/

Both use MantaRay under the hood. 



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

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


[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-14 Thread kukeltje
There is a preview option you know and you'll be surprised what other 
functionality you will find there. (tags for inserting code e.g.)

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

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


[jboss-user] [JBoss jBPM] - Re: Choosing JBPM?

2007-02-14 Thread angra81
I mean process monitoring as having a web interface (implemented with flash, 
or ajax, or others) where I can see, at run time, the evolution of objects  
each time that they receive a web service of my business process. This 
evolution might be represented by icons colors, or icons changes, or something 
like this...

If it's not clear, that which I desire is to implement something like ILog 
jViews, and here you can see a demo:
http://pardemo02.ilog.fr/wfthc/?CFID=7582251CFTOKEN=20943353

I want to implement something like this. 

Is it feasible?

Thanks, 
Dario

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

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


[jboss-user] [JBoss jBPM] - Re: Choosing JBPM?

2007-02-14 Thread kukeltje
This is partly what I meant with define 'process monitoring The thing is that 
it can be looked at so broadly that not everything you want is in there. If 
with the evolution of objects yuou mean the processvariables etc then 
yes, that is in there

The ILogs demo is an example of such broad functionalty that some more detail 
is needed

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

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


[jboss-user] [JBoss jBPM] - Is it possible to clear the Process/Task list ?

2007-02-14 Thread francis1970
Hi all,
I'm testing jBPM samples. The problem I have is that I have now a huge Task 
list because I'm starting lots of sample processes/task.

I'd like to know if there's a shortcut to clear all the Task list so that I can 
start with a clean state ?

thanks
Francis

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

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


[jboss-user] [JBoss jBPM] - Re: Multiple Business Calenders

2007-02-14 Thread kukeltje
suggesting it can always be done. whether it will be honored I don't know.

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

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


[jboss-user] [EJB/JBoss] - Problm while calling EJB

2007-02-14 Thread murthy_j2ee
Hi Everybody,
   I am new to deploy EJB in JBOSS Application Server. I am succeeded to 
run configur JAAS in my JBOSS and abeled to run 

it successfully. I have created my own Login Module and abled to authenticate 
it successfully by retreving the username and 

password from database using. Now i want to call an ejb from login module 
instead of calling database directly. When i am 

calling the Remote Ejb to get the instance of EjbBean i am getting the 
exception like Insufficient method permissions, 

principal=null, ejbName=UserAuthentication_Session, method=create, 
interface=HOME, requiredRoles=[], principalRoles=[]

Here is the configurations in xml files

ejb-jar.xml
   
   
ejb-jar 
   enterprise-beans
  
 UserAuthentication_Session
 ejb-nameUserAuthentication_Session/ejb-name
 
com.prospecta.WSOProject.User_Authentication.ejb.UserAuthentication_SessionHome
 
com.prospecta.WSOProject.User_Authentication.ejb.UserAuthentication_Session
 
ejb-classcom.prospecta.WSOProject.User_Authentication.ejb.UserAuthentication_SessionBean/ejb-class
 session-typeStateless/session-type
 transaction-typeBean/transaction-type
  
  /enterprise-beans
/ejb-jar
-
jboss-web.xml

 jboss-web
 ejb-ref
ejb-ref-nameUserAuthentication_Session/ejb-ref-name
jndi-nameUserAuthentication_Session/jndi-name
 /ejb-ref
 /jboss-web
   --
   jboss.xml 
 
   
   
enterprise-beans

  
 ejb-nameUserAuthentication_Session/ejb-name
 jndi-nameUserAuthentication_Session/jndi-name
  

   /enterprise-beans

   resource-managers
   /resource-managers
   

---
   web.xml
 
   web-app
ejb-ref
ejb-ref-nameUserAuthentication_Session/ejb-ref-name
ejb-ref-typeThis is SESSION /ejb-ref-type

com.prospecta.WSOProject.User_Authentication.ejb.UserAuthentication_SessionHome

com.prospecta.WSOProject.User_Authentication.ejb.UserAuthentication_Session
ejb-linkUserAuthentication_Session/ejb-link
/ejb-ref
   /web-app

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

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


[jboss-user] [EJB/JBoss] - Problem with the REQUIRED transaction attribute

2007-02-14 Thread warx
Hello everybody,

i have a problem, the application I am working on.
The database access is managed by Session EJB.
So, if the user needs some data He/She calls a method of a Session EJB which 
calls some DAO and returns to the user a Collection of data.
The application worked well until some users started to use it a alot.
So, the situatio is :

- An user A calls a method of the Session EJB which calls some DAO to 
  perform some SELECT queries on the table TEST

- While the user A is doing its job an user B calls a method of the same 
  Session EJB to perform an INSERT query on the table TEST

The result is that the table TEST has a DEADLOCK, because it seems that the 
method which performs the SELECT queries LOCKS the table TEST.
We have this kind of behavoiur because every method of the Session EJB is 
marked as Transaction REQUIRED.
So, what is the right transaction attribute to specify on the methods of the 
Session EJB for not to generate the DEADLOCK problem ?
Any suggestion ?
Cheers.

 Stefano







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

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


[jboss-user] [JBoss Seam] - Re: Advise needed: Conversations vs. navigation menu

2007-02-14 Thread petemuir
Just make sure that a navigation doesn't propagate the conversation (remember 
non-Faces requests don't, or use an s:link with propagation=none).

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: PHP JBossMQ

2007-02-14 Thread webbman

Thanks weston.price. Essentially phpmq is a php client which i assume
was has been developed in sympathy to MantaRay but can work with
other brokers. I have two concerns about this client. Firstly, the last
release was in 2004 and it does not have a significant user community, i.e. bug 
discovery/fixing.

Secondly, need to use selectors for topics and this feature doesn't seem
to be available from the documentation. 

Does anybody know of a php client used by the JbossMQ community?

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

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


[jboss-user] [JBoss Seam] - Re: Remoting - Progress Indicator?!

2007-02-14 Thread mugwump
hmm, yes, that is almost what I need - apart from the fact, that there is 
nothing on the server, that can be monitored: It's the data that takes 
reasonable time to download: I guess I'll have to break down the collection I 
download into chunks and load them in these smaller pieces - I can then show a 
progresbar based on the number of chunks already downloaded vs. the whole 
number of chunks. 

I'm not sure, if anybody else has these problems (loading bigger sets of data 
via remoting), then it would maybe make sense to generalize this approach...

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

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


[jboss-user] [JBoss Seam] - Re: Advise needed: Conversations vs. navigation menu

2007-02-14 Thread wenzlaff
Thx for your reply, I will try your suggestion, although it won't be that easy 
since I'm using tomahawks panelNavigation.
But since the conversation doesn't explicitly end this way, won't the next 
conversation that starts on a different overview cause an error?

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

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


[jboss-user] [JBoss/Spring Integration] - Re: classpath problem: jboss-spring.xml + ejb module

2007-02-14 Thread alesj
What about if you just put -spring.xml file in the .ear root?

 but the spring is not seeing the classes in the ejb module
What do you get? NoClassFoundEx?


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Polimorphism problem

2007-02-14 Thread przemjaskier
Wrong forum. Sorry, I don't know how it hit here

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

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


[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-14 Thread jbmp user
Ronald, you answer don't help me with the type of variable

Please, I need help with the type of variable. For example, I have a variable 
of type varchar, why can I write numbers???

thank you!!!

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

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


[jboss-user] [JBoss Seam] - Polimorphism problem :(

2007-02-14 Thread przemjaskier
 ** Problem: I cannot customize content of a template, depending on a type of 
returned hibernate @Entity. 

** Environment: MyFaces 1.1.4, Facelets 1.1.12, Seam 1.1.6, Hibernate 3.2.1. 

** Situation: 
I have three Hibernate entities: 
1. Item - annotated with @Inheritance(strategy=InheritanceType.SINGLE_TABLE), 
@DiscriminatorColumn, @DiscriminatorValue, @Entity 
public void getProperty(); 
isExtendedFlagSet(); //returning true only when this is instance of 
//ExtendedItem below (I need such flags in 
//general) 
2. ExtendedItem extends Item - annotated with @DiscriminatorValue, @Entity 
public void getExtendedProperty(); 
3. ItemHolder - annotated with @Entity 
Item getItem(); 

And an EVENT scope backer: 
currentItemProvider getting ItemHolder proxies/instances from Hibernate. 

And two jsf+facelets templates, which I want to render different in case when 
ItemHolder.getItem() 
returns instance if ExtendedItem than when it returns instance of Item. 

** My (not working completely) solution: 

Using custom, render-time-if component, which renders children when 
currentItemProvider.itemholder.item.extendedFlagSet is true, 
enable fragment of page: 

h:outputText value=#{currentItemProvider.itemholder.item.property}/ 
mycomp:renderTimeIf 
condition=#{currentItemProvider.itemholder.item.extendedFlagSet} 


h:outputText value=#{currentItemProvider.itemholder.item.extendedProperty}/ 

/mycomp:renderTimeIf 

1. WORKS OK, when placed in a render-time loop of ui:repeat. Different item 
appear 
on a page rendered according to their isExtendedFlagSet value 

2. But DOESN'T work when put in compile-time ui:decorate or direct in a 
template. I get: 

SEVERE: Error Rendering View[/itemDetails.xhtml] 
javax.faces.el.PropertyNotFoundException: /WEB-INF/templates/itemtemplate.xhtml 
@18,132 value=#{currentItemProvider.itemholder.item.extendedProperty}: 
Bean: package.Item$$EnhancerByCGLIB$$b215fa4e, property: extendedProperty 
at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58) 
at javax.faces.component.UIOutput.getValue(UIOutput.java:77) 
at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217)
 
at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:69)
 
at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:57)
 
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) 


** Question: how to deal with such instance-dependent customization? I have a 
huge, complex domain (above is only a simplified illustration) 
and would gladly stay with this consistent isFlasSet() approach, but if it 
should be done in a different way, please suggest. 

Regards, 
Przemek

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal LDAP Setup

2007-02-14 Thread bdaw
Not sure how you set up this. For 2.6 just use instructions from wiki
http://wiki.jboss.org/wiki/Wiki.jsp?page=Identity_and_Authentication_in_JBoss_Portal_2_6
or wait few days for Beta with a bit more helpfull documentation in Reference 
Guide

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - JBoss Eclipse IDE Hibernate Code Generation

2007-02-14 Thread grdzeli_kaci
hi all. 
I have one problem.

I've installed Linux OS on my computer SUSE LINUX 10.1 (i586),
i know Ejb(Ejb3) and jsf wery vell, but I'm a beginner into Seam Framework, i 
like its ideas and i think to learn it.

first, i fount that jboss eclipse ide can generate such ejb3 anotations as 
standart jsp pages and seam templates.

i tryed to use it, but none of this eclipse and ide tool version did not work 
properly.
i tryed this versions: 
 eclipse Versions :3.2.0, 3.2.1.
 Eclipse Ide Versions1.6.0.GA, 2.0 beta

but on windows os hibernate code generation can generate everything without 
seam template. if i checked seam template generation i got an error sach means 
here pos

seam skeleton templates does not support composite keys yet.
here is post about this problem :

http://www.jboss.com/index.html?module=bbop=viewtopict=84938
but max said 

anonymous wrote : yes, the seam app skeleton in hibernate tools has been 
discontinued and now part of seam it self as the tool called seam-gen (with 
alot of improvements)

can anybody give me eclipse and jboss ide url from i can download them, and it 
could be work correctly ?
i need these for SUSE LINUX 10.1 (i586), i've already download 10 versions of 
eclipse and some versions of jboss eclipse ide.


Regards,
Paata.



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

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


[jboss-user] [JBoss Portal] - Re: How to get UserName or Password or Profile

2007-02-14 Thread bdaw
Depends on which version you are using. In 2.4 you can obtain a User object 
from UserModule and ivestigate it's properties. In 2.6 you can use 
UserProfileModule

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

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


[jboss-user] [JBoss jBPM] - Re: Choosing JBPM?

2007-02-14 Thread angra81
Actually I'm just starting in using business processes, jbpm, and all this, and 
I'm exploring the solutions, so I'm sorry if I place stupid questions... :)

Well, I try to explain better.
Firstly, my objects are documents (application forms, motivation letters, CV, 
etc...)
Imagine a document to have to be validated by somebody. The validation is made, 
in my system, by a web service.
In my interface I want to see, e.g., the scenario of the web services, an icon 
(representing the service which has validated the document) which change color 
for a moment when the object document is validated, and some additional 
information (the name of the document, or the history of the services received 
in the scenario by the documents, etc...).
My interface will be a web interface, I repeat, and I want to see all this in 
an animation in a web page (made using flash, jsp, applet, ajax, etc). 

I think that I can do it if you tell me that I can see (and use) the process 
variables, isn't it?

Thanks,
Dario

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Newbie question on accessing Remote Bean through JNDI

2007-02-14 Thread michaelcourcy
Trying the trailblazer tutorial, it looks like I did few mistakes

If I get the object locally I should run this code 

  | public void jspInit () {
  | try {
  |   InitialContext ctx = new InitialContext();
  |   cal = (Calculatrice) ctx.lookup(
  |   EJB3Trail/CalculatriceBean/local);
  | } catch (Exception e) {
  |   e.printStackTrace ();
  | }
  |   }
  | 

This code work fine in Trailblazer, but it still fail if I try to do it in my 
own app.

So I try to see the difference between my app and trailblazer and the only 
noticeable thing I can see so far is in jbaoss-app.xml


  | jboss-app
  | loader-repository
  | trailblazer:app=ejb3
  |   /loader-repository
  | /jboss-app
  | 

loader-repository is explained nowhere and I can't understand the choice of 
trailblazer.

I really appreciate some little explanation or link on  loader-repository.

Thanks




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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE Hibernate Code Generation

2007-02-14 Thread grdzeli_kaci
now i'm downloading this :

JBossIDE-2.0.0.Beta2-Bundle-linux-gtk.tar.gz

maybe this work correctly.

and i forget if seam app skeleton in hibernate tools has been discontinued 
which version i must get from hibernate?
or maybe there is some configuration, i don't know.

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

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


[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-14 Thread kukeltje
jbpm does not check this, if you do not fill the wariable on process startup. 
The ui should (for the moment) check this (lots of discussion on this in the 
forum, open issue in the jira etc... so there is lots of info on this if you 
SEARCH for it)



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

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


[jboss-user] [JBoss Portal] - Building JBoss Portal 2.4.1 on SLES 10

2007-02-14 Thread nils_kassube
Guten Tag.

I'm trying to build the souce release (fetched as tarball from SourceForge, not 
via CVS) on SuSE Linux Enterprise Server 10. 

/bin/ant is refered (why?) somewhere in the build scripts, so let's ln -s 
/usr/bin/ant to /bin/ant. Then:

pentaho:~/jboss-portal-2.4.1-src/build # sh build.sh
: command not found2.4.1-src/tools/bin/common.shlib: line 7:
: command not found2.4.1-src/tools/bin/common.shlib: line 9:
'root/jboss-portal-2.4.1-src/tools/bin/common.shlib: line 11: syntax error near 
unexpected token `{
'root/jboss-portal-2.4.1-src/tools/bin/common.shlib: line 11: `{
xset:  unable to open display 
xset:  unable to open display 
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 38: check_os: command not 
found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 40: convertpath: command 
not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 41: convertpath: command 
not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 42: debug: command not 
found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 43: debug: command not 
found
xset:  unable to open display 
xset:  unable to open display 
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 53: convertpath: command 
not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 54: debug: command not 
found
xset:  unable to open display 
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 62: debug: command not 
found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 67: maybe_source: command 
not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 70: [: =: unary operator 
expected
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 94: debug: command not 
found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 107: die: command not 
found
xset:  unable to open display 
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 120: debug: command not 
found
xset:  unable to open display 
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 133: debug: command not 
found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 136: notice: command not 
found
Buildfile: build.xml does not exist!
Build failed
--cut-- 

Calling ant directly also doesn't work. The error message:

BUILD FAILED
/root/jboss-portal-2.4.1-src/tools/etc/buildfragments/buildmagic.ent:256: The 
following error occurred while executing this line:
/root/jboss-portal-2.4.1-src/tools/etc/buildfragments/buildmagic.ent:349: Could 
not create task or type of type: depend.

Ant could not find the task or a class this task relies upon.

Cheers,
Nils

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

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


[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-14 Thread jbmp user
thank you ronald.
but I am use the app of example (http://localhost:8080/jbpm)
how can I modify it to check this?? what class or page .jsp??

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

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


[jboss-user] [JBoss Seam] - Re: problem passivation thread: ConcurrentModificationExcept

2007-02-14 Thread lowecg2004
Finally realised what was going on with this.

I had a LoginAction:

@Stateful
  | @Scope(ScopeType.EVENT)
  | public class LoginAction implements Login, Serializable
  | {
  |   @Out
  |   SessionTimeoutHander sessionTimeoutHander;
  | 
  |   ...
  | 
  |   public String login() {
  | ...
  | 
  | sessionTimeoutHander = Component.getInstance(sessionTimeoutHander);
  | 
  | ...
  |   }
  | }

If a user had made a successful login twice within the same HTTP session (e.g. 
login, hit back button, login again - surprisingly, this scenario shows up 
quite a lot in my access logs!), the call to getInstance() would introduce a 
duplicate object.  When the SFSB destruction code ran, I got the 
ConcurrentModificationException.

The solution was to handle the creation of the sessionTimeoutHandler using a 
regular @In(create=true) against sessionTimeoutHandler and remove the call to 
getInstance().  I was assuming that my code above was equivalent to 
@In(create=true), but clearly it is not.

Although there was no apparent problem in my application, because of exception 
raised during the SFSB clean-up there may be a potential memory leak situation 
since EJB3 cannot successfully destroy objects. The exceptions were recurring 
which would suggest that the objects are being held onto which supports this 
theory.

Hope this helps,

Cheers,

Chris.

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

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


[jboss-user] [JBoss Seam] - Re: Advise needed: Conversations vs. navigation menu

2007-02-14 Thread petemuir
well, as long as the navigation item will take an f:param you can do it that 
way (see the Seam ref docs).

You can have more than one conversation running at once, you just can't have 
more than one active conversation!

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

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


[jboss-user] [JBoss jBPM] - Re: Is it possible to clear the Process/Task list ?

2007-02-14 Thread kukeltje
clear the database?

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

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


[jboss-user] [JBoss Messaging] - Re: Receiving IllegalStateExceptions in client

2007-02-14 Thread timfox
This has come up several times before, and if I remember correctly, almost 
every time has been due to people sharing the session between multiple threads.

JMS sessions are supposed to be used by only one thread at a time so this would 
be illegal.

Can you confirm you're not doing stuff with the session with multiple threads 
at the same time?

E.g. two consumers on the same session, and calling consumer.receive(..) in 
different threads, or two producers on the same session and sending conurrently 
on different threads?

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

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


[jboss-user] [JBoss Messaging] - Re: Receiving IllegalStateExceptions in client

2007-02-14 Thread timfox
See JMS1.1 spec section 4.4, especially 4.4.6, e.g.:

Sessions are designed for serial use by one thread at a time. The only 
exception
to this occurs during the orderly shutdown of the session or its connection. See
Section 4.3.5 ?Closing a Connection,? and Section 4.4.1 ?Closing a Session,? for
further details.
One typical use is to have a thread block on a synchronous MessageConsumer
until a message arrives. The thread may then use one or more of the session?s
MessageProducers.
It is erroneous for a client to use a thread of control to attempt to
synchronously receive a message if there is already a client thread of control
waiting to receive a message in the same session.

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

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


[jboss-user] [JBoss Messaging] - Re: Receiving IllegalStateExceptions in client

2007-02-14 Thread timfox
http://www.jboss.com/index.html?module=bbop=viewtopict=98881view=previous

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

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


[jboss-user] [JBoss jBPM] - Re: LDAP AND JBPM

2007-02-14 Thread kukeltje
you can't 'configure' it currently. Some things are hardcoded. The identity 
module is not a real service (yet). Search the forum for this and the jira. 
More info in there.

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

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


[jboss-user] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file.

2007-02-14 Thread [EMAIL PROTECTED]
Delegation to JAXB is supported in jbossws-1.2.0, which should come out any day 
now.

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

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


[jboss-user] [JBoss jBPM] - Re: Error testing Hello World BPEL on JBoss 4.0.5

2007-02-14 Thread frostp
Hi all,

Problem solved.


Basically if I 
set ANT_OPTS=-Djava.endorsed.dirs=...\jboss-4.0.4.GA\lib\endorsed 
-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0
then the Hello World example works fine. I also found the serialVersionUID 
resolution on this forum.

I now have the following setup:

  | - jdk1.5.0_11 (definitely the only version installed)
  | - jboss-4.0.4.GA
  | - jbpm-bpel-1.1.beta3
  | 
  | 
  | Doubtless I will add jwsdp-2.0 again at some point soon.
  | 
  | Now all I need to do is write my own process?!
  | 
  | Thanks for the help.
  | 
  | Phil

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

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


[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database

2007-02-14 Thread pbrewer_uk
How would a subclass of org.jboss.seam.core.ResourceBundle be annotated in this 
case - are the annotations below correct?

Also, would some extra configuration in components.xml be required too?

ExtendedResourceBundle.java

  | ...
  | @Scope(ScopeType.SESSION)
  | @Intercept(NEVER)
  | @Name(org.jboss.seam.core.resourceBundle)
  | @Install(precedence=BUILT_IN)
  | public class ExtendedResourceBundle extends 
org.jboss.seam.core.ResourceBundle 
  | ...  
  |   @Override
  |   protected ResourceBundle loadBundle(String bundleName) {
  | try {
  |   ResourceBundle bundle =
  |   ResourceBundle.getBundle(bundleName,
  |   Locale.instance(),
  |   Thread.currentThread().getContextClassLoader(),
  |   DBControl.INSTANCE);
  |   LOG.debug(loaded resource bundle:  + bundleName);
  |   return bundle;
  | } catch (MissingResourceException mre) {
  |   LOG.debug(db resource bundle missing:  + bundleName);
  |   return super.loadBundle(bundleName);
  | }
  |   }
  | ...  
  | }
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Building JBoss Portal 2.4.1 on SLES 10

2007-02-14 Thread [EMAIL PROTECTED]
You can try to either:
1 - put the ant libraries from tools/lib to your ant lib directory and you ant 
like you tried.
*or* 
2 - use the embedded one, unfortunately few things are not done right in this 
package and need a fix, go to the build directory and type the following 
commands:

  | cd ~/jboss-portal-2.4.1-src/build
  | dos2unix build.sh
  | dos2unix ../tools/bin/common.shlib
  | chmod u+x  ../tools/bin/ant
  | dos2unix ../tools/bin/ant
  | sh build.sh
  | 

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

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


[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database

2007-02-14 Thread petemuir
Not quite

ExtendedResourceBundle.java

  | ...
  | @Name(org.jboss.seam.core.resourceBundle)
  | public class ExtendedResourceBundle extends 
org.jboss.seam.core.ResourceBundle 
  | ...  
  |   @Override
  |   protected ResourceBundle loadBundle(String bundleName) {
  | try {
  |   ResourceBundle bundle =
  |   ResourceBundle.getBundle(bundleName,
  |   Locale.instance(),
  |   Thread.currentThread().getContextClassLoader(),
  |   DBControl.INSTANCE);
  |   LOG.debug(loaded resource bundle:  + bundleName);
  |   return bundle;
  | } catch (MissingResourceException mre) {
  |   LOG.debug(db resource bundle missing:  + bundleName);
  |   return super.loadBundle(bundleName);
  | }
  |   }
  | ...  
  | }
  | 

and no config in components.xml

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen error

2007-02-14 Thread pbrewer_uk
I can confirm that the current cvs fixes the issue I was encountering.

Unfortunately, now it gets a bit further and fails. Any ideas on this one?

Cheers, Pete.

The ant output is listed below:

  | ...
  | [hibernate] 14-Feb-2007 11:44:37 org.hibernate.tool.Version clinit
  | [hibernate] INFO: Hibernate Tools 3.2.0.b9
  | [hibernate] 2. task: generic exportertemplate: view/list.xhtml.ftl
  | 14-Feb-2007 11:44:39 
org.hibernate.connection.DriverManagerConnectionProvider close
  | INFO: cleaning up connection pool: jdbc:oracle:thin:@jspc:1521:XE
  | [hibernate] 3. task: generic exportertemplate: view/view.xhtml.ftl
  | [hibernate] 4. task: generic exportertemplate: view/view.page.xml.ftl
  | 
  | BUILD FAILED
  | java.lang.StackOverflowError
  | at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225)
  | at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
  | at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
  | at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
  | at org.apache.tools.ant.Main.runBuild(Main.java:668)
  | at org.apache.tools.ant.Main.startAnt(Main.java:187)
  | at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
  | at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
  | Caused by: java.lang.StackOverflowError
  | at java.lang.reflect.Method.hashCode(Method.java:370)
  | at java.util.HashMap.get(HashMap.java:300)
  | at 
freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:234)
  | at freemarker.ext.beans.BeanModel.get(BeanModel.java:177)
  | at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
  | at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
  | at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86)
  | at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
  | at freemarker.core.Expression.isTrue(Expression.java:138)
  | at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.MixedContent.accept(MixedContent.java:92)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
  | ** stack repeats this section: **
  | at freemarker.core.Environment.visit(Environment.java:351)
  | at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.MixedContent.accept(MixedContent.java:92)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.Environment.include(Environment.java:1375)
  | at freemarker.core.Include.accept(Include.java:155)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.MixedContent.accept(MixedContent.java:92)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.MixedContent.accept(MixedContent.java:92)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.MixedContent.accept(MixedContent.java:92)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
  | ** end of repeated section **
  | at freemarker.core.Environment.visit(Environment.java:351)
  | at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
  | at freemarker.core.Environment.visit(Environment.java:196)
  | 
  | Total time: 41 seconds  
  | 

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

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


[jboss-user] [JBoss Seam] - SeamTest setField work diffrent than Seam.

2007-02-14 Thread mariuszs
   
  |protected void setField(Object object, String fieldName, Object value)
  |{
  |   try
  |   {
  |  Field declaredField = 
object.getClass().getDeclaredField(fieldName);
  |  if ( !declaredField.isAccessible() ) 
declaredField.setAccessible(true);
  |  declaredField.set(object, value);
  |   }
  |   catch (Exception e)
  |   {
  |  throw new IllegalArgumentException(could not set field value:  + 
fieldName, e);
  |   }
  |}
  | 

But in Seam, there is (Iteration over class hierarchy):

  |private void initMembers(Class? clazz, Context applicationContext)
  |{
  |   ...
  |   ListField selectionFields = new ArrayListField();
  | 
  |   for (;clazz!=Object.class; clazz = clazz.getSuperclass())
  |   {
  | ...
  | 
  |  for (Field field: clazz.getDeclaredFields())
  |  {
  | 
  | }
  | }
  | 
  | 
  | 
  | 

We have problem, because we have @In parameter in superclass. SeamTest cant 
setField for this parameter.

Workaround probably is to make something like: setField((Superclass) bean, x, 
value); ;)
but this is very ugly 


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

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


[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database

2007-02-14 Thread petemuir
But beware, if you are using core:resourceBundle in components.xml, you'll need 
to change it to point at your  overridden resource bundle

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

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


[jboss-user] [JBoss Seam] - pages.xml

2007-02-14 Thread sherkan777
hello guys...

i have s:link like this 

  | s:link value=#{menuAction.bestTags[0].tagName} 
action='#{questionsAction.searchBestTag(0)}'/
  | 

and need to add redirect in pages.xml to 2 kind of pages, if outcome is succes 
go /exampleA.xhtml or failed /exampleB.xhtml, but don't know how to 
implement those navigation rule.
Can anyone help me or show source code example?
Regards!

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

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


[jboss-user] [JBoss Seam] - Seam Generator

2007-02-14 Thread grdzeli_kaci
hi all,
Seam Version : 1.1.5 GA
JBoss Version : 4.0.5 GA
Ant  Version : 1.6.2

Fierst of all i was run ./seam setup from the command line and i've configured 
everyuthing fine. I was pointed project name MyProject.

1. now when i create new project from command line 
./seam new-project MyProjectNameFromHere i got an error like this :

  | BUILD FAILED
  | Target `MyProjectNameFromHere' does not exist in this project
  | 
and into my workspace classpath created project named MyProject.
how i can create new project with difference name?

2. during ./seam setup configuration i have configured oracle database for my 
project.
i'm sure that i pointed all configs correctly.
ant when i tryed to generate entityes from command line :
./seam generate-entities

i got an error again:


  | generate-entities:
  | [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse 
engineering)
  | [hibernate] 1. task: hbm2java (Generates a set of .java files)
  | [hibernate] 15-Feb-07 4:19:03 AM org.hibernate.cfg.Environment clinit
  | [hibernate] INFO: Hibernate 3.2 cr4
  | [hibernate] 15-Feb-07 4:19:03 AM org.hibernate.cfg.Environment clinit
  | [hibernate] INFO: hibernate.properties not found
  | [hibernate] 15-Feb-07 4:19:03 AM org.hibernate.cfg.Environment 
buildBytecodeProvider
  | [hibernate] INFO: Bytecode provider name : cglib
  | 
  | BUILD FAILED
  | java.lang.NoClassDefFoundError: 
org.hibernate.bytecode.cglib.BytecodeProviderImpl
  | 
  | Total time: 3 seconds
  | [EMAIL PROTECTED]:~/InstalledPrograms/jboss-seam-1.1.5.GA
  | 

can anybody help me ?


Regards,
Paata

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

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


[jboss-user] [JBoss Portal] - Flexibility like netvibes.com in JBoss Portal Server 2.6.*

2007-02-14 Thread arkhilis
Hi,

Is it possible to have flexibility of Portlet and pages in jboss portal 2.6.* 

version as in www.netvibes.com  this site is also a hosting portal 

server and flexibility it offers its amazing. can we do the same thing with 

portal 2.6.* version

any one knows how to proceed in this direction

regards

Arkhilis

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

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


[jboss-user] [Clustering/JBoss] - Trouble getting clustering to work in a certain setup

2007-02-14 Thread heineson
Hi,

I have a problem getting clustering to work in a test environment using 
identical Jboss-configurations (4.0.4GA and JGroups 2.2.9.3) on two different 
machines (one Win XP and one Ubuntu Linux, kernel 2.6.15).

Everything works fine when I first start the JBoss on Windows and then the 
JBoss on Linux, but if I do the other way around the Windows-JBoss wont join 
the cluster and prints these messages: 

2007-02-14 12:25:14,801 INFO  [org.jboss.system.server.Server] JBoss (MX 
MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] 
Started in 26s:794ms
2007-02-14 12:25:17,536 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[172.30.153.65:34429|2] [172.30.153.65:34429, 172.30.153.46:1473, 
172.30.153.46:1484]
2007-02-14 12:25:17,536 INFO  [org.jboss.cache.TreeCache] received the state 
(size=1024 bytes)
2007-02-14 12:25:19,676 ERROR [org.jgroups.protocols.UNICAST] window_size is 
deprecated and will be ignored
2007-02-14 12:25:19,676 ERROR [org.jgroups.protocols.UNICAST] min_threshold is 
deprecated and will be ignored
2007-02-14 12:25:19,692 INFO  [STDOUT] 
---
GMS: address is 172.30.153.46:1490
---
2007-02-14 12:25:26,707 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1490) sent to 172.30.153.65:34435 timed out, retrying
2007-02-14 12:25:27,066 ERROR [org.jgroups.protocols.UNICAST] window_size is 
deprecated and will be ignored
2007-02-14 12:25:27,066 ERROR [org.jgroups.protocols.UNICAST] min_threshold is 
deprecated and will be ignored
2007-02-14 12:25:27,082 INFO  [STDOUT] 
---
GMS: address is 172.30.153.46:1493
---
2007-02-14 12:25:30,706 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[172.30.153.65:34435|2] [172.30.153.65:34435, 172.30.153.46:1486, 
172.30.153.46:1490]
2007-02-14 12:25:30,706 INFO  [org.jboss.cache.TreeCache] received the state 
(size=1024 bytes)
2007-02-14 12:25:34,112 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1493) sent to 172.30.153.65:34429 timed out, retrying
2007-02-14 12:25:40,221 ERROR [org.jgroups.protocols.UNICAST] window_size is 
deprecated and will be ignored
2007-02-14 12:25:40,221 ERROR [org.jgroups.protocols.UNICAST] min_threshold is 
deprecated and will be ignored
2007-02-14 12:25:40,237 INFO  [STDOUT] 
---
GMS: address is 172.30.153.46:1496
---
2007-02-14 12:25:43,127 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1493) sent to 172.30.153.65:34429 timed out, retrying
2007-02-14 12:25:47,267 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1496) sent to 172.30.153.65:34435 timed out, retrying
2007-02-14 12:25:52,142 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1493) sent to 172.30.153.65:34429 timed out, retrying
2007-02-14 12:25:56,282 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1496) sent to 172.30.153.65:34435 timed out, retrying
2007-02-14 12:25:57,032 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[172.30.153.65:34429|4] [172.30.153.65:34429, 172.30.153.46:1473, 
172.30.153.46:1484, 172.30.153.46:1493]
2007-02-14 12:25:57,032 INFO  [org.jboss.cache.TreeCache] received the state 
(size=1024 bytes)
2007-02-14 12:26:05,297 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1496) sent to 172.30.153.65:34435 timed out, retrying
2007-02-14 12:26:06,546 ERROR [org.jgroups.protocols.UNICAST] window_size is 
deprecated and will be ignored
2007-02-14 12:26:06,546 ERROR [org.jgroups.protocols.UNICAST] min_threshold is 
deprecated and will be ignored
2007-02-14 12:26:06,562 INFO  [STDOUT] 
---
GMS: address is 172.30.153.46:1501
---
2007-02-14 12:26:10,171 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[172.30.153.65:34435|4] [172.30.153.65:34435, 172.30.153.46:1486, 
172.30.153.46:1490, 172.30.153.46:1496]
2007-02-14 12:26:10,171 INFO  [org.jboss.cache.TreeCache] received the state 
(size=1024 bytes)
2007-02-14 12:26:13,577 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1501) sent to 172.30.153.65:34429 timed out, retrying
2007-02-14 12:26:19,686 ERROR [org.jgroups.protocols.UNICAST] window_size is 
deprecated and will be ignored
2007-02-14 12:26:19,686 ERROR [org.jgroups.protocols.UNICAST] min_threshold is 
deprecated and will be ignored
2007-02-14 12:26:19,701 INFO  [STDOUT] 
---
GMS: address is 172.30.153.46:1504
---
2007-02-14 12:26:22,592 WARN  [org.jgroups.protocols.pbcast.GMS] 
join(172.30.153.46:1501) sent to 172.30.153.65:34429 timed out, retrying
2007-02-14 12:26:26,701 WARN  

[jboss-user] [JBossCache] - Re: Distributed Hashtable and JGroups

2007-02-14 Thread [EMAIL PROTECTED]
You could use the Multiplexer, check the manual for details

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

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


[jboss-user] [JBoss Portal] - Re: Building JBoss Portal 2.4.1 on SLES 10

2007-02-14 Thread nils_kassube
Danke. Should I add a Jira issue with your solution?

Building works fine now. Using build.sh deploy or deploy-exploded to overwrite 
an existing installation based on the binary distribution didn't work but this 
is only due to name mismatches (the SAR is exploded in the binary dist but the 
deploy-exploded target uses an -exploded prefix and the standard deploy target 
of course can't overwrite the exploded SAR in the binary dist)


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

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


[jboss-user] [JBoss Seam] - Invoking a PageFlow via a Clickable Table

2007-02-14 Thread djeverson
I have having some difficulties invoking a PageFlow by clicking on a link in a 
data table.

We are using Seam 1.1.5GA running on JBoss 4.0.5.

The high level use case is that the user is presented with a data table that 
contains a number of subjects that need processing.  The user can then click on 
a link for each subject to start a registration process. 

The registration process is complex and we feel best implemented with a page 
flow.  

We have a JSF page and a simple SLSB which properly displays the initial list 
of subjects.  

On the data table, we have the following command link:

  | h:commandLink action=#{registrationWizard.startWizard(subject)}
  |  value=Register  /
  | 
  | 

We also tried a s:link as well.  

The command link invokes a separate SFSB which manages the Registration Wizard 
Conversation.  

The startWizard method looks like:

  | @Begin(pageflow=registration,join=true)
  |public void startWizard(Subject s) {
  |log.info(RegistrationWizard.startWizard[#0], s.getId());
  |this.currentSubject = s;
  |}
  | 

The registration pageflow has the following start-page

  | start-page name=start view-id=/regwiz_info.xhtml
  |   redirect/
  |   transition name=next to=regwiz002 /
  |   transition name=cancel to=cancel /
  | /start-page
  | 

I also updated pages.xml with the following:

  |   page view-id=/regwiz_info.xhtml
  | begin-conversation join=true pageflow=registration/
  |   /page
  | 

I will get the following message, even if I remove the above code from the 
pages.xml file. 

When I run the app, I am getting the following error message:

  | java.lang.IllegalStateException: pageflow is not currently at a page or 
start-page node (note that pageflows that begin during the RENDER_RESPONSE 
phase should use start-page instead of start-state)
  | 


Can someone help me understand what I am doing incorrectly?

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

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


[jboss-user] [EJB 3.0] - An global bean

2007-02-14 Thread aleksab
I'm trying to figure out how to make a statefull bean that is global. I'll 
illustrate it with an example.

There a several clients that look up a bean, ie GlobalBean. Each client sends a 
string to the bean, which the GlobalBean stores. When a client asks the 
GlobalBean for the strings, all the strings are returned.

By implementing the GlobalBean as a stateful ejb bean, the GlobalBean just 
stores the string given by a specific client, since the bean is bound to the 
session between the bean and the client.

I want to create a bean which is not bound to the session in other words. I 
could do this by Message beans, but don't want to. I suppose I could do the 
same with an entity bean, but I don't want to involve databases.

So shouldn't it be some sort of annotatio like @MakePublicAvailable which 
exposes a bean for all sessions AND is stateful??

Ideas/suggestions are appreciated. 

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

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


[jboss-user] [JBoss Seam] - learning up

2007-02-14 Thread laxu
Hi,
I am learning Seam and trying to build an app with simple small steps. I am 
trying something quite similar to Hotel Booking example. It is far plainer but 
I cannot seem to get it working.
I have an entity bean called Organization, a stateful session bean 
OrganizationAction and quite like the main.xhtml from the Booking example I 
usa an  as in:
 s:link id=viewItem value=#{item.name} 
action=#{organizationAction.selectOrganization(item)} /
and in selectOrganization method, I do assign it to the @Out marked member in 
the hope that it will show up in the next page.

  | @In(required=false) @Out
  | private Organization organization;
  | 
  | @Begin
  | public String selectOrganization(Organization selectedOrganization){
  | System.out.println(Selected org:+selectedOrganization.toString());
  | organization = em.merge(selectedOrganization);
  | return organization;
  | }
  | 

It is almost identical (even less. i don't have ajax stuff) to the Booking 
example, like selecting the hotel from the list of hotels. Everything is 
parallel. But in the navigated organization.xhtml i cannot find the 
organization object outjected. Instead, a brand new instance of Organization 
is displayed.
I must be missing something quite basic. I have tried and thrown anything into 
it to make it work and yet could not manage.
Best regards,
Levent


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

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


[jboss-user] [JBoss Portal] - Re: Is it okey to put the logic within doView method instead

2007-02-14 Thread yoyoyoyo
hi, i am interested in the same question too. particularly with myfaces, where 
we have to use a MyfacesGenericPortlet als the entry point. should i subclass 
the GenericPortlet?

thanks for any suggestion in advance!

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

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


[jboss-user] [JBoss Seam] - Re: learning up

2007-02-14 Thread laxu
BTW, I am using Netbeans, Sun Java System Application Server and Seam 1.1.6

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

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


[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

2007-02-14 Thread fernando_jmt
[EMAIL PROTECTED] wrote : path/to/my/viewId.page.xml


Suppose I have an application with thousands of .xhtml pages (which is true for 
an existing app. we have in struts and we are thinking to upgrade to Seam), it 
seems if I wanna configure them in Seam I should have thousands of 
viewId.page.xml. I think this is not a good way in this case (maybe others). 
What I want to do is to group the pages according the respective module (which 
it makes sense).

So, it seems in Seam there is no a way to do that kind of configuration.

I think you should include some way (alternative to fine grained configuration) 
which we can use to configure the configuration files we want to load.

maybe adding something like (web.xml):


  | context-param
  | !-- Seam pages Context Configuration --
  | param-nameseam.pages.CONFIG_FILES/param-name
  | param-value/WEB-INF/pages-sales.xml/param-value
  | /context-param
  | 

what do you think?

or is there another way to do this? (please tell me).


Thanks in advance.

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

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


[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

2007-02-14 Thread petemuir
I think that /path/to/my/pages.xml is a good idea (similar to 
/my/package/components.xml).  If you like this, please add a feature request to 
JIRA (Gavin may say no, but we can see ;) )

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: PHP JBossMQ

2007-02-14 Thread felipecruz
Have you considered expose a custom JBossMQ interface as a Webservice and then 
use php nusoap?

I´ve already did this with OpenJMS and Xfire.


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

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

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


[jboss-user] [JBoss Portal] - OS portal comparisons

2007-02-14 Thread Oberiko
Hello.

My company is currently redesigning our website and is interested in using a 
portal.

I'm currently sketching out a list of requirements and alternatives, but I 
can't find that much information comparing the features of the leading OS 
portal providers.

Is anyone aware of white papers or websites which do reviews / comparisons of 
the big OS portal players (JBoss, Jetspeed-2, Liferay etc.)?  I always like to 
start these things by seeing what the experts say.

Thanks, and my apologies if this is posted in the wrong place, I wasn't sure 
where to put it.

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

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


[jboss-user] [Security JAAS/JBoss] - Problem with java client - rmi over ssl

2007-02-14 Thread brave1975
hello guys,

i have configurated jboss with ssl and it works correctly.

But i have a problem with a jmx sample when i try to connect via rmi + ssl.

i create a mbean with this configuration in 
[JBOSS_HOME]\server\default\conf\jboss-service.xml


  | mbean code=org.jboss.invocation.jrmp.server.JRMPInvoker 
name=jboss:service=invoker,type=jrmp,socketType=SSL
  | attribute name=RMIObjectPort/attribute 
  | attribute 
name=RMIClientSocketFactoryorg.jboss.security.ssl.RMISSLClientSocketFactory/attribute
 
  | attribute 
name=RMIServerSocketFactoryorg.jboss.security.ssl.RMISSLServerSocketFactory/attribute
 
  |   attribute name=SecurityDomainjava:/jaas/RMI+SSL/attribute 
  | 
dependsjboss.security:service=JaasSecurityDomain,domain=RMI+SSL/depends 
  |  /mbean
  | 

the java client is:


  | ...
  | 
  | Hashtable props = new Hashtable();
  | 
  | 
props.put(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory);
 
  | 
props.put(java.naming.factory.url.pkgs,org.jboss.naming:org.jnp.interfaces);
  | props.put(java.naming.provider.url,jnp://localhost:1099);
  | 
  | MBeanServerConnection mbsc = (MBeanServerConnection) 
context.lookup(jmx/invoker/RMIAdaptor);
  | 
  | ObjectName dynMBeanName = new 
ObjectName(com.sample.jboss.jmx.mbeans:service=FormatDateActually);
  | 
  | ...
  | 

when i start the server, this error appear:

anonymous wrote : 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss:service=invoker,type=jrmp
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss:service=proxyFactory,target=ClientUserTransactionFactory
  | jboss:service=proxyFactory,target=ClientUserTransaction
  | jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 
  | ObjectName: jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss:service=invoker,type=jrmp,socketType=SSL
  | 
  | 

...and when i run the java client :

anonymous wrote : 
  | javax.naming.NameNotFoundException: invoker not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | 

could anybody help me?

thanks a lot!!


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

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


[jboss-user] [Beginners Corner] - Java Error While Trying To Access JBoss Console or The JMX C

2007-02-14 Thread dnvikram
I have installed the Java SDK 5.5 On My Windows XP Pro Desktop..Made sure the 
classpath,java_home and jboss_home variables are fine.Is it an issue with 
classpath or something else?The error says cannot find javac..why isnt it?whats 
missing here?
**
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

root cause

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

note The full stack trace of the root cause is available in the Apache 
Tomcat/5.0.26 logs.
Apache Tomcat/5.0.26

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Problem with java client - rmi over ssl

2007-02-14 Thread brave1975
I forget it... the jboss version is 4.0.5...

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

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


[jboss-user] [JBoss Seam] - Re: SeamTest setField work diffrent than Seam.

2007-02-14 Thread mariuszs
My workaround dont work. The patch for this method is attached to jira
http://jira.jboss.org/jira/browse/JBSEAM-846

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

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


[jboss-user] [JBoss jBPM] - jbpm-bpel-ds.xml for mySQL

2007-02-14 Thread fiorepaolo
Hi,

someone of you could me show an jbpm-bpel-ds.xml configured for mySQL?

Thank's in advance.

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

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


[jboss-user] [JBoss Messaging] - Re: marshalling stack trace

2007-02-14 Thread [EMAIL PROTECTED]
The forum thread is all I have right now, but I wll do a write up today and let 
you know.

Congratulations :)!

--Kurt

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen error

2007-02-14 Thread [EMAIL PROTECTED]
Dunno, find out what piece of your schema makes it choke, and show us that bit 
of the schema.

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

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


[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

2007-02-14 Thread [EMAIL PROTECTED]
Right. Add the feature request to JIRA and I will implement it.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Generator

2007-02-14 Thread [EMAIL PROTECTED]
Just seam new-project. Nothing else. You entered the project name in setup.

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

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


[jboss-user] [JBoss Seam] - Re: pages.xml

2007-02-14 Thread waheed.murad
i think, you can do it like this,

  | page view-id=/page.xhtml
  |navigation from-action=#{action.action}
  |rule if-outcome=success
  |redirect view-id=/viewA.xhtml
  |/rule
  |   rule if-outcome=failed
  |redirect view-id=/viewB.xhtml
  |/rule
  | /navigation-case
  |  /navigation-rule
  | 



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

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


[jboss-user] [JBoss Seam] - Re: Invoking a PageFlow via a Clickable Table

2007-02-14 Thread [EMAIL PROTECTED]
In this case you should use start-state, not start-page.

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

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


[jboss-user] [JBoss Seam] - Re: seam-issues sample

2007-02-14 Thread tvrtko
If you login and select a project, then go back to home screen and select the 
same project again, you will as a result get two conversations: go back to home 
to see them.

How can I change this behavior so that instead of creating a new conversation I 
end up joining the existing conversation when I select the project from project 
list?

I tried all kinds of permutations of join=true and id=#{...} on several 
@Begin annotations with no luck.

Also, help me understand, why is the Project code split into 
ProjectSelectorBean, ProjectEditorBean and ProjectFinderBean (same for issue)? 
Could it all be inside one bean or is code split into several beans because of 
different life cycles or some other reasons?

Regards,
Tvrtko

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

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


[jboss-user] [EJB/JBoss] - Probleme java/Jboss ?

2007-02-14 Thread tinico
Hello !

I'm beginer in JBoss, and for the moment, I just want to deploy EJB that I 
already have...

But, for exemple, if I use :

package org.hello.session;
  | 
  | import java.rmi.RemoteException;
  | import javax.ejb.EJBObject;
  | 
  | public interface HelloWorldSession extends EJBObject {
  |  
  | public static final String CODEP[] = {CODE, Code};
  | 
  | public String getGreeting() throws RemoteException; 
  | 
  | } // end of the class 
  | 

When I copie the .jar in the deploy directory, I've the following error :

WARN  [verifier] EJB spec violation:
  | Bean   : HelloWorldSession
  | Method : public abstract HelloWorldSession create() throws RemoteException, 
CreateException
  | Section: ...
  | Warning: The method return values in the home interface must be of valid 
types for RMI/IIOP.

If I remove the line :

public static final String CODEPLAN[] = {CODE, Code};

It work but I need this line !! How can I do ?

Thank you !

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

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


[jboss-user] [JBoss Seam] - Re: Invoking a PageFlow via a Clickable Table

2007-02-14 Thread djeverson
This what I originally had in the pageflow. 
When I had start-state in the pageflow, I was getting the following error:


  | ERROR [org.jboss.seam.servlet.SeamExceptionFilter] uncaught exception
  | javax.servlet.ServletException: pageflow is not currently at a page or 
start-page node (note that pageflows that begin during the RENDER_RESPONSE 
phase should use start-page instead of start-state)
  | 

That caused me to change to a start-page.  

However, that being said, I have also changed a lot of other things as part of 
debugging.  I will change this back to a start-state and see what happens.  

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

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


[jboss-user] [JBoss Seam] - Re: seam-issues sample

2007-02-14 Thread [EMAIL PROTECTED]
This example is old, and no longer the recommended approach.

The CVS version of seam-gen gives you a more uptodate approach to ths kind of 
app.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-02-14 Thread swestbom
They are not show stoppers but I don't suppose that the navigation issues: 

nested page navigation, http://jira.jboss.com/jira/browse/JBPORTAL-1240 

and the page tab security issue, 
http://jira.jboss.com/jira/browse/JBPORTAL-1239 have been addressed at all?

BTW, if you can point me at the correct modules for this I can take a stab at 
1239 at least.  Last I looked it looked like a factory class was creating URL 
objects that could only give you a URL in the JSPs used for the navigation tabs 
(no way to check security in the JSP).

(Decided to work from home today where there is no pesky firewall and proxy 
issue to deal with, I can set them however I want!)



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

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


[jboss-user] [JBoss Seam] - Re: Invoking a PageFlow via a Clickable Table

2007-02-14 Thread djeverson
I just added a start-state and got the following stack trace:

  | 2007-02-14 07:55:48,727 ERROR [org.jboss.seam.servlet.SeamExceptionFilter] 
uncaught exception
  | javax.servlet.ServletException: pageflow is not currently at a page or 
start-page node (note that pageflows that begin during the RENDER_RESPONSE 
phase should use start-page instead of start-state)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:85)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamMultipartFilter.doFilter(SeamMultipartFilter.java:48)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:57)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:67)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:223)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 2007-02-14 07:55:48,727 ERROR [org.jboss.seam.servlet.SeamExceptionFilter] 
exception root cause
  | java.lang.IllegalStateException: pageflow is not currently at a page or 
start-page node (note that pageflows that begin during the RENDER_RESPONSE 
phase should use start-page instead of start-state)
  | at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:192)
  | at org.jboss.seam.core.Pageflow.navigate(Pageflow.java:202)
  | at org.jboss.seam.core.Pageflow.navigate(Pageflow.java:292)
  | at 
org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:59)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:84)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at javax.faces.component.UIData.broadcast(UIData.java:513)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 

[jboss-user] [JBoss Seam] - Re: learning up

2007-02-14 Thread [EMAIL PROTECTED]
EL Params must exist in some scope.  I'm guessing that item is a variable in a 
ui:repeat or something?

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

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


[jboss-user] [JBoss Seam] - Re: Remoting - Progress Indicator?!

2007-02-14 Thread [EMAIL PROTECTED]
Ok I see what you mean now.  I need to implement a similar thing for the 
fileUpload control, so when I work out how to do that then a remoting progress 
updater should be trivial.  Post a JIRA issue for this if you don't want me to 
forget about it :)

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

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


[jboss-user] [JBoss Seam] - Re: pages.xml

2007-02-14 Thread [EMAIL PROTECTED]
Right.

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

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


  1   2   3   4   >