[jboss-user] [JBoss Seam] - Re: convertEntity with non-Id key?

2007-08-06 Thread nickarls
Could it be considered a useful feature? Some sort of optional insertedValue 
property for s:selectItems? One would think that convertEntity would probably 
still have to do the same things...

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

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


[jboss-user] [JBoss jBPM] - Re: Memory usage in Workflow wait states

2007-08-06 Thread ZazzaZ
Thanks again.
The situation is the syncronization on a shared object.

Suppose in the wait state we have a code such

myObject.wait()

(or a similar method call that may block this process instance).


Will the process instance be saved automatically and free the memory it holded?

Bye

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

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


[jboss-user] [JBoss jBPM] - Simulataneous Task invocations

2007-08-06 Thread jagbalan
On a multi-threaded environment, if 2 threads invoke taskInstance.signal() what 
happens?

Does one end in java exception thrown back? If not, can it be programmed that 
way?

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

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


[jboss-user] [JBoss Seam] - Red Hat Developer Studio

2007-08-06 Thread nickarls
The Real-Soon-Now-Appearing Red Hat Developer Studio seem to have Seam support. 
Is there any information on what form this support will take? Is is just 
pre-configured libraries or are there other goodies coming?

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

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


[jboss-user] [JBoss Seam] - Re: EntityConverter: Entity Manager not found

2007-08-06 Thread Newlukai
Is it just since 1.2.1.GA that the entity has to be Seam managed? It could be 
an explanation for my problem. Fortunately since I tried to update to Seam 2 
and then went back to 1.2.1 the problem has gone. But I'm still interested in 
recovering the reason.

Therefore could you please tell me what steps are necessary to assure that 
those entities are Seam managed? And does this only refer to the entities which 
are in the list itself or also to the component which provides the list (which 
should be Seam managed since it's a component, isn't it?)?

Thanks in advance
Newlukai

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

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


[jboss-user] [JBoss jBPM] - Assigning Activities to a User in Group

2007-08-06 Thread jagbalan
I understand that an activity can be defined with a swimlane which can be a 
user or group. But I want to know if something like below is possible.
Activity A is assigned to User1
Activity B is assigned to Group2 (this has user2, user3, user4)

1. Now when User1 completes Activity A, he should be able to assign the current 
process to one of user2, user3 and user4. Say he assigns to user3.

2. Only user3 should be able to complete Activity B.

How to achieve these with jbpm?

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

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


[jboss-user] [JBoss Seam] - @Local blues

2007-08-06 Thread nickarls
Somewhat off-topic-rant but surely something seam-users suffers of also:

Does anyone know if there is a revision coming to the EJB3 specs that would 
remove the use of home interfaces for session beans? 

I find it strange that just by annotating a POJO you can turn it into an EJB 
but it can't just make an educated guess and extract the public methods (if it 
really is needed) if you haven't defined a home interface.

It would make Seam application much leaner also. Now there is always the "Look! 
Only 10 classes (plus 5 home interfaces, of course)"

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

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


[jboss-user] [JBoss Seam] - Recieving Mail with Seam

2007-08-06 Thread mokua_ombati
Hallo,
I have been trying to create a component for recieving email.
BTW,the component for sending mail is working quite nicely.

The problem is my component is not able to receive the mails and from the logs 
i get :


  | 2007-08-07 08:58:52,375 INFO  [STDOUT] DEBUG: JavaMail version 1.4ea
  | 2007-08-07 08:58:52,484 INFO  [STDOUT] DEBUG: 
java.io.FileNotFoundException: C:\Program 
Files\Java\jre1.6.0_01\lib\javamail.providers (The system cannot find the file 
specified)
  | 2007-08-07 08:58:52,484 INFO  [STDOUT] DEBUG: !anyLoaded
  | 2007-08-07 08:58:52,500 INFO  [STDOUT] DEBUG: not loading resource: 
/META-INF/javamail.providers
  | 2007-08-07 08:58:52,515 INFO  [STDOUT] DEBUG: successfully loaded resource: 
/META-INF/javamail.default.providers
  | 2007-08-07 08:58:52,515 INFO  [STDOUT] DEBUG: Tables of loaded providers
  | 2007-08-07 08:58:52,531 INFO  [STDOUT] DEBUG: Providers Listed By Class 
Name: 
{com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
 Microsystems, Inc], 
com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
 Microsystems, Inc], 
com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
 Microsystems, Inc], 
com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
 Microsystems, Inc], 
com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
 Microsystems, Inc], 
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
 Microsystems, Inc]}
  | 2007-08-07 08:58:52,531 INFO  [STDOUT] DEBUG: Providers Listed By Protocol: 
{imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun 
Microsystems, Inc], 
imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun 
Microsystems, Inc], 
smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
 Microsystems, Inc], 
pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun 
Microsystems, Inc], 
pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun 
Microsystems, Inc], 
smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun 
Microsystems, Inc]}
  | 2007-08-07 08:58:52,531 INFO  [STDOUT] DEBUG: successfully loaded resource: 
/META-INF/javamail.default.address.map
  | 2007-08-07 08:58:52,546 INFO  [STDOUT] DEBUG: !anyLoaded
  | 2007-08-07 08:58:52,546 INFO  [STDOUT] DEBUG: not loading resource: 
/META-INF/javamail.address.map
  | 2007-08-07 08:58:52,546 INFO  [STDOUT] DEBUG: 
java.io.FileNotFoundException: C:\Program 
Files\Java\jre1.6.0_01\lib\javamail.address.map (The system cannot find the 
file specified)
  | 2007-08-07 08:58:52,546 INFO  [STDOUT] DEBUG: setDebug: JavaMail version 
1.4ea
  | 2007-08-07 08:58:52,546 INFO  [STDOUT] DEBUG: getProvider() returning 
javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, 
Inc]
  | 2007-08-07 08:58:52,562 INFO  [STDOUT] DEBUG POP3: connecting to host 
"localhost", port 110, isSSL false
  | 2007-08-07 08:58:53,781 ERROR 
[org.jboss.resource.adapter.mail.inflow.MailActivation] Failed to execute 
folder check, spec=MailActivationSpec(mailServer=localhost, storeProtocol=pop3, 
mailFolder=INBOX, pollingInterval=6, messageSelector=null, userName=myname, 
maxMessages=1, debug=true)
  | 2007-08-07 08:59:54,421 INFO  [STDOUT] DEBUG: JavaMail version 1.4ea
  | 2007-08-07 08:59:54,750 INFO  [STDOUT] DEBUG: 
java.io.FileNotFoundException: C:\Program 
Files\Java\jre1.6.0_01\lib\javamail.providers (The system cannot find the file 
specified)
  | 2007-08-07 08:59:54,750 INFO  [STDOUT] DEBUG: !anyLoaded
  | 2007-08-07 08:59:54,750 INFO  [STDOUT] DEBUG: not loading resource: 
/META-INF/javamail.providers
  | 2007-08-07 08:59:54,750 INFO  [STDOUT] DEBUG: successfully loaded resource: 
/META-INF/javamail.default.providers
  | 2007-08-07 08:59:54,750 INFO  [STDOUT] DEBUG: Tables of loaded providers
  | 2007-08-07 08:59:54,750 INFO  [STDOUT] DEBUG: Providers Listed By Class 
Name: 
{com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
 Microsystems, Inc], 
com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
 Microsystems, Inc], 
com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
 Microsystems, Inc], 
com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
 Microsystems, Inc], 
com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
 Microsystems, Inc], 
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
 Microsystems, Inc]}
  | 2007-08-07 08:59:54,750 INFO  [STDOUT] DEBUG: Providers Listed By Protocol: 
{imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun 
Mi

[jboss-user] [JBoss jBPM] - Re: about the user forum

2007-08-06 Thread masipu
Yep.. the problem is that documentation doesn't follow the written code. And 
user guide isn't up-to-date anymore. And user forum has old tips. This is quite 
common problem in (os) projects that are in constant progress. I think it 
creates a bit of confusion and this is one reason why open source is criticised 
so much.

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

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


[jboss-user] [Beginners Corner] - Re: Issue with JBoss 4.2.1

2007-08-06 Thread j_lalith
Yes you are correct, old log4j file was in one of my applications, I had to 
upgrade it to the new one, now I could get the application server up.

Isn't there a better way to achieve the log4j class loading in isolation 
instead of impacting the other running applications.

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Remoting does not invoke my @WebRemote ?

2007-08-06 Thread samdoyle
Thanks a lot Michael for your help again. I'll be sure to check it out. I've 
managed to be able to get the other areas of Seam working as expected this is 
just one area which I have beating my head against a wall with.

S.D.

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

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


[jboss-user] [JBoss Tools (users)] - Re: 0.0 unindetified parser exception - in TILES files

2007-08-06 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBIDE-668

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

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


[jboss-user] [JCA/JBoss] - JBoss 4.0.4 java.sql.SQLException: No more data to read from

2007-08-06 Thread ashishanand
We have 2 machines each with identical JBoss 4.0.4 Server and Oracle 10g 
installation.
We have an application (war file) installed on both the system.

When trying to insert data into oracle database from within the application, it 
works fine on one machine, however, on the 2nd machine we encountered the 
following error. 

Oracle-ds.xml (for connection pooling) configuration on both the installation 
have identical configuration.


2007-08-07 11:15:43,078 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Saw 
org.jboss.system.server.started notification, starting connectors
2007-08-07 11:15:43,093 INFO  [org.apache.coyote.http11.Http11BaseProtocol] 
Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2007-08-07 11:15:43,218 INFO  [org.apache.jk.common.ChannelSocket] JK: ajp13 
listening on /0.0.0.0:8009
2007-08-07 11:15:43,234 INFO  [org.apache.jk.server.JkMain] Jk running ID=0 
time=0/94  config=null
2007-08-07 11:15:43,234 INFO  [org.jboss.system.server.Server] JBoss (MX 
MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] 
Started in 22s:297ms
2007-08-07 11:17:19,000 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: 
registering pool with interval 90 old interval: 9223372036854775807
2007-08-07 11:17:19,000 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about 
to notify thread: old next: 1186457089000, new next: 1186457089000
2007-08-07 11:17:40,015 WARN  
[org.jboss.resource.connectionmanager.TxConnectionManager] Connection error 
occured: [EMAIL PROTECTED] [EMAIL PROTECTED] handles=1 lastUse=1186456656140 
permit=true trackByTx=false [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] txSync=null]
java.sql.SQLException: No more data to read from socket
at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1118)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1070)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:478)
at 
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at 
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at 
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at 
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3400)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251)


