[JBoss-user] [JBoss Seam] - IFrame and Seam Conversation

2006-02-24 Thread amin59
Hi,

I've addressed a Seam page which shows some conversational data from an IFrame, 
but I fails to work. It seems that this page should be called via JSF style 
POST, not directly and via GET. 

I've also tried to do some hacks and copy/pasted java-script code into a new 
page which redirect to the main one, but this solution does not seam to work 
all the time. Some times it works and some time no info is shown again.

I cannot ignore using IFrame and would like to find a solution covering this 
item. The fact is than I wanted to have a paned tab but Facelets does not work 
well with MyFaces Tab component so I wrote one with IFrame+JavaScript.

Thanks for your response.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926242


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Rolebacking push the message to back of the queue

2006-02-24 Thread unnis
I am processing a message in the onMessage() method of the MDB. While 
processing this message, I find that the destination where I am sending the 
message to is unavailable. So, I would rollback this transaction, so that the 
message is put back into the queue. But This is going To back of the queue. So 
next time when onMessage() is called it is getting message from the front of 
the queue.Because of this i will lose the order of messages.On rolebacking is 
there any way to put message to front of the queue so that next onMessage will 
process the same message which is rolebacked.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926240


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-24 Thread Shinerella
That's true ido,  I can bet that is the problem of davidgeary, anyway...  
For me it was very simple... I read what the guys told here about the 
jndiPattern and then I took a look on that example you r talking about and just 
change the "jboss-seam-registration" to the name of my ear as: 
 MY-EAR-NAME/#{ejbName}/local
 
#(ejbName} :  takes the value of where your ejb classes are 

and 

local : is the interface it looks for.. (in that way u can  use also remote).


I dont know if I explained thaaat clearly :) But it is how I understand it more 
or less :)

Regards;

Carolina 

PD: Of course im using jboss 4.0.4 and seam beta 2


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926241


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JMS + other JDBC operations in a single transaction

2006-02-24 Thread jsalvo
Hi,

I am a bit confused with the statement here:

http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB

To quote: "An XA datasource is not required for JBossMQ persistence. All work 
is done is separate transactions that only includes work on the JBossMQ tables. 
i.e. there is a single branch so there is no need for two phase commit."

The reason I ask is that, I want to include in a single transaction ... JMS 
operations + other JDBC operations. Having said that, I intend to use a single 
database ( e.g. Sybase ASE ) for persisting JMS messages and for those "other 
JDBC operations".

Thus, there will be essentially 2 JDBC connections to the same database ( 1 for 
JMS and 1 for my direct JDBC operations ) that will have to participate in a 
single transaction.

Can this be done with JBoss ? If so, how ... since the link above sort of 
implies that it cannot be done ( that essentially, the 2 JDBC connections above 
will have separate transaction contexts ).

Also, since there is really just one database but 2 connections needing to 
participate in a transaction ... do I still need an XADataSource ? and do I 
still need to have my database ( Sybase ASE ) enabled for XA ?






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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926233


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Security Exemption

2006-02-24 Thread maheshkudva
Hi