Any help is appreciated.

Thanks in advance.
Regards,



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

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


[jboss-user] [JCA/JBoss] - Re: Message DB + Oracle database connection count problems

2007-08-06 Thread Malert
Hi, in the previous post i made a mistake conn is the Connection not 
ConnectionManager, 

Thank you,
Malert

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Changing datasource configuration causes Hibernate errors

2007-08-06 Thread treefield
Hi,

I am using Hibernate in a servlet and I have configured the hibernate.cfg.xml 
to use a Oracle datasource.  If I change this datasource (up max connections, 
change the idle timeout), any subsequent calls to the servlet will have the 
following error...

javax.resource.ResourceException: You are trying to use a connection factory 
that has been shut down: ManagedConnectionFactory is null.

I believe this has something to do with Hibernate caching the connection and 
using a connection that has been closed.  I assume that JBoss reallocates the 
connections and Hibernate has a dead reference to the old pool.  Perhaps this 
isn't really a JBoss issue but since this is all theory at this point, I 
thought I would ask...

Thanks!

Theresa

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

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


[jboss-user] [JBoss jBPM] - Where to route obsolete parent token in token multiplication

2007-08-06 Thread karmen38
Hi All,

Based on the examples from this forum and jBPM wiki I have implemented a custom 
action that accepts a list of items, generates a token for each item from the 
list, creates a variable with the list item for each token and sends the token 
further to the process. This action could be used in any node.

It all works perfectly but there is an original parent token that came to this 
node (with the list of items) that I do not need anymore. However, I would need 
all variables associated with this token because they are inherited by the 
children tokens generated by the action.

I could reuse this parent token as one of the child tokens but this is bad idea 
because of two reasons: a) there could be no items in the list so the question 
would still remain: where to route the parent token since no tokens should go 
along the process anymore; b) this new reused parent token would carry all the 
variables inherited by all other child tokens which is not right - some 
variables should be private for each token.

I could also create a decision node later in the process flow that would route 
the parent token to the end of the process based on some business value - this 
parent token will definitely lack some important variable, f.i. the one which 
keeps the item from the list - all siblings would have it but the parent would 
not. This solution would complicate the process topology unnecessary.

I could not end this parent token because it will effectively terminate all 
children with all the variables. I could not also suspend this token because I 
would not know when to restart it and (eventually) where to route it after 
un-suspend.

So the question is: is there any way to route this parent token in the action 
code right to the end of the process or to some designated node (join?) where 
it would wait for all of its children without having the process to know about 
it?

Thank you,
Mark

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Publish once but get 8 replicated message on the topic

2007-08-06 Thread treefield
Hi,

I looked around and found some sample code to publish to a JBoss topic...

   public static boolean publish(String xml) throws Exception
  |{
  |   log.info("Creating jndi context - alternatively use a 
jndi.properties");
  |   Properties properties = new Properties();
  |   properties.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  |   properties.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces");
  |   properties.put(Context.PROVIDER_URL, "jnp://myserver:1099");
  |   InitialContext ctx = new InitialContext(properties);
  |   
  |   Topic topic = (Topic) ctx.lookup("topic/myTopic");
  |   TopicConnectionFactory tcf = (TopicConnectionFactory) 
ctx.lookup("ConnectionFactory");
  |   TopicConnection tc = tcf.createTopicConnection("user","pwd");
  |   try
  |   {
  |  TopicSession ts = tc.createTopicSession(false, 
Session.AUTO_ACKNOWLEDGE);
  |  TopicPublisher publisher = ts.createPublisher(topic);  
 
  |  TextMessage message = ts.createTextMessage(xml);
  | 
  |  publisher.send(message);
  |  publisher.close();
  |  tc.close();
  |  return true;
  |   }
  |   catch(Exception e){
  |  log.error("Exception thrown trying to send to topic", e);
  |  return false;
  |   }
  |   finally
  |   {
  |  tc.close();
  |   }
  |}

If I disable the subscriber to the topic and look in the JMS_MESSAGES table (HA 
JMS is configured), I find 8 duplicated messages.  There is no looping and only 
a single subscriber has been configured.  Since this is the first tested topic 
other than the samples that come already installed, this is the only custom 
configuration so far.  I set up the topic in the *-service.xml file as 
follows...

  
  | jboss.mq:service=DestinationManager
  | jboss.mq:service=SecurityManager
  | 
  |
  |  
  |  
  |  
  |   
  | 
  |   

I am not sure what could be causing the superfluous messages.  Is there a known 
issue with publishing to topics?  I am using JBoss 4.0.2 and JDK 1.5.

Thanks in advance!

Theresa



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

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


[jboss-user] [JBoss Seam] - Re: Remoting does not invoke my @WebRemote ?

2007-08-06 Thread [EMAIL PROTECTED]
I added a glassfish example for seam remoting in examples/jee5/remoting. Please 
check it out for config examples.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Maven + Embedded EJB + JPA +EJB 3.0 getting Null name

2007-08-06 Thread r_sudh
Took me a while to get this but here it is:

The persistence.xml should look almost exactly like below:


  | 
  | java:/MyDB
  | 
  | 
  |
  |
  | 
  | 

Each tag should be in one single line with no line breaks. The Null name I was 
getting is most likely a bug in parsing this persistence.xml file with line 
breaks.

Also, since I was coming from a toplink background I found that the data source 
has to be name "java:/MyDB" as opposed to "jdbc/MyDB"

Then make sure you have the corresponding data source defined in 
embedded-jboss-beans.xml as below


  |   com.mysql.jdbc.Driver
  |   jdbc:mysql://dev1:3306/mydb?user=root&password=hello
  |   java:/MyDB
  |   
  |   
  |   
  |
  | 


Finally here is a method that will test your code:

  | public void create() throws Exception {
  | Owner owner = new Owner();
  | OwnerData ownerData = new OwnerData();
  | ownerData.setName("Test Company");
  | ownerData.setContact("Richard");
  | ownerData.setPhone("979-777-");
  | owner.setOwnerData(ownerData);
  | 
  | EJB3StandaloneBootstrap.boot(null);
  | EJB3StandaloneBootstrap.scanClasspath();
  | 
  | InitialContext ctx = getInitialContext();
  | 
  | OwnerDAO dao = (OwnerDAO) ctx.lookup("OwnerDAOBean/local");
  | dao.create(owner);
  | EJB3StandaloneBootstrap.shutdown();
  | } 

I was having problems trying to get the lookup to work when the container was 
being started by a BeforeGroups method. But I've save that for another post. 
Once you get it all working it's pretty cool :)

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - SSL and JBoss 4.2.0 GA

2007-08-06 Thread EnriqueI
Hi. I did a brief search of the forums and didn't really find anything that 
helped me. I have my keystore ready to go, and I want to implement it into 
JBoss. (so that I can have my Jboss applications running over SSL). 

Any help would be greatly appreciated. 

Thanks, 

Enrique I. 

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad: Validation still not working

2007-08-06 Thread wschwendt
"wschwendt" wrote : it looked to me as if it could be a state restoration 
issue.   
  | 
  | When the view tree is constructed during the first RENDER RESPONSE phase, 
the validator properties (attributes such as minimum or maximum) are stored.
On a subsequent faces request, this state is supposed to be restored during the 
RESTORE VIEW phase.  But it appears that this isn't working correctly.
  | 

the debugging clearly revealed that validator properties are not correctly 
restored.

So it's absolutely no surprise that validation in turn doesn't work.

For example, if f:validateLongRange is applied to a component and its "minimum" 
and "maximum" properties are not restored correctly during RESTORE VIEW, the 
validator does nothing.

Further note that trinidad-impl-1.2.1.jar contains a faces-config.xml in 
META-INF, which replaces the standard JSF RI validators with a Trinidad 
implementation of these validators.


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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread [EMAIL PROTECTED]
to integrate with the JAAS security realm, your best bet/cleanest solution 
would be to write your own Tomcat Authenticator (which is actually a form of 
Tomcat Valve)

Authenticators are actually pretty simple in tomcat and best source of "How To" 
is the tomcat source code and see how the existing Authenticators like Form, 
basic, etc are written.

You should be able to write your own looking at that.


On the otherhand, I don't know what your authentication requirements are but 
most of the times LoginModules are able to create application state just fine. 
You have access to the HttpServletRequest, HttpServletResponse, and HttpSession 
inside your LoginModule, so what other objects do you need to populate/setup 
the proper LoginContext for your application?

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad: Validation still not working

2007-08-06 Thread wschwendt
A big thank you for posting this!   Incidentally, I already spent the entire 
day on this trinidad validation mess.

Backdrop:  I had problems getting the Hibernate validator to work with the 
CVS-based Seam (solved in the meantime thanks to Pete Muir's helpful response): 
 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115318

So I thought: Why not use the JSF validators as temporary workaround?  And then 
I noticed that the JSF validators fail to work correctly when Trinidad is 
involved.  What's more, the Hibernate validator annotations don't work either 
in combination with s:validate all and Trinidad (one can  test this by 
modifying Seam-discs).


anonymous wrote : Any idea why this is not working?

no real idea, but I debugged it and it looked to me as if it could be a state 
restoration issue.   

When the view tree is constructed during the first RENDER RESPONSE phase, the 
validator properties (attributes such as minimum or maximum) are stored.On 
a subsequent faces request, this state is supposed to be restored during the 
RESTORE VIEW phase.  But it appears that this isn't working correctly.

The culprit could possibly be 
org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState()   or a related 
method.  

StateUtils.restoreState() is called from 
org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap. 


  | // org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap 
  |  public void restoreState(
  | FacesContext context,
  | FacesBean.Type type,
  | Object state)
  |   {
  | StateUtils.restoreState(this, context, type, state, 
getUseStateHolder());
  |   }
  | 
  | 


Until FlaggedPropertyMap.restoreState() is called, the restoration process 
looks ok to me  (at least the argument named "state" correctly contained the 
validator properties). 

A Trinidad expert would need to look at this, where exactly the state 
restoration fails.




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

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


[jboss-user] [Javassist user questions] - Javassist 3.5.SNAPSHOT Maven2 POM broken on Mac OS X

2007-08-06 Thread [EMAIL PROTECTED]
I've been playing around with maven2, using it to include microcontainer 
dependencies into JBoss Cache, and see the following:

  | 
  | [INFO] 

  | [ERROR] BUILD ERROR
  | [INFO] 

  | [INFO] Failed to resolve artifact.
  | 
  | Missing:
  | --
  | 1) com.sun:tools:jar:1.5
  | 
  |   Try downloading the file manually from the project website.
  | 
  |   Then, install it using the command: 
  |   mvn install:install-file -DgroupId=com.sun -DartifactId=tools \
  |   -Dversion=1.5 -Dpackaging=jar -Dfile=/path/to/file
  | 
  |   Path to dependency: 
  | 1) jboss:jbc21test:jar:2.1
  | 2) jboss:jboss-aop-mc-int:jar:2.0.0-SNAPSHOT
  | 3) jboss:jboss-aop:jar:2.0.0-SNAPSHOT
  | 4) javassist:javassist:jar:3.5-SNAPSHOT
  | 5) com.sun:tools:jar:1.5
  | 
  | 