I have been running web apps with client certificate authentication. My 
requirement is that i want to exempt one .jsp file from this authentication 
purpose. My webapps web.xml is as follows:

  | 
  | 
  | Volga
  | /*
  | GET
  | POST
  | 
  | 
  | 

How do i go about exemting one jsp file from cetificate authentication? The 
content of the file changes relative to the modifications done using the 
application..

Regards & Thanks

Mahesh S Kudva

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926239


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Sessions are failing in production server

2006-02-24 Thread snedapunk
I found a user logged into node3 and then in the next request he was logged out 
at node 1(within the same minute) Then he relogged in at node1 and stayed there 
no problems.  He complains he got logged out.  I also verified other cases 
where users log into one machine, load balancer switches macine on them and the 
session fails login.

  Is this correct with Debug mode on?  It seems it happens all the time.


[sender=asdf1-in:33295, retval=null, received=false, suspected=false]
[sender=asdf2-in:33228, retval=null, received=false, suspected=false]
[sender=asdf3-in:32849, retval=null, received=false, suspected=false]
[sender=asdf4-in:33771, retval=null, received=false, suspected=false]

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926238


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Jboss CMP creating tables with mysql datasource and create-t

2006-02-24 Thread bdlink
I have a simple example I am trying to get working using myeclipse with 
XDoclet.  I am using a mysql datasource that I have set up under 
java:/InfosysDS (it is there in JNDI).  I have all of the CMP beans set up to 
use the mysql tables which are in the database.  In all the beans, I have 
create-table false, such as:
 
  |  Review
  |  java:/InfosysDS
  |  
  |  false
  |  review
  | 
But when I try to start the server, it dies loading one of the beans with an 
exception 
20:49:46,930 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.j2ee:jndiName=local/[EMAIL PROTECTED],service=EJB
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: Error while creating 
table REVIEW; - nested throwable: (java.sql.SQLException: Unexpected token: 
POSITION in statement [CREATE TABLE REVIEW (id VARCHAR(256) NOT NULL, position])
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.j2ee:jndiName=local/[EMAIL PROTECTED],service=EJB
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: Error while creating 
table REVIEW; - nested throwable: (java.sql.SQLException: Unexpected token: 
POSITION in statement [CREATE TABLE REVIEW (id VARCHAR(256) NOT NULL, position])

Obviously I am doing something wrong, but I do not see why it is trying to 
create a table when I have turned that off in the jbosscmp-jdbc.xml file.  I am 
using the same DS for the security domain, which works on the web side (I am 
not using security yet on the ejb side, besides having a security domain set up)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926234


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS + other JDBC operations in a single transaction

2006-02-24 Thread jsalvo
Okay ... found this post:

http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIMakeJMSWorkInJTATransaction

... but still sort of contradicts this info:

http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB






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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926236


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss CMP creating tables with mysql datasource and crea

2006-02-24 Thread bdlink
I am using jboss 4.0.3SP1 and mysql 5.0.16 on windows XP.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926235


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - configuring more than 3 MDB in Jboss 3.2.7 is giving proble

2006-02-24 Thread satya888
Hi,

  i am using jboss 3.2.7, when i am configuring MDB in jboss-service.xml 
in the following way


wsmq/ResultQueue1
Queue
system1.queue.manager
OutputQueue1
jboss:service=Naming
  



wsmq/ResultQueue2
Queue
system1.queue.manager
OutputQueue2
jboss:service=Naming
  


wsmq/ResultQueue3
Queue
system1.queue.manager
OutputQueue3
jboss:service=Naming
  


when i am giving fourth entry, it is giving problem, i am unable to connect to 
Websphere MQ , even other applications which are connected is not working.

  Is there any configuration at JBoss side or Websphere MQ  to configure more 
than 3 MDBs at a time.

 Kindly help me,

thanking you,
Satya888




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926232


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: 'Invalid transaction state' in HttpSessionListener with

2006-02-24 Thread [EMAIL PROTECTED]
The session expiration process is running inside a JTA transaction (beginning 
and ending in the 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.processExpires() method in 
your stack trace).

When the call hits your listener the transaction should be STATUS_ACTIVE.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926231


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)

2006-02-24 Thread ScottMarlowNovell
Can you also let me know which version of JBoss Cache you are using?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926230


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - TransactionManager not bound

2006-02-24 Thread bulloncito
 Fresh jBoss 4.0.4RC1 installation, on early bootup log I found the following:


  | 
===
  | . JBoss Bootstrap Environment
  | . JBOSS_HOME: D:\Java\jBoss-4.0.4RC1\bin\\..
  | . JAVA: D:\Java\JDK1.5.0_06\bin\java
  | . JAVA_OPTS: -server -Xms128m -Xmx128m
  | . CLASSPATH: 
D:\Java\JDK1.5.0_06\lib\tools.jar;D:\Java\jBoss-4.0.4RC1\bin\\run.jar
  | 
==
  | 19:41:41,500 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 19:41:41,515 INFO  [Server] Release ID: JBoss [Zion] 4.0.4RC1 (build: 
CVSTag=JBoss_4_0_4_RC1 date=200602071519)
  | 19:41:41,531 INFO  [Server] Home Dir: D:\Java\jBoss-4.0.4RC1
  | 19:41:41,531 INFO  [Server] Home URL: file:/D:/Java/jBoss-4.0.4RC1/
  | 19:41:41,531 INFO  [Server] Patch URL: null
  | 19:41:41,531 INFO  [Server] Server Name: default
  | 19:41:41,531 INFO  [Server] Server Home Dir: 
D:\Java\jBoss-4.0.4RC1\server\default
  | 19:41:41,531 INFO  [Server] Server Home URL: 
file:/D:/Java/jBoss-4.0.4RC1/server/default/
  | 19:41:41,531 INFO  [Server] Server Temp Dir: 
D:\Java\jBoss-4.0.4RC1\server\default\tmp
  | 19:41:41,531 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 19:41:42,875 INFO  [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
  | 19:41:42,875 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_06-b05,Sun Microsystems Inc.
  | 19:41:42,875 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 19:41:45,468 INFO  [Server] Core system initialized
  | 19:41:50,640 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 19:41:58,765 INFO  [SocketServerInvoker] Invoker started for locator: 
InvokerLocator [socket://148.202.167.109:3873/]
  | 19:42:01,343 INFO  [AspectDeployer] Deployed AOP: 
file:/D:/Java/jBoss-4.0.4RC1/server/default/deploy/ejb3-interceptors-aop.xml
  | 19:42:26,265 INFO  [WebService] Using RMI server codebase: 
http://DS-SW-0001:8083/
  | 19:42:26,828 WARN  [EJBTimerServiceImpl] Cannot obtain TransactionManager 
from JNDI, using TxManager.getInstance(): javax.naming.NameNotFoundException: 
TransactionManager not bound
  | ...
  | ...
  | ...
  | 

... then, EntitiManager transactions have lots of issues, 
TransactionInterceptor fails, i have to manage all transactions 
programatically, while I want them to be ContainerManaged. Since it's on early 
bootup stage, I believe it's a configuration thing on wich I'm lost.

Funny thing, if I search Naming using a JNDI Browser when the boot is complete 
I can see


  | TransactionManager (org.jboss.tm.TxManager)
  | 
TransactionPropagationContextExporter(org.jboss.tm.TransactionPropagationContextFactory)
  | 
TransactionPropagationContextImporter(org.jboss.tm.TransactionPropagationContextImporter)
  | XAConnectionFactory(org.jboss.mq.SpyXAConnectionFactory)
  | 

... however, Container Managed Transaction just won't work.

I use them by just fetching an EntityManager from Naming, or even an 
EntityManagerFactory.createEntityManager or 
EntityManagerFactory.getEntityManager, they all fail CMT.

Am I doing something wrong ?
Is there a workaround ?

Thanks in advance.

I really don't want to hadle transactions, they shuld be ContainerManaged, 
thats the idea when using those abstract layers.


jBoss 4.0.4RC1
PostgreSQL 8.0
DebianGNU Linux Xeon Dual / WinXP P4
EJB3
Hibernate3.1.2

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926227


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Hibernate not copying primary key into associated object

2006-02-24 Thread tpedone
Here's the id of the CoreMessagePayload:

@Id(generate=GeneratorType.SEQUENCE, generator="SEQ_STORE")
@Column(name="MESSAGEID", nullable=false)
public Long getId()
{
return mId;
}

Notice that it is using the MessageID sequence we had originally defined for 
the Message.  Then the Message class  defines it's id as:

@Id (generator="fk")
@GenericGenerator(name="fk", strategy = "foreign",
parameters = {
@Parameter(name="property", value = "payload")
}
)
@Column(name="messageID", nullable=false)
public Long getId()
{
return mId;
}

Finally, the message has a reference to a MessagePayload:

@OneToOne(cascade=CascadeType.ALL)
@PrimaryKeyJoinColumn
public CoreMessagePayload getPayload()
{
return mPayload;
}

Couple of things to note: 

1)  We're still using EJB 3.0 RC3, I belive the Generator tags have changed 
since then.
2)  We changed our object model so that Message and MessagePayload are true one 
to one.  Before, you could have a message without a payload.  Now you can't.  
That let us define generate the id in the Payload instead of the Message since 
you can only use the foreign strategy from the entity that does not generate 
the pk.

Tim

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926225


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Monitor Web as well as J2ee Application

2006-02-24 Thread genman

Take a look at the JMX console for some of this.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926224


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Hibernate not copying primary key into associated object

2006-02-24 Thread dbudworth
tpedone, could you possibly post the relevant tags you put on your classes to 
get this to work?

Spent the last 5 hours spinning my wheels on getting true OneToOnes working  
(where child pk = fk to parent pk).

After trying combinations of @GenericGenerator(foreign) placed all around ( I 
can't find an example that says where the actual annotation belongs, so I tried 
the pk of the child with no luck).

I eventually gave up and decided to redo all my tables to use sequence pk for 
child and plain old unique fk to parent.  Which seems to still not work.  
(entity manager attempts to insert null in fk column even though i set 
parent.setChild(ch) and child.setParent(pa) in the code that creates the 
entities.

Thanks


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926223


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Client blocks while accessing EJB on JBOSS ver4.0.3

2006-02-24 Thread persabi
You might like to have a look at asynchronous proxy.

http://docs.jboss.org/ejb3/app-server/tutorial/asynch/asynch.html

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926222


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Extensions to EJB3: Message Driven POJOs

2006-02-24 Thread redijedi
I would think that the publisher would publish to a topic (define the topic 
location) and the consumers would subscribe to this topic. I would think that 
the location of the topic would be defined by the producer of the messages and 
the consumers would have to listen there. If the consumers define the location, 
what happens if multiple consumers define different locations?

If multiple destinations are not an issue, then I suppose that my entire point 
is moot. However, if multiple destinations are supported, how are rollbacks 
handled? I'm correct in assuming that setting the @Producer(connectionFactory = 
"java:/JmsXA") wil propagate transactions, right?

The fact is that documentation is still fairly light. So, I'm not sure if I am 
using the api to its full potential, or even properly for that matter. That 
said, it is great overall. It's easy to code to and it just works.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926221


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - JBoss Portal Build failed

2006-02-24 Thread ilangocal
Hi
I followed Patrick Tournet's instructions and was able to check out the Portal 
source. I tried to build it by running build.bat. ( i am running Windows XP)

This is the output I get:

Executing C:\navnorth\jboss-portal-2.2\build\..\tools\bin\ant.bat  -logger org.a
pache.tools.ant.NoBannerLogger
Buildfile: build.xml

_buildmagic:init:
Trying to override old definition of task property

_configure:cactus:cactus:
 [echo] C:\navnorth\jboss-portal-2.2/thirdparty/junit-junit/lib

configure-project:
 [echo] groups:  default
 [echo] modules: common,api,faces,server,security,format,portlet,theme,cms,b
ridge,samples,core

_buildmagic:modules:most:

 ==
 ==
 ==  Executing 'most' in module 'common'...
 ==
 ==

configure-defaults:
Overriding previous definition of reference to javac.classpath

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'common'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'api'...
 ==
 ==

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'api'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'faces'...
 ==
 ==

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'faces'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'server'...
 ==
 ==
 [echo] C:\navnorth\jboss-portal-2.2/thirdparty/xdoclet-xdoclet/lib
 [echo] C:\navnorth\jboss-portal-2.2/thirdparty/sun-servlet/lib

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'server'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'security'...
 ==
 ==

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'security'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'format'...
 ==
 ==

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'format'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'portlet'...
 ==
 ==

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

compile:
[execmodules] Feb 24, 2006 4:30:16 PM xdoclet.XDocletMain start
[execmodules] INFO: Running 

 ==
 ==
 ==  Finished 'most' in module 'portlet'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'theme'...
 ==
 ==
 [echo] C:\navnorth\jboss-portal-2.2/thirdparty/xdoclet-xdoclet/lib
 [echo] C:\navnorth\jboss-portal-2.2/thirdparty/sun-servlet/lib

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'theme'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'cms'...
 ==
 ==

configure-defaults:
Overriding previous definition of reference to javac.classpath

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'cms'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'bridge'...
 ==
 ==

configure-defaults:
Overriding previous definition of reference to javac.classpath

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds

 ==
 ==
 ==  Finished 'most' in module 'bridge'.
 ==
 ==


 ==
 ==
 ==  Executing 'most' in module 'samples'...
 ==
 ==

BUILD FAILED
file:C:/navnorth/jboss-portal-2.2/build/../tools/etc/buildfragments/targets.ent:
735: Basedir C:\navnorth\jboss-portal-2.2\samples does not exist

Total time: 10 seconds
Press any key to continue . . .



I wonder if there is anything that I have done wrong. Any suggestions from the 
great folks out here is appreciated very much.

ilango








View the original post : 
ht

[JBoss-user] [Microcontainer] - Re: Porting application from SpringFramework to JBoss

2006-02-24 Thread bkeh12
Hi,

Thank you for telling me. :-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926219


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portlet example released

2006-02-24 Thread sitongia
What's a rar file?  Why not package it as a zip or something more common?

==Leonard

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926217


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: jboss/lib

2006-02-24 Thread hoguester
Thanks - that is a great resource.

Brian


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926215


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: jboss/lib

2006-02-24 Thread [EMAIL PROTECTED]
NoAnnotationClassLoader here
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926214


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: CMT and jBpm

2006-02-24 Thread RAlfoeldi
Hi Elvio,

this isn't a jBPM question, is it? 

Short answers:

- yes (REQUIRED => same tx)
- no (Hibernate tx = the general tx)

If you read your question you will notice that you are asking for conflicting 
behaviour. All in one tx but persistence in another tx. It just doesn't work 
that way.

A bit tight lipped today (This topic has been discussed in verrry long threads 
here.)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926213


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - jboss/lib

2006-02-24 Thread hoguester
I was recently very surprised to find that jars in the JBOSS_DIST/lib are 
available on the classloader to WARS (jboss version 4.0.2).  Specifically, 
dom4j.jar was the culprit in the issue we were tracking down.  I have always 
worked under the assumption that only jars in jboss/server/default/lib were 
available.  We jave the Java2ClassloaderCompliance set to false as well as 
false for the JBossWebLoader - purely a stock install.  Is this behavior 
expected?  My belief was supported in that you find commons.logging jar in both 
jboss/lib and jboss/server/default/lib.  If jboss/lib is meant to be visible, 
why have it in both places?  I made sure the class in dom4j.jar was not 
available anywhere else by running the following search with the output below:

[EMAIL PROTECTED] ]$ find /usr/local/jboss -type f -name '*.jar' -print0 | 
xargs -n1 -0i sh -c 'jar tf "{}" | grep -q SAXReader && echo "{}"'

./lib/dom4j.jar

Any thoughts?

Thanks,

Brian


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926212


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: hibernate3 jars don't match

2006-02-24 Thread [EMAIL PROTECTED]
Only the jars in lib should exist and these are correct. The ejb3.deployer 
should not have these duplicated.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926208


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: classpath trouble: codebase urls

2006-02-24 Thread [EMAIL PROTECTED]
Not without a usecase.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926207


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule cache causes problem big time

2006-02-24 Thread [EMAIL PROTECTED]
FAQ
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926206


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)

2006-02-24 Thread shadowdz
I'm sorry but the problem occure again. This time I'm able to give you a 
testcase. The exception has something to do witch the transactions inside the 
Cachloader's. So here's the testcase.

First the Pojo:
public class TestObject {
  | private Collection list;
  | 
  | public TestObject(){
  | }
  | 
  | public void init(){
  | this.list=new Vector();
  | }
  | 
  | public void add(String value){
  | this.list.add(value);
  | }
  | 
  | public void remove(String value){
  | this.list.remove(value);
  | }
  | }

It's quite simple. Know the test:

public class Test {
  | 
  | private TreeCacheAop treeCache;
  | 
  | public Test() throws Exception {
  | this.treeCache = new TreeCacheAop();
  | PropertyConfigurator config = new PropertyConfigurator();
  | InputStream input = new 
FileInputStream("replSync-service-persistent.xml");
  | config.configure(this.treeCache, input);
  | input.close();
  | this.treeCache.start();
  | }
  | 
  | private void addObject(String key, TestObject pojo) throws 
CacheException {
  | this.treeCache.putObject(key, pojo);
  | }
  | 
  | private void removeObject(String key) throws CacheException {
  | this.treeCache.removeObject(key);
  | }
  | 
  | public static void main(String[] args) throws Exception {
  | UserTransaction tx = new 
DummyUserTransaction(DummyTransactionManager
  | .getInstance());
  | Test server = new Test();
  | TestObject pojo = new TestObject();
  | pojo.init();
  | tx.begin();
  | server.addObject("/pojo", pojo);
  | tx.commit();
  | String id1 = "/test1";
  | String id2 = "/test2";
  | String id3 = "/test3";
  | tx.begin();
  | pojo.add(id1);
  | tx.commit();
  | tx.begin();
  | pojo.add(id2);
  | tx.commit();
  | tx.begin();
  | pojo.add(id3);
  | tx.commit();
  | tx.begin();
  | pojo.remove(id2);
  | tx.commit();
  | tx.begin();
  | server.removeObject("/pojo");
  | tx.commit();
  | System.out.println("ALL DONE");
  | }
  | }

And the configurationfiles.
jboss-aop.xml:

  | 
  | 
  | 

the cach-config:

  | 
  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | org.jboss.cache.DummyTransactionManagerLookup
  | READ_COMMITTED
  | REPL_SYNC
  | false
  | 0
  | 0
  | LabconnCache
  | true
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | true
  | 6
  | 3
  | 2
  | false
  | 
  | org.jboss.cache.loader.bdbje.BdbjeCacheLoader
  | location=../bdbje
  | /
  | false
  | false
  | false
  | true
  | true
  | 
  | 

The resulting stacktrace:
Exception in thread "main" java.lang.IllegalStateException: 
InternalDelegate.resetRefCount(). Ref counter not -1 but 0 at fqn: /pojo
  | at 
org.jboss.cache.aop.InternalDelegate.resetRefCount(InternalDelegate.java:59)
  | at 
org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:207)
  | at 
org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:177)
  | at org.jboss.cache.aop.TreeCacheAop._putObject(TreeCacheAop.java:503)
  | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:345)
  | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:325)
  | at Test.addObject(Test.java:26)
  | at Test.main(Test.java:40)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926205


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net

[JBoss-user] [Installation, Configuration & Deployment] - running jstack on Jboss process?

2006-02-24 Thread mgarber
Is there Jboss-specific reason I can't run jstack against Jboss process?

OS is RedHat, JDK 1.5, jstack works fine against Tomcat on the same machine

Error:

Attaching to process ID 29417, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.5.0_05-b05
Thread 30393: (state = IN_NATIVE)
Error occurred during stack walking:
sun.jvm.hotspot.debugger.DebuggerException:
sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp

thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926204


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule cache causes problem big time

2006-02-24 Thread michael.wang
Using DatabaseServerLoginModule, user logs in, everything seems to be fine. If 
something is changed in the database, say, role and password, and the user 
immidiately logs off and logins, he logs in to get previous role with old 
password, and new role with new password!


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926201


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Running JBoss as a windows service

2006-02-24 Thread mscongdon
Did you ever get a resolution to this?  I'm seeing the same thing (used 
JavaService 2.0.9 for our install).  The out.log has shows 
FileNotFoundExceptions for all files our application tries to load...for 
example...

java.io.FileNotFoundException: 
C:\dev\jboss\JBoss-4.0.3SP1_Tomcat-5.5_SSL\server\ 
jackson\conf\server.properties"

Notice that there's a space before the word jackson...so it's actually " 
jackson".

Does anyone have a resolution for this?

FYI, during the install command, we added the following parameter

 -start org.jboss.Main -params "-c jackson" 

This will NOT work if we pass any of the following for the -params argument:
"jackson"
"-c jackson"
"-c 'jackson'"

Please help.

Thanks in advance,
Michael


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926200


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Client blocks while accessing EJB on JBOSS ver4.0.3

2006-02-24 Thread anshah1
Hi,

I believe I've found the problem, however not the solution yet. The problem has 
to do with a transaction that is initiated by a stateless SB. So here's the 
scenario.

The client initiates a request for data retrieval from a remote web service 
API. This request is handled on the server side by a SLSB. The SLSB now queries 
the web service and retrieves data to put in the local database. It so happens 
that the web service retrieval takes a long time, more than the set transaction 
time and the session timeout. Now the jboss server tries either remove this 
bean or remove the transaction and things don't quite work out. It then creates 
a number of context lock messages and finally just hangs.

So that's the problem. the solution to this would be to not use SLSB for these 
long running tasks. I've been googling this quite a bit and it seems there's 
something of a Work Manager API in the new jboss and that should be able to 
handle such tasks.

My question now is a design question. What is the best way to handle a large 
computation or a large data retrieval task (whose time is going to be longer 
than either the session timeout or transaction timeout) using EJBs? 

Is JMS an option, a work manager api or something else? Also we can now move to 
something of this sort. Say a user initiates a request, we want to process it 
at our own time and return the results to the user at some time later. So this 
is kind of asynchronous.

Please point me to the best solution for this problem in terms of design.

Sincerely,
Anuj


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926198


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: ArrayStoreException on EJB3 deployment

2006-02-24 Thread destefano
I got this error when jboss-seam.jar was not in the class path in the manifests 
for the EJB jar and the war (a typo in my ant script was the culprit).  It 
could not find the SeamInterceptor class.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926197


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: classpath trouble: codebase urls

2006-02-24 Thread wzzzrd
"[EMAIL PROTECTED]" wrote : The java ee component jars in the ear can use a 
manifest Class-Path to pickup thirdparty jars.

Thanks for your reply, that will solve our current problem. Just out of 
curiosity, are there plans to expand the list of registered listers?

Regards,
Martin

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926196


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: foreach ActionHandler

2006-02-24 Thread jhliptak
"jim.mcmaster" wrote : I wrote a custom fork handler that does this.  Instead 
of forking off a single child token for each outgoing transition, it forks off 
a child token for each element in the list for each transition.  I use it with 
a single outgoing transition, so the effect should be what you describe.  The 
code is a simple modifcation of the sample at 
http://wiki.jboss.org/wiki/attach?page=ForEachForkActionHandler%2FForEachForkActionHandler.java.
  I do not have it at home, but could send it to you on Monday if you want. 
  | 

I looked at the example.  I understand the inner for loop around the 
collection.  What I don't understand is why there is a loop around the 
transitions.  Is it because you want to automatically do a foreach on every 
transition out of the node?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926199


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBoss 3.2.8 gives EJB Method Permissions exceptions

2006-02-24 Thread [EMAIL PROTECTED]
This looks like a regression bug. We'll fix it in 3.2.8.SP1, thanks.

http://jira.jboss.com/jira/browse/JBAS-2857

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926195


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Change navigation image?

2006-02-24 Thread sitongia
Okay, thanks noicangi.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926194


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - hibernate3 jars don't match

2006-02-24 Thread nholbrook
I just downloaded jboss 4.0.4RC1 to see how its going.  I did a search for 
hibernate3.jar because I load them into my local maven repository.  Anyway, I 
found hibernate3.jar files and they aren't the same.

Here are the md5 hashes.

42e4664e91c4ce0dbfe8a59fe64d200c  server/default/lib/hibernate3.jar
adf29894822cd0ebe445c42442801c16  
server/default/deploy/ejb3.deployer/hibernate3.jar

I'm assuming there should be only 1 or they should probably be the same.

Thanks

Nic


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926193


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Change navigation image?

2006-02-24 Thread noicangi
welcome to the club ;) hahahahahaha

the 2.4 version is at cvs, its not ready but read the topic about cvs there's 
all the information ;) and some links

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926191


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - 3 ways to transition: processInstance.signal, token.signal,

2006-02-24 Thread jbpmndc
There are 3 ways to transition to another node: 
* processInstance.signal("somewhere") 
* token.signal("somewhere")
* taskInstance.end("somewhere")

Why so many ways?  

I like taskInstance.end("somewhere"), because it ends the task.   The signal 
just moves from one to another.  I don't believe it "ends" a task.

Any thoughts?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926190


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: classic

2006-02-24 Thread [EMAIL PROTECTED]
No, you just use it if there is no existing security context.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926189


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: web-tier to intialcontext remote ejb3 call

2006-02-24 Thread [EMAIL PROTECTED]
There is no principal in the InitialContextFactory environment properties under 
the Context.SECURITY_PRINCIPAL for this NPE to occur.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926188


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem after upgrading JBoss 4.0.3-sp1 to Hibernate 3.1

2006-02-24 Thread belasco99
I would love to see the non-jboss-deployed hibernate config as well

thanks


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926187


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Change navigation image?

2006-02-24 Thread noicangi
sorry, i thought it was that imagetake a look at:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=77854

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926183


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Change navigation image?

2006-02-24 Thread sitongia
Ouch!  :-)
I've been reading, and will read more, but I was hoping there is a way through 
the UI to do stuff like this, rather than touching XML and other files.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926186


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: classpath trouble: codebase urls

2006-02-24 Thread [EMAIL PROTECTED]
The java ee component jars in the ear can use a manifest Class-Path to pickup 
thirdparty jars.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926185


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: instances of cms portlet

2006-02-24 Thread sitongia
Thanks, noicangi.  I think I'll try 2.4 rather than getting into the XML files!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926184


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: ReplicationException when starting a new replicated cach

2006-02-24 Thread sreepraveen_2000
I am using jboss cache release 1.2.4_SP1_FINAL and jgroups 2.2.9 (beta).

I faced the same problem many times, here are couple of scenarios

1)  When ever I start all the containers at the same time I get this 
ReplicationException. I could stop this exception by changing the way the 
containers are deployed by adding some delay between the deployments. 
2)  If I take down one container and start it again after they accumulate a 
cache state of 10MB or more. I see a warning message ?WARN STABLE: ResumeTask 
resumed message garbage collection - this should be done by a RESUME_STABLE 
event; check why this event was not received (or increase max_suspend_time for 
large state transfers)? and it throws a ReplicationException. After, going 
through forums I found a post 
(http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72678) where bela 
suggested to use new version of jgroups and replace FD with FD_SOCK. None of 
the changes suggested helped me in resolving this ReplicationException problem.
3)  Now that I have changed from FD to FD_SOCK, If I take down one 
container the view in all the other containers does not reflect for some time 
(because it?s a socket failure detection the timeout is in minutes) and if I 
start the same container again the new view contains more nodes than the actual 
containers. And any replication message to these old containers throw 
ReplicationException. 

Any help in resolving these problems would be greatly appreciated.
I see that some of the problems regarding ReplicationException are fixed, if so 
when will the fixed version be relased?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926182


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: instances of cms portlet

2006-02-24 Thread noicangi
sitongia, some weeks ago i was stuck in this topicsome guys also have the 
same questionyou can resolve cms content portlet reading this topic:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76195&postdays=0&postorder=asc&start=0

thentriyng to make clustering i tried the portal2.4, and in this version 
from the managment page , instances preferences you can change the html page 
which points the cms!!! without touching an xml file ;)


hope it guides you

maybe you could port at wiki this topic...



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926181


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - JMX->Session Bean->Entity Bean in one Jar file... dependency

2006-02-24 Thread mnewcomb
MyService.java:
@Service(...)
  | class MyService
  | {
  |   @EJB
  |   MySession ms;
  | }
MyStateless.java:
@Stateless
  | class MyStateless
  | {
  |   @PersistenceUnit(...)
  |   EntityManager em;
  | }
MyEntity.java:
@Entity
  | class MyEntity
  | {
  | }
  | 

Now, it starts to deploy the SessionBean first. It recognizes that it depends 
upon the Entity bean and states so in the log.

Next, it tries to deploy the MBean, recognizes it depends on the SessionBean 
but it fails because the SessionBean is waiting on the EntityBean...

Do I have to tell the system that my MBean depends on the entity bean as well? 
If so, how do I do that? If no, what am I doing wrong?

Thanks,
Michael

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926180


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - CMSAdmin: edit of HTML file invokes file upload dialog

2006-02-24 Thread sitongia
2.2.1RC2
Mac OS X server / Firefox on Windows XP
Port 8080

I used CMSAdmin to create an html file called index.html.  I added some text to 
it.  I saved it.  It was created.

When I navigate in CMSAdmin to the file, it is shown with the edit icon.  When 
I click on the icon, I'm given a file upload dialog.

It appears that the CMS doesn't know that the file is HTML.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926179


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Need help with action config-type field and List propert

2006-02-24 Thread michaelholtzman
Got it!!

The field xml to populate a List must be specified as 


  | 
  |   
  | 
  | TranNum|Int|
  | InExcession|Boolean|False 
  | Approved|Boolean|False 
  |  
  |
  |
  |   
  | 

The inner element name ("el" in this example) is arbitrary.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926178


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: How to make deploy faster.

2006-02-24 Thread wzzzrd
"joey.watson" wrote : Hi 
  | 
  | Just Want to know do there have some ways can save my time when I develop 
Java project. Because if I did any modify to Java file or JSP file. I have to 
compile and deploy my project again. I know for Tomcat , Just set the class 
path to compile, and  just  compile Java file, don't need to compile JSP and 
make war file. can I do it for Jboss like this?
  | 
  | Thanks.
  | 
  | Joey

Two solutions: a nice one and a dirty one.

Nice one:

In your jboss-service.xml (under server/yourservername/conf) find the 
definition for org.jboss.deployment.scanner.URLDeploymentScanner. Modify the 
URL-attribute:


  | 
  |  deploy/ , file:///pathtoyourwebapp
  | 
  | 

Your project must use the typical WAR-file-structure and you should compile to 
the WEB-INF/classes directory. When you changed a class, just touch your 
web.xml file.

The dirty one:

Deploy your app as an exploded archive and develop directly in the 
deploy/yourwebapp directory. This is not a good idea.

Regards,
Martin

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926177


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Directory created in CMSAdmin not visible

2006-02-24 Thread sitongia
Strange as it seems, this may be caused by using JK.  When I connect directly 
to my server on port 8080, the create operations work!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926176


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: 4newbies: cms admin for a portlet

2006-02-24 Thread sitongia
me2

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926175


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: instances of cms portlet

2006-02-24 Thread sitongia
Me2

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926174


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Directory created in CMSAdmin not visible

2006-02-24 Thread sitongia
2.2.1RC2
Mac OS X
port 8080 with Apache using JK to proxy

When I use CMSAdmin to create a folder, when I click on the Create button, the 
CMSAdmin portlet disappears.  I have to use the Back button to get back to it.  
The folder is not created.

I see that Destination is filled in from the navigator to the right, and cannot 
be edited.  The name is the name of the directory created.  I've tried creating 
under / and under /default.  So, I think I'm using it right.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926173


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Scan for Jboss MBean Server local network

2006-02-24 Thread sgastonc
Hi, anyone can tell me how can i scan my local network to find
all the Jboss MBean servers running? is it possible?

Thank you.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926172


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Need help with action config-type field and List propert

2006-02-24 Thread michaelholtzman
Nope, String[] did NOT work:


  | 14:39:14,851 ERROR FieldInstantiator : couldn't parse the bean property 
value 'Approved|Boolean|False
  | ' to a '[Ljava.lang.String;'
  | 14:39:14,851 ERROR FieldInstantiator : couldn't parse set field 'VarList' 
to value 'Approved|Boolean|False'
  | org.jbpm.JbpmException: java.lang.NoSuchMethodException: 
[Ljava.lang.String;.(java.lang.String)
  | 

It did, at least, complain  :)

Surely someone has figured this out? Anyone?

Thanx.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926171


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: refresh cache data

2006-02-24 Thread sreepraveen_2000
can u give more information, what are you trying to do exactly and are you 
using hibernate... or you running ur cache in replicated mode or isolated mode.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926170


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - New portlet instances don't show in instance list

2006-02-24 Thread sitongia
2.2.1RC2
Mac OS X

I've added a page, and added portlet instances to the page.

When I use Management to list the porlet instances, I don't see the ones I 
added.

Thanks for your help.
==Leonard

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926169


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: NavigationPortlet enhancements

2006-02-24 Thread sitongia
I was about to report that when there are many tabs, they wrap onto a new line, 
which messes up the header graphic, but then I saw this thread.

When will a new tabbed nav portlet be available?

Thanks,
==Leonard

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926168


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - classpath trouble: codebase urls

2006-02-24 Thread wzzzrd
Hi there,

Background:
We want to deploy all (non third party) libs in the ear file. Some MBeans (also 
deployed in the ear file) need jars from the ear on their classpaths.

For MBeans the classpath can be defined via the classpath xml tag in the 
*-service.xml file. It's attribute codebase takes an URL as value and JBoss 
uses URLListers as handlers for these protocols.

But then we noticed that there are only handlers for the protocols file:, 
http:, https:

But no handler (or URLLister) is registered for the jar: protocol. After 
looking at the code we found there is a njar: lister, but it is not beeing 
registered:

org.jboss.net.protocol.URLListerFactory

  | public class URLListerFactory {
  |private static HashMap defaultClasses = new HashMap();
  |static {
  |   defaultClasses.put("file", 
"org.jboss.net.protocol.file.FileURLLister");
  |   defaultClasses.put("http", 
"org.jboss.net.protocol.http.DavURLLister");
  |   defaultClasses.put("https", 
"org.jboss.net.protocol.http.DavURLLister");
  |}
  | 
  |private HashMap classes;
  | 
  |/**
  | * Create a URLLister with default listers defined for file and http
  | * protocols.
  | */
  |public URLListerFactory() {
  |   classes = (HashMap) defaultClasses.clone();
  |}
  |
  |[...]
  | }
  | 

As I see it, it is not possible to create a classpath containing libraries that 
reside in an ear file. Was that intended?

OS: Linux
JBoss-Version:  jboss-4.0.3SP1

Any ideas/ solutions/ workarounds are welcome.

Thanks in advance,
Martin

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926167


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Change navigation image?

2006-02-24 Thread sitongia
No, I mean the main JBoss portal graphic image that is above the navigation 
tabs.

With the Nphalanx theme, for example, the top of the portal page has navigation 
tabs labeled Test, default, etc.

Above the tabs is a graphic, call it the top-nav logo image or whatever your 
terminology is.  It shows the text "JBoss Portal" and on the right side has 
some images of studded spheres.

It's a common thing in portals and web sites.  The top/header/banner image.

Here, the image changes when one changes themes.  That's why I wondered if it 
is defined in the theme somehow.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926166


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Single Sign On Using JBoss User Portlet

2006-02-24 Thread the-gtm
anonymous wrote : If a user signs onto one machine then to another, I want to 
invalidate the first session

What do you mean by "machine" ? Are you running a cluster ? Single Sign On is 
about sharing authentification accross multiple web apps.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926165


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Deploy jBPM to different server

2006-02-24 Thread raybar
We have a development server running on a box other than where I am running the 
IDE.  It has JBoss AS and jBPM 3.0.2.  I have created a simple project to 
deploy to that server.  I have read every post and web page I can find on 
deploying and cannot find one that says how to do this.   What is the very 
first step, Export?  to what?