Googling around for a bit, I see the following that are relevant:

http://jira.codehaus.org/browse/MNG-806
http://jira.codehaus.org/browse/MNG-869
http://maven.apache.org/general.html#tools-jar-dependency
http://developer.apple.com/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html

The problem with defining tools.jar as a dependency - even as a "system" scope 
dependency - is that this is only specific to Sun JDKs.  Other JDKs (like 
Apple, which I use) have tools.jar classes in the Classes.jar archive, which is 
already in your classpath.

Basically, from what I gathered, this block in javassist's pom should only be 
enabled if the vendor name includes Sun Microsystems:

  
  | 
  |   jdk14
  |   
  | 1.4
  |   
  |   
  | 
  |   com.sun
  |   tools
  |   1.4
  |   system
  |   ${java.home}/../lib/tools.jar
  | 
  |   
  | 
  | 
  |   jdk15
  |   
  | 1.5
  |   
  |   
  | 
  |   com.sun
  |   tools
  |   1.5
  |   system
  |   ${java.home}/../lib/tools.jar
  | 
  |   
  | 
  |   
  | 
  | 

Cheers,
Manik


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

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


[jboss-user] [JNDI/Naming/Network] - javax.naming.NoInitialContextException trying to connect to

2007-08-06 Thread atuljboss
I have a simple setup where I am trying to connect to a remote JMS queue using 
a MDB. Jboss and JDK versions are  Jboss 4.0.4GA and JDK 1.4.2_11 respectively. 
I have configured the MDB Jboss instance as well as the queue host where the 
JMSProvider is configured (the default JbossMQ provider) as per the JBoss 
documentation

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

But when I try to start the JBoss where the MDB is deployed I get this as JBoss 
is starting up. This exception comes during the deployment of the MDB. The MDB 
does get deployed properly but the server keeps retrying to connect to the 
remote JMS provider (default every 10 seconds) and this exception is repeated.


javax.naming.NoInitialContextException: Cannot instantiate class: 
org.jnp.interfaces.NamingContextFactory[Root exception is 
java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory   
]
at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at 
org.jboss.jms.jndi.JNDIProviderAdapter.getInitialContext(JNDIProviderAdapter.java:44)
at 
org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:177)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:839)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

I would greatly appreciate if anybody has faced this issue and resolved it. If 
you can guide me as to where I may has a misconfiguration that would be great 
as well.


The JMS provider is configured in the jms-ds.xml as follows -

  
  
ABC-JMSProvider
org.jboss.jms.jndi.JNDIProviderAdapter

XAConnectionFactory

XAConnectionFactory

   java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
   java.naming.factory.url.pkgs=org.jnp.interfaces
   java.naming.provider.url=ABCServer:1099

  
 

The MDB configuration is as follows (jboss.xml) -


   
  
 Abc-mdb-invoker
 does-not-matter
 
org.jboss.ejb.plugins.jms.JMSContainerInvoker
 
ABC-JMSProvider
StdJMSPool
1
15
3
1

   10
   
  queue/DLQ
  10
  0
   

 
  
   
   
 
   TestMdb
 queue/TestQueue 
 
  
   
Abc-mdb-invoker

 
 
   




Thanks in Advance.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.2.1 web app?does not display deployed process

2007-08-06 Thread jdickins
Hey all,

I am sorry to leave everyone hanging but I have been a temporary developer for 
a US university for the past 2 months and my job ends today. I would like to 
thank everyone, jeffcwang, msandoz and Koen for all of the help you have given 
me. My supervisor may come back to this post, but as deployment is working on 
her machine I'm not sure she will.

Sorry, but as my process definition is made up from a process tons of other 
people developed, I don't think it would be right to post my process definition 
without their permission (and they haven't gotten back to me about giving it).

And jeffcwang, if I'm reading you problem right you might want to check out  
the relationship between the the task controller and fields associated with 
each task in the getting started wiki:

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

Obviously you're way beyond the basics of this document, but I have found it 
actually pretty rich in help when attempting to diagnose faulty behavior. 

As I understand it task-variables are what appear next to the writable boxes in 
the web app-- ie, in the old websale example, the input field where cookie 
monster wrote the number of cookies he wanted, word "amount" was what the jbpm 
user inputed as a task-variable when the workflow was being designed initially. 
Sections 11.4 and 11.5 of the jbpm userguide might help here.

http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html#taskinstancevariables

In the response to your other question, I have plugin version 3.2.1. When I was 
using Europa I had the "server deployer" section in my deployment tab. In 3.2 I 
think I can which server I am deploying to using the path Windows-> 
Preferences->JBoss jBPM->Runtime locations. This also works in Europa. The UI 
has changed 3 times in my time working w/ jBPM. I think at least once it was 
because I changed versions. It turns out (at least for what I'm doing) that the 
web app (which I think is only meant to be a sample and is supposed to be 
customized by users who wish to do so) is functional no matter what the UI 
looks like. 

Anyway, Thanks again to all the jBPM folks. Learning from ya'll is a lot more 
interactive, varied and intense than learning in school. Which is what I'll be 
doing next. Thanks again!

>From Jessica

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad: Validation still not working

2007-08-06 Thread stephen.friedrich
Did some debugging and research and found that this was already reported as 
JBSEAM-1667 but seems to be an issue with Trinidad.

I'll try and test with a newer Trinidad version.

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
If there is a simple way to move away from container managed FORM-based 
authentication for JBoss Portal and invoke the security realm explicitly, 
keeping everything else the same, that would work perfect for me.

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
"So in your case I would recommend using a Tomcat Valve to process your 
authentication and set up the Subjects the way JAAS does it inside Tomcat. "

Is this my ONLY option? I am not familiar with either how Tomcat valves work, 
or how subjects are set inside Tomcat, so it might be a little painful to get 
this done in a day or so :( 

"btw- why can't you re-use JBoss Portal's JAAS mechanism and just plug in your 
own LoginModule for your application specific authentication logic? "

Could you elaborate on this? I've implemented a number of custom login modules 
that are stacked. I was able to authenticate the users against this security 
realm SO LONG as I used container managed authentication and j_security_check. 
Everything worked fine. But, I need to move away from that and explicitly 
initialize the LoginContext (using the same security realm) due to some other 
reason and that is where things are not working.

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

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


[jboss-user] [JBoss Portal] - Servlet Filter issue with Jboss Portal 2.6

2007-08-06 Thread nidhi_hs
My requirement is to check if the user has logged in when a particular page is 
clicked in the portal. If the user has not logged in then I have to redirect to 
login page. 

To achieve this I went about defining a servlet filter in web.xml file to 
intercept the user request. However the doFilter method in my filter class does 
not get invoked. 

Am I missing something ? Any help on this greatly appreciated.

Regards
Nidhi

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

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


[jboss-user] [JBoss Portal] - JBoss Portal : Best Practices

2007-08-06 Thread explorer
Can any one help me out in understanding what are the best practices in 
developing a JBoss portal application.

1) Is it good to alter portal.sar's defualt-object.xml for making your portal 
default.
2) Is it good to deploy your web application in jboss-portal.sar.
3) Is it good to have your own portal.sar.
4) Is it good to have your portal.sar outside the jboss-portal.sar.
5) Is it good to have our own Header Portlet, instead of altering the 
header.jsp/tabs.jsp
6) Whats the best way to generate bread crumbs. Making it as a portlet?
7) If we have our-own sar going into jboss-portal.sar, how to hot deploy.