Thanks,
Ray


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926163


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - How to make deploy faster.

2006-02-24 Thread joey.watson
Hi 

Just Want to know do there have some ways can save my time when I develop Java 
project. Because if I did any modify to Java file or JSP file. I have to 
compile and deploy my project again. I know for Tomcat , Just set the class 
path to compile, and  just  compile Java file, don't need to compile JSP and 
make war file. can I do it for Jboss like this?

Thanks.

Joey

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926161


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - Re: JBOSS and Hibernate

2006-02-24 Thread belasco99
I am having the same issue. anybody got a solution

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926160


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Model MBean Issue

2006-02-24 Thread [EMAIL PROTECTED]
see javax.management.modelmbean.RequiredModelMBean

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926159


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: OutOfMemoryError: unable to create new native thread

2006-02-24 Thread [EMAIL PROTECTED]
meant 4.0.4RC1

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926158


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: OutOfMemoryError: unable to create new native thread

2006-02-24 Thread [EMAIL PROTECTED]
Yes, it probably is JBAS-1690. You can try the 4.0.0RC1 release and see if that 
fixes that.

This release has more than 10 fixes related to EJB Timers.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926157


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-02-24 Thread deniss.parhomenko
Yes, tomohawk file upload work with seam, you need define extension filter in 
web.xml and you can you se file upload

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926156


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Single Sign On Using JBoss User Portlet

2006-02-24 Thread jaredmladner
Hi,

I'm using Jboss Portal 2.2.  I am also using JBoss's built in User Portlet to 
handle my login.  If a user signs onto one machine then to another, I want to 
invalidate the first session.  Reason being, I'm using a Singleton to pass 
information between multiple portlets.
Does anyone know how to implement Single sign on to the JBoss User Portlet?

Thanks, Jared

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926155


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Local and remote resources in XAtransaction

2006-02-24 Thread bdaniliuc
I'm trying to use two resources in the same XA transaction: a local resource 
and a remote resource. For example:

public class FileProcessor implements MessageListener {
  | .
  | protected QueueConnectionFactory factory;
  | protected QueueConnection cnn;
  | protected Queue myQueue;
  | 
  | @PersistenceContext
  | protected EntityManager em;
  | 
  | @PostConstruct
  | public void init() {
  | ...
  | Hashtable params = new Hashtable();
  | params.put("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  | params.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
  | params.put("java.naming.provider.url", "remotehost:remoteport");
  | InitialContext ic = new InitialContext(params);
  | factory = (QueueConnectionFactory) ic.lookup("UIL2XAConnectionFactory");
  | myQueue = (Queue) ic.lookup("queue/myQueue");
  | cnn = factory.createQueueConnection();
  | ...
  | }
  | 
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRED)
  | public void onMessage(javax.jms.Message msg) {
  | 
  | dbUpdate(object);
  | sendNotifications(object);  
  | 
  | }
  | 
  | private void dbUpdate(object){
  | ...
  | em.persist(object);
  | ...
  | }
  | 
  | private void sendNotifications(object){
  | ...
  | sess = cnn.createQueueSession(true, 0);
  | sender = sess.createSender(myQueue);
  | 
  | sender.send(createProcessMessage(object));
  | ...
  | }
  | ...
  | }