I have some EventListeners which need to be registered through 
jboss-service.xml and so i happened to put them in my own sar and put it under 
deploy of jboss server.

But i am facing some issues in there.

One unique issue is when i am trying to access 
Navigation.getPortalRuntimeContext(), some times it works fine and somtimes.. 
It throws me a NullPointerException.

Is it something to do with my sar being outside.

any ones explination on these issues is highly appreciated.


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

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


[jboss-user] [JBoss Portal] - Re: How to get the subject in version 2.6?

2007-08-06 Thread kpalania
I guess I could do something like this:

  |   Subject subject = (Subject) PolicyContext
  |   .getContext("javax.security.auth.Subject.container");

But, how can I set this? Essentially, I want to set this to the new subject 
(with the additional principals) so that when the JBoss Portal JACC* APIs do a 
call like the above, they get the updated/modified subject.

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

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


[jboss-user] [JBoss Seam] - Re: session-scoped rich:tree

2007-08-06 Thread dustismo
You need to bind the rich:tree to a session scoped variable.  So you do 
something like this:

  | 
  | 

Then in your session scoped 'myBean' you have a variable 'tree' of type UITree..

-Dustin

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

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


[jboss-user] [JBoss Seam] - Re: Stateless vs Stateful Bean

2007-08-06 Thread dro_k
I am in the same situation... does anyone know the answer to this one? What's 
the best practice. To use Stateless Session Beans + Injected Beans from 
HTTPSession/Conversation/etc for keeping the state or keeping the state in a 
Stateful Session bean?

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

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


[jboss-user] [JBoss Seam] - login re-direct (possible doco problem 13.4.6)

2007-08-06 Thread [EMAIL PROTECTED]
Seam dod says add this to components.xml (Seam 2.0 Beta)




I get a warning:

Severity and DescriptionPathResourceLocation
Creation Time   Id
cvc-complex-type.4: Attribute 'expression' must appear on element 'action'. 
SecWeb/WebRoot/WEB-INF  components.xml  line 27 1186438702046   44453
Severity and DescriptionPathResourceLocation
Creation Time   Id
cvc-complex-type.4: Attribute 'expression' must appear on element 'action'. 
SecWeb/WebRoot/WEB-INF  components.xml  line 27 1186439446625   44455

in the schema (http://jboss.com/products/seam/components-2.0.xsd) it appears:





I think this implies that only expression is there (and is required to be 
there!)

Please advise what the solution to this is?



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

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


[jboss-user] [Beginners Corner] - JBoss Integration with Predeveloped Java NIO Sockets Client/

2007-08-06 Thread formula1raceking


Here is a message from one of my colleagues at work:


This question keeps appearing and keeps getting worked around, but I think this 
time we?re not going to be able to avoid it:

 

TomW is going to be implementing an ITransport that uses sockets directly.  It 
will listen on a port to receive files, and will bind directly to a port to 
send files.

 

The catch is, it is going to have to communicate with components that are 
running inside JBoss.

 
We can?t pull all of the components into JBoss so everything is running in the 
same VM ? not unless Tom writes his component as a JBoss service.

 

Considering the goal here is to squeeze out as much performance as we can, we 
probably don?t want to have inter-JVM communication happening via SOAP? I?m not 
sure whether EJBs make sense, either.  But this is something we have to solve 
before we go too far into implementing something we don?t know how to integrate.

 

Thoughts?  Miracles?



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

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


[jboss-user] [JBoss Seam] - Re: Dynamic data sources with EntityManager

2007-08-06 Thread wiberto
I think I got this figured out now!!!

I was able to create my own persistence context as I stated in the previous 
post, and I'm then creating my own entitymanager factory. there I point to the 
the persistence unit I want to use.

Now the issue I have is that I want to pass overrides to the entitymanager 
factory. My persistence.xml looks like this:


  | 
  | org.hibernate.ejb.HibernatePersistence 
  | com.numbersinsight.data.customer.User
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | java:jdbc/numins
  | 
  | 

The connection is always made using the data source deifnintion. If I take that 
out the application will not deploy complaining about not having a data source 
defined. Do you know of a way to not have that data source defined and have it 
use the properties?

This way it will make it easy to load the properties and configure the 
connection properties at runtime based on the user.

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

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


[jboss-user] [JBoss Portal] - How to get the subject in version 2.6?

2007-08-06 Thread kpalania
import org.jboss.portal.security.SubjectAssociation;
  | import org.jboss.portal.security.PortalSubject;
  | 
  | PortalSubject subject = SubjectAssociation.getSubject();

What is the equivalent of this in JBoss Portal 2.6?


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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread [EMAIL PROTECTED]
krish-

JBoss Portal relies on JAAS/Tomcat integration for setting up the Portal 
security Subjects.

So in your case I would recommend using a Tomcat Valve to process your 
authentication and set up the Subjects the way JAAS does it inside Tomcat.

There is a fair bit of hacking involved here.


btw- why can't you re-use JBoss Portal's JAAS mechanism and just plug in your 
own LoginModule for your application specific authentication logic?

Thanks

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

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


[jboss-user] [JBoss Seam] - Trinidad: Validation still not working

2007-08-06 Thread stephen.friedrich
I haven't been able to get s:validateAll to work with tr:inputText
(JBoss Seam CVS, Trinidad 1.2.1, JBOss AS 4.2.1)
The bug can be reproduced with seamdiscs example, when adding @Length(min=3, 
max=32) to Disc.name declaration.

When trying to add a short or longer name the following exception occurs:

Additionally the error handling fails: A 404 is displayed with this URL: 
http://127.0.0.1:8080/seam-discs/disc.seam/error.xhtml?cid=6

I noticed that http://jira.jboss.com/jira/browse/JBSEAM-501 is fixed and indeed 
when I debug I see that in ValidateAllRendererBase.addValidators() in fact 
there is a validator added to the trinidad input component.

Any idea why this is not working?

23:48:05,281 FATAL [application] org.hibernate.validator.InvalidStateException: 
validation failed for: org.jboss.seam.example.seamdiscs.model.Disc
  | javax.faces.el.EvaluationException: 
org.hibernate.validator.InvalidStateException: validation failed for: 
org.jboss.seam.example.seamdiscs.model.Disc
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:346)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
  | at 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:82)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:149)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.

[jboss-user] [JBoss Portal] - Re: Moving away JBoss Portal from FORM-based authentication

2007-08-06 Thread kpalania
Related thread:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4071378#4071378

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
Thanks Sohil. Yes, this is exactly what I am doing (I also tried using the 
JBoss TransactionManager class directly, and that worked too). Now, I am able 
to explicitly set the "portal.principal" session attribute to this user but 
like I mentioned earlier, it still doesn't help.

The principals are not set by JBoss Portal and therefore, I can't access the 
portal. Authentication is done using a custom security realm and all of it goes 
through fine but for some reason, it doesn't find the principals.

If you could suggest a way to set the principals manually after doing the 
authentication, that would be immensely helpful. Thanks.

- krish

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

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


[jboss-user] [JBoss Seam] - session-scoped rich:tree

2007-08-06 Thread schmod54
I would like to have a rich:tree on a page such that its data model is 
session-scoped, i.e., the user expands/collapses nodes on the tree, navigates 
away from the page, and the tree is in the same state if the user returns 
within the same session.  Any ideas on how to do this?  Thanks!

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

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


[jboss-user] [JBoss jBPM] - Re: showing image of current process stage

2007-08-06 Thread Heiner Niehues
I have also this problem.. that the rectangle are not at the right place.
But i used a javascript library 
(http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm)
to create the rectangle.
I use a offset to fix it.  I will take a look tomorrow more.


  | 
  | Show the Picture
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Heiner

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - .har and webapp classloader clash

2007-08-06 Thread ssuyamboo
Hi,
I deploy the hibernate related configuration files in .har file and few of the 
classes which are part of .har are also part of .war file. 

When I tried to cast few classes which are returned by hibernate and   loaded 
by both class loaders , I ended up with classcastexception.

Can anyone share experience on how to handle this? Can I force the server to 
use only use classes loaded by one loader instead of both?

Thanks
Sun

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread [EMAIL PROTECTED]
kpalania-

UserModule needs to be called within the context of an already active 
Transaction.

Try something like this:


  | SessionFactory identitySessionFactory = (SessionFactory)new 
InitialContext().lookup("java:/portal/IdentitySessionFactory");
  | Session session = identitySessionFactory.openSession();
  | Transaction transaction = session.beginTransaction();
  | boolean success = false;
  | try
  | {
  | UserModule  userModule = (UserModule) new
InitialContext().lookup("java:portal/UserModule");
  | User user = userModule.findUserByUserName("admin");
  | 
  | //other business logic etc etc
  | 
  | success = true;
  | }
  | finally
  | {
  |  if (transaction != null)
  |  {
  | if (success)
  | {
  |transaction.commit();
  | }
  | else
  | {
  |transaction.rollback();
  | }
  |  }
  | 
  |  if (session != null)
  |  {
  | session.close();
  |  }
  | }
  | 