In the above code, the result of dbUpdate will be visible only after onMessage 
ends succesfully, but the result of sendNotifications will be visible when 
sendNotifications ends, i.e the notifications will be send before the objects 
are in database.

Is it something wrong with the above code? Is this behaviour unsupported or is 
this a bug?

Regards, 

Bogdan


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926154


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: define DEFAULT portal ??

2006-02-24 Thread IvanLatysh
Check this out: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=77314
I think we should submit an issue so people can vote for it.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926153


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: defining own portal with own portlets

2006-02-24 Thread IvanLatysh
Let me try to help you with it.

Since you are using "jboss-portal-2.2.0-bundled" it won't be so complicated.

An advice, make a copy of jboss-portal-2.2.1RC2-bundled/server/default 
directory amd make jboss-portal-2.2.1RC2-bundled/server/myportal. now when 
yourun JBoss run it run.bat -c myportal. This way you always have an original 
portal copy handy.

First of all you must read the docs, where you will find that portal configured 
in a single file: /jboss-portal.sar/conf/data/default-object.xml (this path is 
relative to your server instance, for default server will be 
jboss-portal-2.2.1RC2-bundled/server/default)

You can modify this file and add one more portal instance or simply change 
default portal. But there is a catch :
  | default
the portal with name default must be there.

Now let's change portal mapping.
Check /deploy/jbossweb-tomcat55.sar and see if you have ROOT.war there, if you 
do - delete it.

Now let's modify portal mapping, edit the file: 
/deploy/jboss-portal.sar/portal-server.war/WEB-INF/jboss-web.xml
and modify context-root tag. To map portal to server root simply change it to 

  | ...
  | /
  | 
or

  | ...
  | 
  | 

Now you can access your portal on http://localhost:8080/default, as far as I 
know you won't be able to change it to http://localhost:8080/myportal since 
default portal instance must be configured. But if you configure more that 1 
portal instance you can have 2 portals http://localhost:8080/default and 
http://localhost:8080/myportal but anyone who come to  http://localhost:8080/ 
will automatically get http://localhost:8080/default.

Now about layout and themes: have a look at the file 
\deploy\jboss-portal.sar\portal-core.war\WEB-INF\portal-layouts.xml
and \deploy\jboss-portal.sar\portal-core.war\WEB-INF\portal-themes.xml
And create your own layout and theme based on one of the existing. It is quite 
simple.

I hope it can answer some of your questions.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926151


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Co-located HA JNDI and EJB Clients

2006-02-24 Thread metelka
Have you considered using ExternalContext mbean to map queue from ha-jndi into 
local jndi? In this way you'll have jndi configuration externalized into xml 
file and you can even inject the queue into ejb3 beans.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926148


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)

2006-02-24 Thread shadowdz
But thank you for your quick response.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926147


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)

2006-02-24 Thread shadowdz
In a simple example no exception is been thrown. But I've noticed that I've 
user an ENUM in my Class! I have changed to String and it seams to work.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926146


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: EJB and Http load balancing

2006-02-24 Thread [EMAIL PROTECTED]
This log snippet answers my point #2 above; your two cluster nodes are seeing 
each other and forming a cluster.

How about points #1 and #3?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926145


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Can't debug JBoss on Eclipse

2006-02-24 Thread lona
if you give more information we may be able to help you?? 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926144


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: PropertyAccessException Setting Node.isAsync

2006-02-24 Thread jesse_sweetland
Turns out it isn't a Hibernate problem at all.  We had old data in the tables 
and there was no default value for the isasync_ column when it was added during 
migration, so the value was null.  "update jbpm_node set isasync_=false" and 
PostgreSQL or "update jbpm_node set isasync_=0" on Oracle solved the problem.

As an aside, my initial post relates more to Oracle than to PostgreSQL, since 
PostgreSQL does have a boolean datatype (I wasn't aware of that until just now).

Anyway, hope this helps other migrators.

- Jesse

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926143


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: stateless session bean fail over and HA-RMI fail over no

2006-02-24 Thread [EMAIL PROTECTED]
I notice above that you have your cluster-config stuff in ejb-jar.xml, not in 
jboss.xml.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926142


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: portal-forums view topic

2006-02-24 Thread [EMAIL PROTECTED]
Jboss-portal release 2.2.1-RC2 same as forum
Database oracle 10g
No exceptions: incredible?
No clues...
All the rest (if there is something more important than viewing topics) works 
as expected...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926141


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deployment of Portlets(made in SunStudioCreator2) on JBOSS P

2006-02-24 Thread JBsaurabh
Hello people,
I want to know these things, please acknowledge:

1. I want to deploy the portlets (created in SunStudioCreator2) on 
JBOSSPORTAL2.2.
Information: The portlets in SSC2 have a sun-webapp.xml file in WEB-INF 
folder of the war directory along with other XMLs like faces-config.xml. 
Do i need to add the JBOSS specific XML's to the existing war directory and 
remodify other XML's too?

The portlets in SunStudioCreator2 uses the API's like FacesPortlet. I didnt 
found the direct import statement of "javax.portlet.*" on the simplest portlet 
on this Software. How do I provide API information while shifting on to 
JBOSSPORTAL 2.2 

2. Do JBOSSPortal2.2 support the JDK1.5.0* version of class files?
Information (On compiling the portlet java file of a test portlet with Java 
1.5.0, the server gave UnsupportedClassVersionError. It was rectified when i 
recompiled it with Java1.4.*). 
Was it due to the Java version or some other case? 



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926140


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Remoting] - Re: Receiving Stream

2006-02-24 Thread ron_sigal
Hi ppc,

You can find JBoss Remoting documentation at 

http://labs.jboss.com/portal/jbossremoting/docs/index.html

Look, in particular, at the JBossRemoting User Guide,

http://labs.jboss.com/portal/jbossremoting/docs/guide/index.html

for discussion and 

http://labs.jboss.com/portal/jbossremoting/docs/samples/samples.html

for samples.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926139


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss hangs using staeful session bean to read data

2006-02-24 Thread Annegret
Hello,

I've updated to JBoss 4.0.4RC1 with EJB3 RC5.
Now the problem is different:

when I return the data (and on bean passivation) I get a SerializationException


  | 2006-02-24 14:43:45,325 ERROR [com.tenovis.oam.i33.as.sb.SubscriberSBBean] 
Error:
  | java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
com.tenovis.oam.i33.as.sb.OAMSBBean.invokeSbMethod(OAMSBBean.java:782)
  | at 
com.tenovis.oam.i33.as.sb.SubscriberSBBean.readDataFromSb(SubscriberSBBean.java:779)
  | at 
com.tenovis.oam.i33.as.sb.SubscriberSBBean.readObjectData(SubscriberSBBean.java:259)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
  | at 
org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:598)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
  | at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:330)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
  | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
  | at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
  | at org.jboss.ejb.Container.invoke(Container.java:917)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | at sun.rmi.transport.Transport$1.run(Transport.java:153)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  | at $Proxy505.readObjectData(Unknown Source)
  | ... 45 more
  | Caused by: org.jboss.serial.exception.SerializationException
  | at 
org.jboss.serial.persister.PrivateWritePersister.writeData(PrivateWritePersister.java:83)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.java:260)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:81)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:46)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117)
  | at 
org.jboss.serial.ob

[JBoss-user] [JBoss jBPM] - PropertyAccessException Setting Node.isAsync

2006-02-24 Thread jesse_sweetland
jBPM Version: 3.1
Application Server: JBoss 4.0.3SP1
Java Version: 1.5.0_05
Database: PostgreSQL 8.0.7

I've finally stabilized our application with jBPM but I'm encountering an error 
when I try to start a new process instance.  Here is the stack trace:


  | org.hibernate.PropertyAccessException: could not set a field value by 
reflection setter of org.jbpm.graph.node.StartState.isAsync
  | at 
org.hibernate.property.DirectPropertyAccessor$DirectSetter.set(DirectPropertyAccessor.java:82)
  | at 
org.hibernate.tuple.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:330)
  | at 