This code maynot compile as is, but you get the idea ;)

Thanks

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
ok, i think i found it. i am doing it programmatically using the 
JBossTransactionManagerLookup.getTransactionManager() API. 

While this works, and I am able to explicitly set the "portal.principal" 
session attribute to a HashMap that contains the Portal User object, I am still 
not able to get past the main issue which is JBoss Portal not finding the 
principals though the user has been authenticated.

The only thing to note here is that there are 2 applications here, and the 
session contexts are different.

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

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


[jboss-user] [JBossWS] - Re: JBoss 4.0.x migration to 4.2.x

2007-08-06 Thread dlgrasse
A quick followup on this...although I was able to get the webservice working 
with the afore-mentioned jaxrpc-mapping file changes, I am getting some 
undesirable behavior.  Namely the nested tags now have to be resolved with a 
namespace.  At least I'm suspecting that the jaxrpc-mapping changes have caused 
this need.

As an example, the input XML now has to look like this:

  | http://schemas.xmlsoap.org/soap/envelope/";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | >
  | 
  | 
  |   
  | 2005-08-17T18:13:42.417Z
  | RefLists
  |   
  | 
  | 
  | 

whereas before it could look simply like this:

  | http://schemas.xmlsoap.org/soap/envelope/";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | >
  | 
  | 
  |   
  | 2005-08-17T18:13:42.417Z
  | RefLists
  |   
  | 
  | 
  | 

So it appears that since I can't define mappings Java<->WSDL elements, that as 
a result I have to resolve the schema elements in the payload.  Any thoughts on 
this?  Is there a way to provide jaxrpc-mapping java-xml-type-mapping's to WSDL 
elements?  Or some other way to avoid the inner-tags being resolved?  I was 
able to do this prior to before migrating to either JBossWS1.2.1 or JBossWS2.0.

dlgrasse

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

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


[jboss-user] [JBoss jBPM] - Re: GPD-78 Adding ConfigInfoElements to Actions and nested C

2007-08-06 Thread jorell
Thats fine. I'm not worried about the UI that much since I can extend the 
plugin to provide my own UI. But the Config Info adapter class is not 
extendable as of now.
I'll create Jira issues for these problems.
Thanks
-Imran

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
Thanks folks, but I am not making this call in a portlet. I am trying to 
authenticate the user WITHOUT using the Out-of-the-box FORM-based 
authentication and as part of these changes, I've disabled FORM-based 
authentication, created a new servlet that does the authentication and a 
redirect based on the user's original request.

So, I need to get a handle to the UserModule (and therefore, the user) outside 
the scope of a JBoss portlet. How can I accomplish this? Thanks very much for 
your help.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Setting the ID of the entity manually before persist

2007-08-06 Thread trouby
Hello,

I have some simple entities with ID annotated  as:

  | @Entity
  | @Table(name="MY_TABLE")
  | public class MyEntity {
  | private Long id;
  | 
  | @Id @GeneratedValue
  | @Column(name="ID")
  | public Long getId() {
  |return id;
  | }
  | 
  | public void setId(Long id) {
  |   this.id= id;
  | }
  | }
  | 

When I try to create a new entity and set its ID manually I get an exception,

here's a sample code:


  | MyEntity my = new MyEntity();
  | my.setId(new Long(4));
  | my.setSomeMoreMethods(...)
  | ..
  | em.persist(my);
  | 

I get the following exception


23:02:31,281 FATAL [application] Failed to perform the operation, failure 
message: javax.persistence.PersistenceExceptio
n: org.hibernate.PersistentObjectException: detached entity passed to persist: 
velo.entity.ActionLanguage
javax.faces.el.EvaluationException: Failed to perform the operation, failure 
message: javax.persistence.PersistenceExcep
tion: org.hibernate.PersistentObjectException: detached entity passed to 
...


Why is that? The entity is NOT detached, it never got persisted, and I would 
like to set the ID manually sometime before persisting...

btw: If I invoke em.merge(my); it works, but it persist the object with new IDs


So, is that possible? with TopLink it wasn't a trouble,


Thanks,


Asaf.

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

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


[jboss-user] [JBoss Seam] - Embeded xxx questions...

2007-08-06 Thread Stateless Bean
Hi,
In seam 1.2.1GA i Embeded EJB for Tomcat, but in Seam 2 there is Embedded 
JBoss..
Can anyone explain me differences? I understand it's fully packaged JBoss EJB 
soft into tomcat, yes?

2. In seam 2, I need configure/copy special files but I want to run quartz 
asynch..., Can I configure only Embeded EJB, Seam 2 on tomcat without copying 
so many files, just like Seam 1.2.1?

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread indyJones
forgot somthing


   
  UserManagerPortlet 
  
 Required
  
   


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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread indyJones
kpalania,

In your web app, you need a WEB-INF/jboss-portlet.xml.

Inside there try adding this...

anonymous wrote : 
  | 
  | 
  |
  |   NameofYourPortlet 
  |   
  |  Required
  |   
  |
  | 
  |
  |   UserModule
  |   org.jboss.portal.identity.UserModule
  |   :service=Module,type=User
  |
  | 
  | 
  | 
  | 

thanks

indy

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread [EMAIL PROTECTED]
kpalania-

You need to call this in the context of an active Transaction

Thanks

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

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


[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
Error stack:

  | org.hibernate.HibernateException: Unable to locate current JTA transaction
  | at 
org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61)
  | at 
org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:542)
  | at 
org.jboss.portal.identity.db.HibernateUserModuleImpl.getCurrentSession(HibernateUserModuleImpl.java:291)
  | at 
org.jboss.portal.identity.db.HibernateUserModuleImpl.findUserByUserName(HibernateUserModuleImpl.java:91)

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

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


[jboss-user] [EJB 3.0] - java.lang.IllegalArgumentException: Unable to find operation

2007-08-06 Thread jbelis
Hi,

I am using jboss 4.0.5 GA installed with JEMS 1.2.0 (ejb3-clustered).  I assume 
the EJB version that is used as a result is 
 EJB 3.0 RC9 - Patch 1
although I can't really tell from my installation.

I am trying to have an ejb3 module invoke an operation exposed by an mbean 
deployed outside the ear file that contains my ejb.  It says it is unable to 
find the operation despite the fact that I can see it using the jmx console.  
What seems to be happening is that arguments are lost along the way.  

Here is the stack trace:

  | java.lang.IllegalArgumentException: Unable to find operation 
lookupDataSource()
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:231)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:175)
  | at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
  | at 
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
  | at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
  | at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
  | at 
org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
  | at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
  | at 
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
  | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
  | at $Proxy150.lookupDataSource(Unknown Source)
  | 

lookupDataSource actually takes 2 arguments.  I can see the arguments in the 
jmx console.

The same exact code and configuration works on 4.0.4GA (non-clustered)

I looked at bug 
  http://jira.jboss.org/jira/browse/EJBTHREE-868
which has some similarities with my problem.  Unfortunately given the lack of 
context provided in the bug report, it is hard to assert the issue is the same.

I have not upgraded to 4.2.x and would prefer not to if I can avoid it.

Thanks in advance for the help.


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

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


[jboss-user] [JBoss Portal] - Cannot retrieve user: Unable to locate current JTA transacti

2007-08-06 Thread kpalania
I am trying to retrieve a user from the JBoss Portal DB using the APIs 
provided, and I am running into a JTA Transaction exception ("unable to locate 
currentJTA transaction"). I've confirmed that the SessionFactory object used in 
HibernateUserModuleImpl is not null.

 
  | UserModule  userModule = (UserModule) new 
InitialContext().lookup("java:portal/UserModule");
  | User user = userModule.findUserByUserName("admin");
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: GPD-78 Adding ConfigInfoElements to Actions and nested C

2007-08-06 Thread [EMAIL PROTECTED]
I think you simply have to create a jboss account on the jboss home page. Then 
you are allowed to file issues in JIRA. Meanwhile, I will reopen the issue and 
look at it this week. 
But note that it will not be possible to configure these complex structures out 
our the box with the current properties view.

Normally the GA release of the new GPD will be available next week.

Regards,
Koen

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

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


[jboss-user] [JBoss Portal] - Re: Problem while retrieving user details from db

2007-08-06 Thread kpalania
Did you find the solution? I am running into a similar issue.

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

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


[jboss-user] [EJB/JBoss] - Clean resources at the end of the transactions

2007-08-06 Thread avihaimar
Hey, 

I need to clean some resources at the end of the transaction (CMT ,User 
Transaction). 

Can you please advice how to do this?

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2, pages.xml and pageflow

2007-08-06 Thread rlhr
Hi Pete,

Did you get time to take a look at this?
I really need this to work or at least to have a workaround. I'm willing to 
look into it but I'll need some hints. If you have an idea what the problem is 
and what need to be done, I'll be happy to implements a fix and test it, then 
at least you guys have a quick fix for now and I can move forward with that.

Of course, no pressure :)

Richard

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Persistence context isnt propograte in the same transaction

2007-08-06 Thread avihaimar
Hey, 

I work with JBoss 4.2. 

I create entity manager and use it to persist hotel. 
Than i create additional entity manager and use it to find the hotel that i 
saved with the first one. 

I get null (it didnt find it), unless i call to flush on the first one. 

According to the spec in JTA env the persistence context is bound to the 
transaction. 

Does any one know how to solve this?

Thank you. 
p.s - dont say injection. i cant use injection. 

I wrote a stataless bean: 
@Stateless 
@Local(HotelService2.class) 
@Remote(HotelService2.class) 
public class HotelServiceBean2 implements HotelService2 { 


and in the stateless i have the following method: 

   public void createEntityManagerFactory() { 
  try { 
 FactorySingleton.getInstance(); 
 EntityManagerFactory emf2 = (EntityManagerFactory) new 
InitialContext().lookup("java:/DemoEMF"); 
 EntityManager em = emf2.createEntityManager(); 
 Hotel hot = new Hotel("ab",""); 
 em.persist(hot); 
 //em.flush(); 
 EntityManager em2 = emf2.createEntityManager(); 
 Hotel foundHot = em.find(Hotel.class, hot.getOrmID()); 
  } catch (Exception e) { 
 // TODO Auto-generated catch block 
 e.printStackTrace(); 
  } 

   } 


 
   
java:/InsiteDS 
 
 
   
   
 
   
 


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

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


[jboss-user] cann't access jmx-console

2007-08-06 Thread Siwei Zhang
Hi there,

 

I have downloaded jboss-4.2.0.GA.zip and installed it on Debian 3.1 but
cann’t access it via web GUI to http://host:8080/jmx-console.

Could someone help? The followings are the procedures I used to install
and start jboss. Thanks.

 

Kevin SZ

 

%jar –xvf jboss-4.2.0.GA.zip

% cd jboss-4.2.0.GA/bin

%chmod 755 ./*

% ./run.sh &

[1] 8616

[EMAIL PROTECTED]:~/jboss-4.2.0.GA/bin$

=

 

  JBoss Bootstrap Environment

 

  JBOSS_HOME: /home/kevin.zhang/jboss-4.2.0.GA

 

  JAVA: /usr/local/java/bin/java

 

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m
-Dsun.rmi.dgc.client.gcInterval=360
-Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true

 

  CLASSPATH:
/home/kevin.zhang/jboss-4.2.0.GA/bin/run.jar:/usr/local/java/lib/tools.j
ar

 


=

 

12:39:00,870 INFO  [Server] Starting JBoss (MX MicroKernel)...

12:39:00,872 INFO  [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build:
SVNTag=JBoss_4_2_0_GA date=200705111440)

12:39:00,873 INFO  [Server] Home Dir: /home/kevin.zhang/jboss-4.2.0.GA

12:39:00,874 INFO  [Server] Home URL:
file:/home/kevin.zhang/jboss-4.2.0.GA/

12:39:00,875 INFO  [Server] Patch URL: null

12:39:00,875 INFO  [Server] Server Name: default

12:39:00,876 INFO  [Server] Server Home Dir:
/home/kevin.zhang/jboss-4.2.0.GA/server/default

12:39:00,876 INFO  [Server] Server Home URL:
file:/home/kevin.zhang/jboss-4.2.0.GA/server/default/

12:39:00,876 INFO  [Server] Server Log Dir:
/home/kevin.zhang/jboss-4.2.0.GA/server/default/log

12:39:00,877 INFO  [Server] Server Temp Dir:
/home/kevin.zhang/jboss-4.2.0.GA/server/default/tmp

12:39:00,877 INFO  [Server] Root Deployment Filename: jboss-service.xml

12:39:01,331 INFO  [ServerInfo] Java version: 1.6.0_02,Sun Microsystems
Inc.

12:39:01,332 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM
1.6.0_02-b05,Sun Microsystems Inc.

12:39:01,332 INFO  [ServerInfo] OS-System: Linux 2.6.14.7,i386

12:39:01,883 INFO  [Server] Core system initialized

12:39:04,895 INFO  [WebService] Using RMI server codebase:
http://127.0.0.1:8083/

12:39:04,899 INFO  [Log4jService$URLWatchTimerTask] Configuring from
URL: resource:jboss-log4j.xml

12:39:05,711 INFO  [TransactionManagerService] JBossTS Transaction
Service (JTA version) - JBoss Inc.

12:39:05,711 INFO  [TransactionManagerService] Setting up property
manager MBean and JMX layer

12:39:06,079 INFO  [TransactionManagerService] Starting recovery manager

12:39:06,195 INFO  [TransactionManagerService] Recovery manager started

12:39:06,195 INFO  [TransactionManagerService] Binding
TransactionManager JNDI Reference

12:39:09,921 INFO  [EJB3Deployer] Starting java:comp multiplexer

12:39:12,185 INFO  [ServiceEndpointManager] jbossws-1.2.1.GA
(build=200704151756)

12:39:13,832 INFO  [AprLifecycleListener] The Apache Tomcat Native
library which allows optimal performance in production environments was
not found on the java.library.path:
/usr/local/jdk1.6.0_02/jre/lib/i386/server:/usr/local/jdk1.6.0_02/jre/li
b/i386:/usr/local/jdk1.6.0_02/jre/../lib/i386:/usr/local/lib:/usr/lib:/l
ib:/usr/local/pgsql/lib:/usr/java/packages/lib/i386:/lib:/usr/lib

12:39:13,958 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on
http-127.0.0.1-8080

12:39:13,960 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on
ajp-127.0.0.1-8009

12:39:13,960 INFO  [Catalina] Initialization processed in 344 ms

12:39:13,961 INFO  [StandardService] Starting service jboss.web

12:39:13,966 INFO  [StandardEngine] Starting Servlet Engine:
JBossWeb/2.0.0.GA

12:39:14,072 INFO  [Catalina] Server startup in 110 ms

12:39:14,221 INFO  [TomcatDeployer] deploy, ctxPath=/,
warUrl=.../deploy/jboss-web.deployer/ROOT.war/

12:39:15,067 INFO  [TomcatDeployer] deploy, ctxPath=/invoker,
warUrl=.../deploy/http-invoker.sar/invoker.war/

12:39:15,333 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws,
warUrl=.../tmp/deploy/tmp1933jbossws-context-exp.war/

12:39:15,499 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil,
warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/

12:39:16,874 INFO  [TomcatDeployer] deploy, ctxPath=/web-console,
warUrl=.../deploy/management/console-mgr.sar/web-console.war/

12:39:17,777 INFO  [MailService] Mail Service bound to java:/Mail

12:39:17,967 INFO  [RARDeployment] Required license terms exist, view
META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar

12:39:18,019 INFO  [RARDeployment] Required license terms exist, view
META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar

12:39:18,051 INFO  [RARDeployment] Required license terms exist, view
META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar

12:39:18,087 INFO  [RARDeployment] Required license terms exist, view
META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar

12:39:18,201 INFO  [RARDeployment] Required license terms exist, view
META-INF/ra.xml in .../deploy/jms/jms-ra.rar

12:39:18

[jboss-user] [Security & JAAS/JBoss] - Radius Authentication

2007-08-06 Thread avihaimar
Hey,

Does some one write or saw an example to integrated authentication with JBoss?

I am using JBoss 4.2.

Thank you 

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

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


[jboss-user] [JBoss Seam] - Re: nested conversations and parent objects

2007-08-06 Thread pdpantages
Hmm, I did not think of it this way. 

Thank you kindly, Matt, for clarifying this; I was under the wrong impression 
all along... 

PdP 



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

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


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

2007-08-06 Thread [EMAIL PROTECTED]
please report in jboss tools jira with steps to reproduce (and keep a reference 
to this forum posting) - Thanmks.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Exadel Plugins available in opensource

2007-08-06 Thread [EMAIL PROTECTED]
go to www.jboss.org/tools and there are links to the source repositories.

Wanna help out ? :)

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

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


[jboss-user] [JBoss Tools (users)] - Re: 0.0 unindetified parser exception - in TILES files

2007-08-06 Thread [EMAIL PROTECTED]
report in jboss tools jira with the steps to reproduce

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

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


[jboss-user] [JBoss Seam] - authenticator.sessionContext CVS

2007-08-06 Thread jknotzke

 Hi,

  I just upgraded to CVS and when attempting to log in, I get the following 
error:


  | javax.el.ELException: javax.ejb.EJBTransactionRolledbackException: In 
attribute requires non-null value: authenticator.sessionContext
  | 

   I suspect I am missing something in components.xml.. 

   Thanks

   J

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

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


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

2007-08-06 Thread pdepaepe
Fixed on CVS, an other thread is talking about it.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Getting a session from entityManager

2007-08-06 Thread mladen.babic
Ok, I solved a problem.Now I have another:(.Problem is :It doesn't retrieves 
expected result(it 's retrieve nothing). Is there any mistake in my code above?

tnx,
mb

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

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


[jboss-user] [JBoss Seam] - Re: Reusable Action Buttons tag through Facelets Composition

2007-08-06 Thread franciscoacb
Folks, I'm very sorry.

The issue is NOT closed. I thought it worked but it didn´t. I' went back to 
Seam-Gen code and just forgot to turn it to ReusableActionButtons again when I 
made the tests.

Any ideas?
Thanks!

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

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

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


[jboss-user] [JBoss Seam] - configuration with property files - ideas?

2007-08-06 Thread matt.drees
I'm writing a Seam adapter for ja-sig's CAS client 
(http://www.ja-sig.org/products/cas/).  The client by default is configured by 
Spring, but I'm trying to configure it with Seam.  One thing it does is use a 
properties file, and a PropertyPlaceHolderConfigurer.  To mimic that, I'm doing 
this:


  | @Name("casProperties")
  | @Scope(ScopeType.APPLICATION)
  | @Install(precedence = Install.FRAMEWORK)
  | public class CasProperties {
  | 
  | Properties casProperties;
  | 
  | String fileName = "cas-client.properties";
  | 
  | @Create
  | public void create() throws Exception {
  | casProperties = new Properties();
  | casProperties.load(Resources.getResourceAsStream("/WEB-INF/" + 
fileName, ServletLifecycle.getServletContext()));
  | }
  | 
  | @Unwrap
  | public Properties getCasProperties() {
  | return casProperties;
  | }
  | 
  | public String getFileName() {
  | return fileName;
  | }
  | 
  | public void setFileName(String fileName) {
  | this.fileName = fileName;
  | }
  | }
  | 

and in a components.xml file this:

  | 
  | 
  | 
  | 
  | 

Is there an easier way to make the contents of a specific properties file 
(i.e., not using components.properties or seam.properties) available to 
components.xml, etc?

Thanks
-Matt

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

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


[jboss-user] [JBossCache] - Re:

2007-08-06 Thread adamw
That's what I'll do. Thanks for the answers :)

-- 
Adam

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

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


[jboss-user] [JBossCache] - Re: Data integrity in a clustered jboss cache

2007-08-06 Thread [EMAIL PROTECTED]
We do support high concurrency under load, even in a cluster, but keep in mind 
that this is a cache and caches are tuned for high READ concurrency.  I.e., 90% 
reads to writes, or better, for optimal performance.

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

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


[jboss-user] [JBoss Seam] - Limiting access to pages inside jPDL pageflows?

2007-08-06 Thread IGx89
I have a jPDL pageflow, and I'd like to prevent users from going to pages 
inside the pageflow (other than the start page) by entering their URL's in the 
address bar. More specificially, given a flow of pages: page1->page2, if the 
user goes to page2 other than by triggering a state transition to that page 
from page1 (by a "Goto page 2" button or something), like by typing page2's URL 
into their browser's address bar, I want to show an error message and/or 
redirect them to page1.

I'd imagine there must be an easy way to do this (given how common this 
situation must be), but I have yet to locate anything by looking in the 
documentation or examining pages.xml/*.jpdl.xml schemas. Can someone help me 
figure this out?

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

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


[jboss-user] [JBossCache] - Re:

2007-08-06 Thread [EMAIL PROTECTED]
Then I suppose just use the cache as a cache, don't use eviction policies or 
cache loaders.  :-)

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

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


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

2007-08-06 Thread jknotzke

   One quick thing however.. The file is a 200K file and it's INCREDIBLY slow 
to load.. I'm talking a good 2 minutes..

   Any ideas ?

   Thanks

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

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


[jboss-user] [JBoss jBPM] - What happens after I design the process diagram

2007-08-06 Thread dingo001
I have been trying to understand what JBPM is and other than an outdated 
tutorial and no use documentation, I have nothing. I understand that you use 
the process designer in eclipse to create a process definitioin that produces 
something called xyz.par. Now what happens after that?

I need to integrate JBPM with my existing application and a week later I still 
have no clue.

Any ideas? or directions? 

forgive my tone

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

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


[jboss-user] [Clustering/JBoss] - Re: web clustering - fail over, http state replication

2007-08-06 Thread konkimalla
I figured out the problem. I should not use th port 8080, which restricts to 
the A/S. Instead, I need to point to the node which installed Apache i.e, 
http://ipaddress/application. Since I have configured properly, I could 
successfully test loadbalancing and failover capabilities.

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

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


[jboss-user] [JBoss jBPM] - Re: GPD-78 Adding ConfigInfoElements to Actions and nested C

2007-08-06 Thread jorell
I wanted to create jirra issues for these problems but for some reason every 
time I try to create a user account I get a message saying something like "You 
are not authorized to create users". 

The minimum process definition for all the issues would be something like this:

  | 
  | 
  | 
  | 
  | 
  | 
  | 010901
  | 
  | 
  | VarName
  | 1122
  | 
  | 
  | 
  | 030101
  | 030102   
  | 
  | 
  |   
  | 
  | 

Other issues that I've noticed with nested config infor elements are:

1- ConfigInfoElementDomAdapter class needs to defined the getNodeTypes() method 
and return "configInfoElement" as one of its possible types.

2- ConfigInfoElement.getConfigInfoElements() always throws a class cast 
exception. The method is trying to cast from an object[] to a 
ConfigInfoElement[]. Instead we should cast each object in the array 
individually and copy it to the resultant array.

All of these issues have to do with nested config info elements. Koen I know 
how development efforts go but is it possible you could give me a ballpark 
figure of when these issues might be adressed. I am runningon a deadline and it 
would help me out a great deal in my planning. Btw I tried getting past these 
issues by extending the model class and the Dom Adapter class for 
ConfigInfoelement but its being (understandably) instantiated directly in the 
XmlAdapterFactory.

Thanks,
Imran


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Maven + Embedded EJB + JPA +EJB 3.0 getting Null name

2007-08-06 Thread r_sudh
Hrere is the code that starts up the embedded JBoss micro-container. 

public void beforeIntegrationTests() {
  | try {
  | 
  | // Boot the JBoss Microcontainer with EJB3 settings, 
loads
  | // ejb3-interceptors-aop.xml
  | EJB3StandaloneBootstrap.boot(null);
  | 
  | // 
EJB3StandaloneBootstrap.deployXmlResource("jboss-jms-beans.xml");
  | // scan classpath for ejbs and MDBs
  | EJB3StandaloneBootstrap.scanClasspath();
  | 
  | // Add all EJBs found in the archive that has this file
  | deployer = new EJB3StandaloneDeployer();
  | 
deployer.getArchivesByResource().add("META-INF/persistence.xml");
  | 
  | // Deploy everything we got
  | deployer.create();
  | deployer.start();
  | 
  | // Create InitialContext from jndi.properties
  | initialContext = new InitialContext();
  | 
  | } catch (Exception ex) {
  | throw new RuntimeException(ex);
  | }
  | }

I am getting the following stacktrace at 

EJB3StandaloneBootstrap.scanClasspath();


anonymous wrote : java.lang.RuntimeException: 
java.lang.IllegalArgumentException: Null name
  | at 
brazos.permit.ejb.container.EJB3Container.beforeIntegrationTests(EJB3Container.java:52)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
  | at org.testng.internal.Invoker.invokeMethod(Invoker.java:470)
  | at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
  | at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
  | at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
  | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
  | at org.testng.TestRunner.runWorkers(TestRunner.java:678)
  | at org.testng.TestRunner.privateRun(TestRunner.java:624)
  | at org.testng.TestRunner.run(TestRunner.java:495)
  | at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
  | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
  | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
  | at org.testng.SuiteRunner.run(SuiteRunner.java:190)
  | at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
  | at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
  | at org.testng.TestNG.run(TestNG.java:699)
  | at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
  | at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:122)
  | Caused by: java.lang.IllegalArgumentException: Null name
  | at 
org.jboss.dependency.plugins.AbstractController.getContext(AbstractController.java:114)
  | at 
org.jboss.kernel.plugins.dependency.AbstractKernelController.getContext(AbstractKernelController.java:94)
  | at org.jboss.ejb3.embedded.KernelErrors.validate(KernelErrors.java:96)
  | at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:281)
  | at 
brazos.permit.ejb.container.EJB3Container.beforeIntegrationTests(EJB3Container.java:38)
  | ... 22 more


Here is my persistence.xml 

http://java.sun.com/xml/ns/persistence";
  | version="1.0">
  | 
  | jdbc/MyDB
  | 
  | 
  | 

  |
  | 
  | 

I'm using maven and my folder structure is as follows:

srv/main/java
  |__META-INF
  |persistence.xml
src/test/java
  |__EJB2Container.java


Please let me know if there is anything else I can provide to help get this 
working.

Thanks!

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

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


[jboss-user] [JBoss Seam] - Re: Using Jbpm Identity component in Seam

2007-08-06 Thread fzaker
Thank you for your answers. I think I should explain a little more and sorry if 
I am wasting (or some similar verb) your time.
1. I prefer to use Actor class in my application, because by using it, I will 
be able to use beans like pooledTaskInstanceList or pooledTask. (or I think 
so!) They are valuable bean for my TaskManager application.
2. Jbpm Identity component is also valuable, because it covers requirements of 
Organization Modeling in my application. In addition, the expression style for 
task assignment (gift of Jbpm Identity), is powerful and valuable too.

So, I need to have both of them side by side. But in the second, roles are 
contextual (each user has some special roles for the groups he is member of). 
But in the first, Actor just can have a simple list of String roles which is 
less flexible.

An example: Suppose we have two kinds of Product shipment: Shoes and Shirts. 
Suppose we have two separate departments for each one. Orders of Shoes should 
be handled by Reviewer and Shipper of Shoes department and orders of Shirts 
should be handled by Reviewer and Shipper of Shirts department.
When using Actor class, I could not distinguish for example Reviewers of 
different Departments and so Tasks could not be assigned correctly. Defining 
for example ShoesReviewer and ShirtsReviewer Actor roles, is not a good 
solution due to several obvious reasons.

I hope my explanation is English enough! Sorry for my weak English.


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

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


[jboss-user] [JBoss Seam] - Re: Third-party EJBs as seam components

2007-08-06 Thread patrickr
Doing it programmatically works:

@Name("shoppingCart")
  | @Scope(ScopeType.SESSION)
  | public class ShoppingCartManager 
  | {
  | private ShoppingCart shoppingCart;
  | 
  | @Create
  | public void create() throws NamingException 
  | {
  | InitialContext ic = new InitialContext();
  | //shoppingCart = (ShoppingCart) 
ic.lookup(ShoppingCart.class.getName());
  | shoppingCart = (ShoppingCart) 
ic.lookup("wct-example/ShoppingCartBean/local");
  | }
  | 
  | @Unwrap
  | public ShoppingCart getShoppingCart() {
  | return shoppingCart;
  | }
  | }

But why not with the components.xml? Is this a bug?

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

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


[jboss-user] [JBoss Seam] - Re: Reusable Action Buttons tag through Facelets Composition

2007-08-06 Thread franciscoacb
Hi all again.

I has been solved. I changed the location of actionButtons.xhtml from WEB-INF 
to the view folder.

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

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


[jboss-user] [JBossCache] - Re:

2007-08-06 Thread adamw
Hello,

I have the code written though it's completely separate from jboss cache. As it 
doesn't make much sense to write a separate cache, I want to intergrate it.

However I think I cannot use CacheLoaders too, because I don't want any calls 
to trigger loads from the CacheLoader --- the keys have to be updated in the 
background. So basically, a thread watches for changes in the backing store 
(SVN, filesystem, etc), and when a change is detected, updates the current 
value with a new one. The user never has to wait for the value to be read from 
the store, parsed and so on.

(The thread-approach is more or less how it is now, I was just wondering if it 
could be done with cache loaders/ eviction policies, but  I suppose not)

-- 
Adam

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

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


[jboss-user] [JBoss Seam] - Re: authenticate() called twice

2007-08-06 Thread tim_ph
Never mind. That happens I add @Create in front of it.

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

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


[jboss-user] [JBoss Seam] - Re: Marking Hibernate POJO's as entities without annotations

2007-08-06 Thread IGx89
Done: http://jira.jboss.com/jira/browse/JBSEAM-1766

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

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


[jboss-user] [JBoss Tools (users)] - Re: 0.0 unindetified parser exception - in TILES files

2007-08-06 Thread jpsantos
The previous sample of my tiles file, was not visiable. So here is it again:


  | 
  | http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";>
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  |  
  |  
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Google Maps and application/xhtml+xml mime type

2007-08-06 Thread samdoyle
This worked great thanks for the info.

S.D.

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

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


[jboss-user] [JBoss Tools (users)] - 0.0 unindetified parser exception - in TILES files

2007-08-06 Thread jpsantos
I getting an "error 0.0  unindetified parser exception" in my tiles file.

I note that if create the file using only the UI view all looks fine, and I do 
not get the error.

But if edit this same file in the SOURCE view remove any line, do a ctr+z to 
undo, making the file exactly  as before and save. The error occur.

This is an example of my Tiles file, one interresting fact is that my JSP is 
not at the same project. But this works in previous Exadel versions.
 

http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";>


  




  






 
 
 




This is .log file from eclipse:

!ENTRY org.eclipse.ui.workbench 4 2 2007-08-06 11:00:29.531
!MESSAGE Problems occurred when invoking code from plug-in: 
"org.eclipse.ui.workbench".
!STACK 0
java.lang.ClassCastException: org.jboss.tools.common.editor.SelectionNotifier
at 
org.eclipse.jpt.ui.internal.selection.TextEditorSelectionParticipant.(TextEditorSelectionParticipant.java:48)
at 
org.eclipse.jpt.ui.internal.selection.SelectionParticipantFactory.getAdapter(SelectionParticipantFactory.java:30)
at 
org.eclipse.core.internal.runtime.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:61)
at 
org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:277)
at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:115)
at 
org.eclipse.ui.part.MultiPageEditorPart.getAdapter(MultiPageEditorPart.java:823)
at 
org.jboss.tools.common.editor.ObjectMultiPageEditor.getAdapter(ObjectMultiPageEditor.java:539)
at 
org.jboss.tools.jst.web.tiles.ui.editor.TilesCompoundEditor.getAdapter(TilesCompoundEditor.java:158)
at 
org.jboss.tools.common.model.ui.editor.EditorPartWrapper.getAdapter(EditorPartWrapper.java:144)
at 
org.eclipse.jpt.ui.internal.selection.SelectionManager.initPart(SelectionManager.java:87)
at 
org.eclipse.jpt.ui.internal.selection.SelectionManager.access$2(SelectionManager.java:83)
at 
org.eclipse.jpt.ui.internal.selection.SelectionManager$PartListener.partActivated(SelectionManager.java:223)
at 
org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:68)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at 
org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at 
org.eclipse.ui.internal.PartListenerList2.firePartActivated(PartListenerList2.java:66)
at 
org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:77)
at 
org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
at 
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
at 
org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3384)
at 
org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2928)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)
at 
org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:229)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1273)
at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:2015)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3713)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1584)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1753)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindow

[jboss-user] [JBoss Seam] - Re: Third-party EJBs as seam components

2007-08-06 Thread patrickr
Thanks for your answers, Pete! And sorry for responding so late. However, I 
can't get the jndi-name lookup working. Since I didn't find any information in 
the docs, could you please tell me what exactly jndi-name expects?

I supposed that this would work.
  | 
  | 

But when I use this for injection, shoppingCart is always null. 

Also, while I see 19:22:35,199 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:ear=wct-example.ear,jar=wct-commerce.jar,name=ShoppingCartBean,service=EJB3
 with dependencies:
  | 19:22:35,199 INFO  [JmxKernelAbstraction]   
jboss.j2ee:ear=wct-example.ear,jar=wct-commerce.jar,name=OrderManagerBean,service=EJB3
  | 19:22:35,349 INFO  [EJBContainer] STARTED EJB: 
de.wct.commerce.service.ShoppingCartBean ejbName: ShoppingCartBean

...I don't see a seam component log message for shoppingCart.



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

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


[jboss-user] [JBossWS] - Re: JBoss WebService client configuration thru a proxy serve

2007-08-06 Thread Maffewl
the question appears to be in the FAQ.  Although its a stub ATM.

http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#How_can_I_setup_my_client_to_use_a_proxy.3F

noted the link just in case this gets updated.  still looking for answers for 
the time being.

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

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


[jboss-user] [JBoss Seam] - Re: Reusable Action Buttons tag through Facelets Composition

2007-08-06 Thread franciscoacb
Hi all.

I've been testing ReusableActionButtons. It works well except that when it is 
in use (I change the action buttons Seam-Gen'd code with this code: 
ReusableActionButtons) and I perform a create ou delete, for example, the next 
page is not the list page, as it used to be with the Seam-Gen generated code. 

I have also tried ui:componet instead of ui:composition at the custom tag, but 
without success.

Francisco Antônio

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

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

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


[jboss-user] [JBoss Seam] - Re: Marking Hibernate POJO's as entities without annotations

2007-08-06 Thread [EMAIL PROTECTED]
This is a bug in Seam.  Please file an issue in JIRA with that stack trace.

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

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


[jboss-user] [JBossWS] - JBoss WebService client configuration thru a proxy server

2007-08-06 Thread Maffewl
Can anyone point me to documentation on how run JBoss WebServices as a client 
behind a proxy server to externally hosted web services?

I've been looking online but have not found anything yet.  I'll continue to 
poke around the documentation, but if someone knows off hand, it would save me 
some time.

thanks

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

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


[jboss-user] [JBoss AOP] - Clean resources at the end of the transactions

2007-08-06 Thread avihaimar
Hey,

I need to clean some resources at the end of the transaction (CMT ,User 
Transaction).

Can you please advice how to do this?

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

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


[jboss-user] [JBossCache] - Re: Data integrity in a clustered jboss cache

2007-08-06 Thread itchy75
I am already using REPL_SYNC and I have already tested the transaction manager 
as you said.

But I have a lot of time out out exception when I use SERIALIZABLE isolation 
level (Fail to acquire lock after 15000ms). So it doesn't work in cluster.

The problem is that I have a very high load on the two servers. When I run 100 
requests (50 par servers) the first requests end well but after 10 requests 
everything is broken.

I try to implement  the solution with REPEATABLE_READ and a retry policy. I 
tested it in one server and it works well, but in a cluster it doesn't work.

There is always a Thread that want to modify the value in cache, so all Threads 
have errors and last thread must wait a very long time before acquiring (and 
commiting) the value in cache. I tried o reduce lock acquisition timeout but 
with a big number of thread, it doesn't really change anything.
 
Does Jboss Cache in cluster support concurency on a very high load ?


The configuration of the cache


  | 
  | 
  | 
  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | 
  | 
  | 
  | org.jboss.cache.JBossTransactionManagerLookup
  | 
  | 
  | PESSIMISTIC
  | 
  | 
  | REPEATABLE_READ
  | 
  | 
  | REPL_SYNC
  | 
  | 
  | 
  | false
  | 
  | 
  | 100
  | 
  | 
  | 1
  | 
  | 
  | ${jboss.partition.name:DefaultPartition}
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | true
  | 
  | 
  | 3
  | 
  | 
  | 15000
  | 
  | 
  | 5000
  | 
  | 
  | 
  | 
  | 5
  | 
  |
  
  | 1800
  | 
  |
 
  | 0
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | false
  | 
  | 
  | /
  | 
  | 
  | true
  | 
  | 
  | 
  | 
  | 
org.jboss.cache.loader.ClusteredCacheLoader
  | 
  | 
  | 
  | timeout=6
  | 
  | 
  | false
  | 
  |
  | false
  | 
  |
  | false
  | 
  | 
  | true
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: exception handler without redirection

2007-08-06 Thread [EMAIL PROTECTED]
added a  new issue with a patch: http://jira.jboss.com/jira/browse/JBSEAM-1765

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

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


  1   2   3   >