org.hibernate.tuple.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:188)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3231)
  | at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
  | at 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:717)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:223)
  | at org.hibernate.loader.Loader.loadEntity(Loader.java:1782)
  | at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
  | at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2729)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)
  | at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:809)
  | at 
org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:771)
  | at 
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62)
  | at 
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:133)
  | at 
org.jbpm.graph.node.StartState$$EnhancerByCGLIB$$2d488654.getName()
  | at 
org.apache.jsp.admin.instances_jsp._jspService(org.apache.jsp.admin.instances_jsp:266)
  | at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | 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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 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:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcp

[JBoss-user] [Security & JAAS/JBoss] - Re: web-tier to intialcontext remote ejb3 call

2006-02-24 Thread dhartford
I found references to using the clientLoginModule in 'multi-threaded' mode, so 
added those configurations to the webapp jboss server:

 
  | 
  | true
  | useFirstPass
  | 
  | 

I also enabled security debugging, and here is the error:


  | 11:26:00,012 ERROR [STDERR] java.lang.NullPointerException
  | 11:26:00,012 ERROR [STDERR] at 
org.jboss.security.jndi.JndiLoginInitialContextFactory.getInitialContext(JndiLoginInitialContextFacto
  | ry.java:75)
  | 11:26:00,012 ERROR [STDERR] at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  | 11:26:00,012 ERROR [STDERR] at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  | 11:26:00,012 ERROR [STDERR] at 
javax.naming.InitialContext.init(InitialContext.java:223)
  | 11:26:00,012 ERROR [STDERR] at 
javax.naming.InitialContext.(InitialContext.java:197)
  | 11:26:00,012 ERROR [STDERR] at 
com.ghsinc.web.roleeditor.SessionBean01.getAuthorizationManager(Unknown Source)
  | 11:26:00,012 ERROR [STDERR] at 
com.ghsinc.web.roleeditor.GeneralBackingBean.(Unknown Source)
  | 11:26:00,012 ERROR [STDERR] at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 11:26:00,012 ERROR [STDERR] at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | 11:26:00,012 ERROR [STDERR] at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | 11:26:00,012 ERROR [STDERR] at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | 11:26:00,012 ERROR [STDERR] at 
java.lang.Class.newInstance0(Class.java:350)
  | 11:26:00,012 ERROR [STDERR] at 
java.lang.Class.newInstance(Class.java:303)
  | 11:26:00,012 ERROR [STDERR] at 
java.beans.Beans.instantiate(Beans.java:204)
  | 11:26:00,012 ERROR [STDERR] at 
java.beans.Beans.instantiate(Beans.java:48)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:203)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.j
  | ava:256)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:386)
  | 11:26:00,012 ERROR [STDERR] at 
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1009)
  | 11:26:00,012 ERROR [STDERR] at 
javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1036)
  | 11:26:00,012 ERROR [STDERR] at 
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:749)
  | 11:26:00,012 ERROR [STDERR] at 
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
  | 11:26:00,012 ERROR [STDERR] at 
com.sun.faces.taglib.html_basic.InputTextTag.doStartTag(InputTextTag.java:506)
  | 11:26:00,012 ERROR [STDERR] at 
org.apache.jsp.main_jsp._jspx_meth_h_inputText_0(org.apache.jsp.main_jsp:251)
  | 11:26:00,012 ERROR [STDERR] at 
org.apache.jsp.main_jsp._jspx_meth_h_form_0(org.apache.jsp.main_jsp:193)
  | 11:26:00,012 ERROR [STDERR] at 
org.apache.jsp.main_jsp._jspx_meth_f_view_0(org.apache.jsp.main_jsp:145)
  | 11:26:00,012 ERROR [STDERR] at 
org.apache.jsp.main_jsp._jspService(org.apache.jsp.main_jsp:108)
  | 11:26:00,012 ERROR [STDERR] at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | 11:26:00,012 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 11:26:00,012 ERROR [STDERR] at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
  | 11:26:00,012 ERROR [STDERR] at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | 11:26:00,012 ERROR [STDERR] at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | 11:26:00,012 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 11:26:00,027 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 11:26:00,027 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 11:26:00,027 ERROR [STDERR] at 
org.apac

[JBoss-user] [JBoss Seam] - Alternative solution. f:selectItems that use values backed b

2006-02-24 Thread liudan2005
When your jsf page needs to use values backed by an entity, here is how I do it 
in a simple way by writting a custom tag. All I need to do in jsf is declare it 
like this:


or like this if your list is a type of string:


you then write a UI component which extends UISelectItems and it has a method 
to convert your data list to SelectItem:
private List convertToSelectItems(List a_List,
String labelString, String valueString) throws 
Exception {
List result = new ArrayList();
for (Object item : a_List) {
Method labelMethod = 
item.getClass().getDeclaredMethod(labelString);
Object label = labelMethod.invoke(item);
Method valueMethod = 
item.getClass().getDeclaredMethod(valueString);
Object value = valueMethod.invoke(item);

result.add(new SelectItem(value, label.toString()));
}

return result;
}

This way, you don't have to do anything with your entity bean. Hope it's 
helpful for you.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926134


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Model MBean Issue

2006-02-24 Thread malmit
In sticking with the standards, I am trying to build a Model MBean which is not 
based off of the proprietary JBoss XMBean implementation.  Is this possible?  
From what I read in the Wiki it states that in 3.2.6 only the XMBean 
implementation was available "Although JBoss does not use any Model MBeans for 
its core services as of the 3.2.0 release, there is a Model MBean 
implementation known as an XMBean."

Please help!
Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926133


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Microcontainer] - Re: Porting application from SpringFramework to JBoss

2006-02-24 Thread [EMAIL PROTECTED]
What is the difference between this and using xml includes?
e.g.
http://anoncvs.forge.jboss.com/viewrep/JBoss/microkernel/docs/gettingstarted/en/master.xml?r=1.3

Why reinvent what already exists?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926132


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)

2006-02-24 Thread ScottMarlowNovell
Can you also let me know which version of JBoss Cache you are using?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926131


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to send a message to the JMS with a delay - like set

2006-02-24 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
FAQ

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926130


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Resource Adapter

2006-02-24 Thread [EMAIL PROTECTED]
The JMS Resource Adapter already handles the exception listener for you.
Since there is an exception listener, it will not log the ping timeout message.

Hence you are not using jms resource adapter for some connections
and not installing an exception listener on those connections.

Re: The other post.

I've seen this reported so many times. It is always user error.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926129


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Persistence Manager Strange Behaviour

2006-02-24 Thread aidan_b5
Found what the problem was; for the record:

An exception was being thrown because I wasn't cascading Entity.Persist in my 
ManyToOne relationships.

Now because the entity manager persists objects are the end of its life (i.e 
when the method returns from SRSFacadeBean), the transaction was being aborted 
altogether when the exception was thrown, hence it seemed odd things were 
happening.

Thanks anyway.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926128


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)

2006-02-24 Thread shadowdz
Ok, you're right . It's a Collection, my mistake. 
I'll try to find a simple testcase

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926127


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - jbpm database name

2006-02-24 Thread infmas
hi, 
I have an othre database name and i would like to connect to it, i have changed 
hibernate.properties :
hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:es41
but it seam not sufficient
i need help, thinks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926126


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Default values of JMS destination parameters.

2006-02-24 Thread [EMAIL PROTECTED]
No -1 means "infinite".

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926125


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >