[jboss-user] [JBoss Seam] - Re: Seam Security question

2007-02-27 Thread JohnEChesher
Thanks for the quick response Shane!

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

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


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

2007-02-27 Thread petemuir
I haven't built that tag, but I have from Branch_4_2.  I just co'd all the 
projects, went into build and typed ./build.sh and it Just Worked (well 
actually there was a broken dependency but someone fixed that ;)

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

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


[jboss-user] [JBoss Seam] - How to store Conversation in database or cache?

2007-02-27 Thread adambrod
Hi-

I would like to store our Conversations in the DB, not the http session.  How 
do I do this?  Is there documentation on this?  I believe I read that Seam 
supports pluggable Conversation stores (DB, File, Cache, etc.), but I can't 
find any information.

Thanks for any help!
Adam

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

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


[jboss-user] [JBoss Seam] - Re: How to store Conversation in database or cache?

2007-02-27 Thread [EMAIL PROTECTED]
No, that is not supported. I think you might want to use a business process 
context instead, and let jBPM persist the state.

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

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


[jboss-user] [JBoss Seam] - How does the LoggedInInterceptor in the booking example work

2007-02-27 Thread tonylmai
Can someone help me in understanding how the LoggedInInterceptor in the booking 
example work?

Many thanks.

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

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


[jboss-user] [JBoss jBPM] - Help getting all tasks for a user

2007-02-27 Thread bsmithjj
Hello,

I am trying to get all the tasks for a user.

By all tasks, I mean any task for which the user is:

a.) the actual actor

b.) a pooled actor

Is there a method in the API's that supports this?  for example,


  |   jbpmContext.setActorId(someId);
  |   List tasks = jbpmContext.getEVERYTASK();
  | 

No, I don't mean, give me the tasks for which the user is a pooled actor and 
the actorId is null (as I've seen recommended in other posts on this topic in 
this forum - that approach seems a bit too obscure me speaking as user/consumer 
of this framework).

Thanks

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

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


[jboss-user] [Security JAAS/JBoss] - Unexpected Principal (Security Identity) Propagation Switch

2007-02-27 Thread eschulma
I am experiencing a similar (identical?) bug that was reported in 
http://jira.jboss.com/jira/browse/JBAS-1852?page=com.cenqua.fisheye.jira:fisheye-tabpanel
 and reported fixed in JBoss 4.0.3.  

I access a session bean twice from the web tier, as an unauthenticated user.  
The session bean function is basically a wrapper to 
ctx.isCallerInRole(roleName).  On the second time that function is called I get

javax.security.auth.login.FailedLoginException: No matching username found in 
Principals

On the first call, there is no problem.  Setting the unauthenticatedIdentity 
option does not help.

I have tried both 4.0.4GA and 4.0.5GA and the problem is still there.  I wanted 
to do a sanity check before filing a JIRA report.  Any comments?

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

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


[jboss-user] [JBoss Seam] - Events, redirect jbpm

2007-02-27 Thread [EMAIL PROTECTED]
I need to start a nested conversation and move/redirect to a specific page 
after a specific jbpm task is started.
I wrote this method 

  | @Begin(nested = true)
  | @Observer(org.jboss.seam.startTask.task1)
  | public void start() {
  | ...
  | 
  | }
  | 
inside I try to use Redirect but I think that conversation doesn't start or 
propagate...
Any solution.?
Thanks


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

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


[jboss-user] [JBoss Messaging] - Issues w/ JBoss Messging Cluster Environment when using Dura

2007-02-27 Thread rpkavuri
I am trying to set up the JBoss cluster in two machines. Here are the steps I 
have followed to set up and test the examples -

1) Installed the JBoss4.0.5 on 2 machines by using the default partition name
2) Modified the config files to refer to our in house Oracle Database
3) Installed the jboss-messaging1.2.CR1 on both the machines
4) Modified/added the config files to refer in house Oracle Database
5) Started the servers
6) Verified that the JMS related Tables have created in Oracle Database or not. 
They are created.
6) Ran the examples on Node1 machine
- When both Nodes are up and running
- Queue and Topic examples ran well
- Getting exceptions while trying to run the other(Queue 
Failover, mdb etc.) examples.
- When I shut down the Node1 server 
- None of the examples are running 
7) Modifed jndi.properties file to set PORVIDER_URL parameter to 2 Nodes URLs 
on Node1 machine
- When both Nodes are up and running
- Queue and Topic examples ran well
- Getting exceptions while trying to run the other(Queue 
Failover, mdb etc.) examples.
- When I shut down the Node1 server 
- Queue and Topic examples ran well
- Getting exceptions while trying to run the other(Queue 
Failover, mdb etc.) examples.

After the above steps, I have following questions -

1) Why is Auto-Failover is not working?
2) Is there something wrong w/ my cluster configuration?
3) Do the clients need to know about all the running clusters?
4) How do both the clusters know each other?
5) Is there any heartbeat mechanism b/w both the clusters?
6) How do I make one of the cluster as ACTIVE node and the other as 
INACTIVE?(Inactive one becomes only active when the current active one becomes 
unavailable)


Also I have written clients for both publisher and subscriber. We are planning 
to use durable subscriber. But I am unable to retrive any messages from my 
subscriber. 

Here is the code -



  | 
  | Publisher
  | 
  | import javax.jms.JMSException;
  | import javax.jms.Message;
  | import javax.jms.MessageListener;
  | import javax.jms.Topic;
  | import javax.jms.TopicConnection;
  | import javax.jms.TopicConnectionFactory;
  | import javax.jms.TopicPublisher;
  | import javax.jms.TopicSubscriber;
  | import javax.jms.TopicSession;
  | import javax.jms.TextMessage;
  | import javax.jms.DeliveryMode;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | import java.util.Hashtable;
  | import javax.jms.MessageListener;
  | 
  | /** A JMS client example program that sends a TextMessage to a Topic*/
  | 
  | public class TopicSendClient{
  | 
  | TopicConnection conn = null;
  | TopicConnection conn1 = null;
  | 
  | TopicSession session = null;
  | 
  | Topic topic = null;
  | 
  | String CLIENT_ID = TopicClient;
  | 
  | long MESSAGE_LIFESPAN = 180; //30 minutes
  | 
  | public void setupPubSub() {
  | System.out.println(setupPubSub());
  | 
  | 
  | // Initial environment with various properties
  | HashtableObject, Object env = new HashtableObject, 
Object();
  | env.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | env.put(Context.PROVIDER_URL, 
jnp://server1:1099,jnp://server2:1099);
  | env.put(Context.URL_PKG_PREFIXES, 
org.jboss.naming:org.jnp.interfaces);
  | 
  | try{
  | System.out.println(Before());
  | InitialContext iniCtx = new InitialContext(env);
  | 
  | System.out.println(ConnectionFactory Not  
exists);
  | 
  | //InitialContext iniCtx = new InitialContext();
  | Object tmp = iniCtx.lookup(ConnectionFactory);
  | 
  | System.out.println(ConnectionFactory exists);
  | 
  | TopicConnectionFactory tcf = 
(TopicConnectionFactory) tmp;
  | 
  | //topic = (Topic) 
iniCtx.lookup(topic/testDistributedTopic);
  | topic = (Topic) 
iniCtx.lookup(topic/testTopic);
  | 
  | System.out.println(TCF exists);
  | 
  | conn = tcf.createTopicConnection();
  | //conn1 = tcf.createTopicConnection();
  | 
  | //conn.setClientID(CLIENT_ID);
  | 
  | System.out.println(Topic testTopic exists);
  | 
  | session = conn.createTopicSession(false, 
TopicSession.AUTO_ACKNOWLEDGE);
  | 
  | conn.start();
  | }catch(Exception e){
  

[jboss-user] [JBoss Seam] - Re: How does the LoggedInInterceptor in the booking example

2007-02-27 Thread [EMAIL PROTECTED]
No, please don't use that old stuff anymore. Get Seam 1.2 and use Seam/Security.

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

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


[jboss-user] [JBoss Seam] - Re: How does the LoggedInInterceptor in the booking example

2007-02-27 Thread tonylmai
Thanks Garvin.

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

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


[jboss-user] [JBoss Messaging] - Re: Issues w/ JBoss Messging Cluster Environment when using

2007-02-27 Thread [EMAIL PROTECTED]
At this point... failover will only kick in when a server crashes or the 
connection dies.

We will be working on a clean leave for 1.2.1.

If you kill your server, your failover should work.

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

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


[jboss-user] [JBoss Seam] - Using the JPA delegate

2007-02-27 Thread eirirlar
Hi, I wonder if I'm the only one who's encountered this when trying to use the 
JPA delegate when Hibernate is the underlying persitence provider.

Look at chapter 8.4 in the doc. It says:


  | @In EntityManager entityManager;
  | 
  | @Create
  | public void init() {
  | ( (Session) entityManager.getDelegate() 
).enableFilter(currentVersions);
  | }

From my experience, entityManager.getDelegate() returns a 
org.hibernate.ejb.EntityManagerImpl, not a org.hibernate.Session. So the code 
in the example should be replaced by something like this:


  | @In EntityManager entityManager;
  | 
  | @Create
  | public void init() {
  | ( (Session) 
((HibernateEntityManager)em.getDelegate()).getSession()).enableFilter(currentVersions);
  | }

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

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


[jboss-user] [JBoss Seam] - Re: How does the LoggedInInterceptor in the booking example

2007-02-27 Thread tonylmai
My apology, Gavin, not Garvin. ;-)

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

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


[jboss-user] [JBoss Seam] - Re: Using the JPA delegate

2007-02-27 Thread [EMAIL PROTECTED]
This was a bug in older versions of HEM. It *should* work right in JBoss 
4.0.5

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - DatabaseMetaData and HTTP connections

2007-02-27 Thread wcydaip
Hi,

I began working with the con.getMetaData() object today and soon after began 
getting the following:

org.jboss.deployment.DeploymentException: Too many open files; - nested 
throwable: (java.io.IOException: Too many open files)
  | at 
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:352)
  | 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:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy31.init(Unknown Source)
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:863)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  | at sun.reflect.GeneratedMethodAccessor54.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:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:489)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
  | Caused by: java.io.IOException: Too many open files
  | at java.io.FileInputStream.open(Native Method)
  | at java.io.FileInputStream.init(FileInputStream.java:106)
  | at 
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:301)
  | ... 37 more

Anyone know the cause?

Here's the code which causes the problem:

public DbTable getTable(String ds, String tbl) throws SQLException, 
NamingException, LookupException{
  | DbTable table = null;
  | Connection con = null;
  | ResultSet rs = null;
  | DatabaseMetaData meta = null;
  | String[] types = {TABLE};
  | try {
  | con = AppHelper.getConnection(ds);
  | meta = con.getMetaData();
  | rs = meta.getTables(con.getCatalog(), null, 
%+tbl+%, types);
  | if(!rs.next()) {
  | throw new LookupException(Unable to find 
specified table:+tbl);
  | }
  | String name;
  | int count = 3;
  | do {
  | name = rs.getString(count);
  | if(name.equals(tbl)) {
  | table = new DbTable(name);
  | readTableColumns(meta, table);
  | break;
  | }
  | }while(rs.next());
  | }finally {
  | 

[jboss-user] [JBoss Messaging] - Re: Issues w/ JBoss Messging Cluster Environment when using

2007-02-27 Thread rpkavuri
Are you saying that my setup is correct?

Additionally, could you please review my examples and let me know why I am not 
receiving messages published through the publisher? 

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

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


[jboss-user] [EJB/JBoss] - Re:

2007-02-27 Thread gduan2000
After installed the patch suggested by the bug page: 
http://jira.jboss.com/jira/browse/JBAS-3839, I still have exactly the same 
issue I have had: Wrong target, when re-deploying my app.

Help!...

m-krausse wrote : Hi
  | 
  | I created a bug report: http://jira.jboss.com/jira/browse/JBAS-3839
  | 
  | Bye
  | Michael

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

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


[jboss-user] [JBossCache] - Re: 1.4.1.SP1 Installation Instructions

2007-02-27 Thread jnorris10
jnorris10 wrote : [EMAIL PROTECTED] wrote : There never have been specific 
installation instructions, you basically just use the new jars in the distro to 
overwrite the jars in your current distro.
  |   | 
  |   | May be a good idea to wiki-ise some of these steps though; let me know 
if you feel like doing this.
  |   | 
  |   | Re: compat, see the compat matrix on http://labs.jboss.org/jbosscache
  |   | 
  |   | 
  | 
  | I understand the sentiments of the poster above.  It is completely unclear 
how 1.4.1.SPx is installed.  Which libs should be copied and to where?  Many of 
the combinations I have tried have failed with various cryptic stack traces 
which seem to indicate version mismatches.

I found the magic jar combo :)

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

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


[jboss-user] [JBoss Seam] - Re: JSF and TransactionalSeamPhaseListener

2007-02-27 Thread awheeler
Thank you for your help. I am now using Seam's EntityConvertor

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

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

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


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-27 Thread piotr.walczyszyn
Yes unfortunetly it doesn't work with JSF 1.2, I will try to switch tomorrow to 
myfaces and test it in thi environment.

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

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


[jboss-user] [JBoss Seam] - Re: Where are the generated SQL db statements for the EJBs?

2007-02-27 Thread [EMAIL PROTECTED]
Its done dynamically.

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

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


[jboss-user] [JBoss Seam] - Re: How to store Conversation in database or cache?

2007-02-27 Thread adambrod
Are conversations explicitly stored in the http session?  Or are they stored 
with the JSF View state - whereever that is stored?

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

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


[jboss-user] [JBoss jBPM] - Re: wscompile fails to generate artifacts for included xsd

2007-02-27 Thread [EMAIL PROTECTED]
If wstools fails (as in your case) please switch to wscompile and see what 
happens.

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

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


[jboss-user] [Remoting] - Re: Timeout parameter - can I specify timeout per request?

2007-02-27 Thread [EMAIL PROTECTED]
Per timeout invocation now works for the HTTP transport as well.  For jdk 1.5 
the timeout is set on the HttpUrlConnection.  For jdk 1.4 this option is not 
available, so it is simulated by executing the invocation on a separate thread 
and waiting until the timeout has expired.  The thread comes from a threadpool 
which defaults to org.jboss.util.threadpool.BasicThreadPool, but the thread 
pool can be configured by calling 
org.jboss.remoting.transport.HTTPClientInvoker.setTimeoutThreadPool().  If the 
default thread pool is used, it can be configured by passing 
HTTPClientInvoker.MAX_NUM_TIMEOUT_THREADS (value maxNumTimeoutThreads, 
defaults to 10) and HTTPClientInvoker.MAX_TIMEOUT_QUEUE_SIZE (value 
maxTimeoutQueueSize, defaults to 1024) in the configuration Map with which 
the org.jboss.Remoting.Client is initialized.

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

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


[jboss-user] [Security JAAS/JBoss] - ClientLoginModule on external Tomcat using declarative Secur

2007-02-27 Thread meme
Hi there,

I'm working on an ejb3 application with an web-frontend wich is located on an 
external
tomcat. When I use the ClientLoginModule in a test-Client there is no problem, 
but when
I try to use it in a security-constraint in the web-app always the declared 
error-page is shown.
I've read in the doc the ClientLoginModule only stores the username and 
password for use within an request to an ejb. When I'd like to use it this way 
(as I described above) do I have to implement my own LoginModule or is it 
possible to use the ClientLoginModule? Or is there an already existing  
implementation for this usecase?

yours

Marc

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

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


[jboss-user] [JBoss Seam] - Seam 1.2 released

2007-02-27 Thread [EMAIL PROTECTED]
1.2?  Where did that come from?   It seems just last week we were releasing 
1.1.7RC1...  Well, after looking over what we were putting into the release, we 
realized that this needed to be the start of the 1.2 branch.  Gavin explains 
the reasoning in his blog:  
http://blog.hibernate.org/cgi-bin/blosxom.cgi/2007/02/27#thoughtsononedottwo

You can download Seam 1.2 at 
http://labs.jboss.com/portal/jbossseam/download/index.html.

We'll post some more about the new features in a bit.  In the meantime, you can 
check out the docs at 
http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/index.html to read up on 
what is new.

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

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


[jboss-user] [JBoss jBPM] - Re: wscompile fails to generate artifacts for included xsd

2007-02-27 Thread meghanai_99
I could get wscompile to work on the client side by editing the 
build.properties file in the jbpm-bpel-home\config folder. Only thing I had 
to change war replacing xsd:include with xsd:import.

However on 'ant deploy' JBoss's bundled wstools takes over and I get the 
exception I have posted at the start of the thread. How to I make JBoss to 
switch over to wscompile?

Note that the NullPointerException in WSDL11Reader was with bundled JBossWS. I 
have yet to test it with latest release of JBossWS which I am going to do now 
but I do not have high hopes.

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

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


[jboss-user] [JBoss Seam] - a javax.faces.convert.Converter that is a Seam component ?

2007-02-27 Thread codelion
An enum converter is nice, but one step further we'd like to implement a 
javax.faces.convert.Converter that for its getAsObject does a query.  In 
contrast, the getAsString was easy.

Would be nice to use an @In EntityManager entityManager.

Question:  What kind of component (with what annotations) would that have to be 
so it can be used as a javax.faces.convert.Converter and yet have a working @In 
EntityManager entityManager?

PS:  If you didn't figure already, this is meant for a dynamic list in JSF, 
built from a list of entities that rarely but sometimes changes.

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

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


[jboss-user] [JBoss jBPM] - Re: BPEL generate-artifacts error

2007-02-27 Thread [EMAIL PROTECTED]
Apparently inline XML Schemas are handled by copying them to temporary files. 
While the error message may be misleading, it does indicate that definitions in 
your second schema cannot be located.

Some items in the first schema reference items that are defined later in the 
second schema. Try moving the second schema above the first.

Apart from that, consider that wstools currently does not support multiple 
namespaces and all generated artifacts will end up in the same java package. 
You might want to use wscompile instead.

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

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


[jboss-user] [JBoss Seam] - Re: No active application scope in long running process

2007-02-27 Thread apushadow
Ahh, ok.  This answers a lot of my questions.  I'm looking forward to a 
solution to this problem.

I use Seam 1.1.6 with Tomcat and Embedded EJB.  I'm trying to prototype being 
able to run a method at a specified time - the method must (1) send an email, 
(2) update the database and (3) raise an event so that some @Observer methods 
get called to refresh collections of objects shown on-screen - and I've had 
mixed results:

--Using the @Asynchronous annotation doesn't work at all using the Embedded EJB 
stuff.
--Integrating Quartz with Seam (add quartz.jar and quartz.properties and it 
magically works) and kicking off a task at a specific time works, but I can't 
use a lot of Seam's cool functionality in that new thread - namely Emailing, 
which throws a NPE (JBSEAM-892), and Events, which gives me a No active 
application scope error.  Updating the database works (since I passed-in a 
reference to my persister bean), but I have to use JavaMail to send emails 
(passing-in the Email Renderer isn't sufficient) and I can no longer rely on 
the @Observer annotation to update the lists (I'm still working on an 
alternative).

Ideally (and this is easy for me to say, heh), it would be cool to be able to 
use Seam's scheduling, emailing and event system, regardless of what thread I'm 
running (or perhaps provide a way to reference those contexts?), but I know 
this is no easy task.

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

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


[jboss-user] [JBoss Seam] - Where are the generated SQL db statements for the EJBs?

2007-02-27 Thread tonylmai
I remembered during seam-gen setup process, it asked if we wanted the db tables 
to be dropped and recreated upon every build.

Does it generate the SQL statements for each table corresponding to each Entity 
bean? If yes, where would the SQLs be located?

Once again, many thanks ;-)


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

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


[jboss-user] [JBoss Seam] - Re: Where are the generated SQL db statements for the EJBs?

2007-02-27 Thread tonylmai
I created the tables and the error went away.

What if I modified the entity bean? Would the table got updated automatically?

Thanks



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

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


[jboss-user] [JBoss Seam] - Re: a javax.faces.convert.Converter that is a Seam component

2007-02-27 Thread petemuir
codelion wrote : Question:  What kind of component (with what annotations) 
would that have to be so it can be used as a javax.faces.convert.Converter and 
yet have a working @In EntityManager entityManager?

Take a look at the converters component in the seam ui example.

anonymous wrote : PS:  If you didn't figure already, this is meant for a 
dynamic list in JSF, built from a list of entities that rarely but sometimes 
changes.

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

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


[jboss-user] [JBoss Seam] - Re: a javax.faces.convert.Converter that is a Seam component

2007-02-27 Thread petemuir
Oops 

Or, just use the entityconverter (this is heading for Seam, I just need time to 
work on it a bit) linked off the wiki in combination with s:selectItems

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

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


[jboss-user] [JBoss Seam] - Error Loading AJAX Library with JSF 1.2 RI

2007-02-27 Thread tonylmai
Hello all,

I don't even use AJAX in my app. Perhaps somewhere in the config files that 
reference this AJAX?

Does anyone know where or what to look for that reference this lib?

Thanks

- Server log -

SEVERE: Error Loading Library: 
jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp3761ajax4jsf.jar!/META-INF/a4j.taglib.xml
java.io.IOException: Error parsing 
[jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp3761ajax4jsf.jar!/META-INF/a4j.taglib.xml]:
 
at 
com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:397)
at 
com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:418)
at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:86)
at com.sun.facelets.compiler.Compiler.compile(Compiler.java:103)
at 
com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192)
at 
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141)
at 
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:93)
at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222)
at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXException: Error Handling 
[jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp3761ajax4jsf.jar!/META-INF/[EMAIL
 PROTECTED],20] handler-class
at 
com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:258)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown 
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown 
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at 

[jboss-user] [JBossWS] - Re: How to control port name in generated WSDL

2007-02-27 Thread dwin
If you could wait until tomorrow (or alittle after), JBoss 1.2 should be out 
soon (binary release).  That supports 181 annotations and is much simpler to 
develop.


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

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


[jboss-user] [Remoting] - Re: InvokerCallbackHandler.getSessionId() ?

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

I think the reason your initial question was a bit ambiguous (besides the fact 
that addListener() isn't a method of InvokerCallbackHandler) might have been 
that, on the client side, an InvokerCallbackHandler can be reused by many 
Clients and callback Connectors, so it's not associated with a particular 
Client.

On the server side, however, when the addListener() method is called on your 
ServerInvocationHandler, the InvokerCallbackHandler that gets passed *is* 
associated with a particular call to Client.addListener().  You can get the 
sessionId of that Client by casting the InvokerCallbackHandler to 
org.jboss.remoting.callback.ServerInvokerCallbackHandler and calling its method 
getClientSessionId().

Hope that helps.

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

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


[jboss-user] [JBoss Seam] - Re: How to store Conversation in database or cache?

2007-02-27 Thread [EMAIL PROTECTED]
HttpSession

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

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


[jboss-user] [JBoss Seam] - Re: Using the JPA delegate

2007-02-27 Thread eirirlar
It seems that the entityManager.getDelegate() returns either a SessionImpl or a 
EntityManagerImpl, depending on wether or not you have the following set up in 
your components.xml:

core:managed-persistence-context name=bookingDatabase
  |auto-create=true
  | persistence-unit-jndi-name=java:/EntityManagerFactories/bookingData/

and persistence.xml:

property name=jboss.entity.manager.factory.jndi.name 
  |   value=java:/EntityManagerFactories/bookingData/

That is - if this is set up, SessionImpl is returned. Otherwise 
EntitiyManagerImpl is returned.

I can't really find a logical explanation for this, but it's not a problem as 
long as I know about it.

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

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


[jboss-user] [JBoss Seam] - Re: Where are the generated SQL db statements for the EJBs?

2007-02-27 Thread [EMAIL PROTECTED]
Depends upon the modification. If you just add an attribute, then yes...

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

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


[jboss-user] [JBoss Seam] - Re: Using the JPA delegate

2007-02-27 Thread [EMAIL PROTECTED]
Perhaps it was an EJB3 container bug - in which case I'm sure the fix will be 
in JBoss 4.2.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread [EMAIL PROTECTED]
Thanks for the release, Norman!

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread [EMAIL PROTECTED]
BTW, the more official announcement is here:

http://blog.hibernate.org/cgi-bin/blosxom.cgi/2007/02/27#seam-120

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

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


[jboss-user] [JBoss Seam] - Re: Seam/Hibernate meetup in San Francisco, Friday, March 2

2007-02-27 Thread [EMAIL PROTECTED]
The location is:

Levende Lounge
1710 Mission St. @ Duboce
San Francisco, CA 94103
Phone: 415.864.5585

http://www.levendesf.com/

At 7 PM.

Please email me if you intend to come to this event. There is usually a cover 
charge for this place on a Friday night, so I need to get people's names on the 
door list.

Thanks,
Gavin



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

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


[jboss-user] [Remoting] - Re: server bind address - documentation

2007-02-27 Thread [EMAIL PROTECTED]
Hi John,

That paragraph really is correct.

I think the point is that clientConnectAddress is only meant to be used when 
the client connects through a router that maps an external host name to the 
actual name of the actual host.  The fact that clientConnectAddress is set 
tells the server that the host name in the InvokerLocator is *not* the real 
host name, thereby throwing  the server into the default case of using the 
local host address.  

The logic is


  | if (serverBindAddress is set)
  | use it
  | else if (clientConnectAddress is not set)
  | use host from InvokerLocator
  | else
  | use local host address
  | 

The local host address, by the way, is obtained by the call


  | InetAddress.getLocalHost().getHostAddress()
  | 

which returns the IP address of the local host.  

I'll try to make the paragraph clearer.

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

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


[jboss-user] [Remoting] - Re: server bind address - documentation

2007-02-27 Thread [EMAIL PROTECTED]
Let me try that again.  The logic is


  | if (serverBindAddress is set)
  | use it
  | else if (the host is present in the InvokerLocator and clientConnectAddress 
is not set)
  | use host from InvokerLocator
  | else
  | use local host address

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread [EMAIL PROTECTED]
Note that there is one silly minor issue in this release that you need an 
internet connection to run Seam. (We missed updating the version number of the 
DTD of the components.xml file in the Seam jar.)

We might do a patch release to fix this, but anyhoo it is fixed in CVS. 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How do you abort the startup process?

2007-02-27 Thread bobbalou135711
Same question.  Is there a particular config I can set or a particular 
exception I can throw to abort the startup?

I would like the server to shutdown if the MBean fails to start.

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

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


Re: [jboss-user] [JBoss Messaging] - Re: Message redelivery

2007-02-27 Thread Ovidiu Feodorov


1.2.0 will go GA tomorrow.

imaeses wrote:

Hi Tim,

Thanks for the reply. Here's my problem: we aren't prepared to roll the 1.2 
version into production because it's not a general release yet. We'd prefer to 
use the 1.0.1 version since it is stable. However, this one feature is quite 
important.

Are you planning on enabling this feature in a SP release in the near future?

If not, could you give me a hint where in the code I should go to implement 
this myself.

Many thanks,
Adam

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

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



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


[jboss-user] [Management, JMX/JBoss] - Re: Monitoring jboss

2007-02-27 Thread genman
Yes, check out the JMX console. There is a System information MBean.

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

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


[jboss-user] [JBoss jBPM] - Re: jPDL and BPEL Integration

2007-02-27 Thread kukeltje
discussion: some info on... http://blogs.jboss.com/blog/tbaeyens/  but if you 
use google, I'm sure you can find more

You need to be more specific in what you want. calling a small amount of 
webservices from a human workflow: jpdl, orchestrating lots of (web)services 
into more complex ones: bpel

integration between jpdl and bpel is possible simply because you can call a 
webservice from jpdl (you need to do some work) and bpel processes are 
accessible as a webservice. A real example is unknown to me, but 'trivial'. It 
is however not modeled in one processdefinition. 

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

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


[jboss-user] [JBoss jBPM] - Re: Help getting all tasks for a user

2007-02-27 Thread kukeltje
If what there is is not sufficient for you and the proposed solutions are 
obscure (your words, not of many, many other users), then implement your own 
hibernate query et voila

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How do you abort the startup process?

2007-02-27 Thread genman
The easiest would be to create an MBean that did a check of the service 
deployer at some point for any failed deployments, then call the shutdown MBean.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How do you abort the startup process?

2007-02-27 Thread genman
Otherwise, you could contribute some sort of patch for JBoss to do this.

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

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


[jboss-user] [JBoss Messaging] - Re: Message redelivery

2007-02-27 Thread [EMAIL PROTECTED]
1.2.0 will go GA tomorrow. 

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

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


[jboss-user] [JBoss jBPM] - Re: wscompile fails to generate artifacts for included xsd

2007-02-27 Thread [EMAIL PROTECTED]
I'll investigate the NPE. For JBossWS 1.0.3.SP1, the stack trace points here:

   private void processOperationInput(Definition srcWsdl, Operation 
srcOperation, WSDLInterfaceOperation destOperation, PortType srcPortType)
  |{
  |   Input srcInput = srcOperation.getInput();
  |   if (srcInput != null)
  |   {
  |  Message srcMessage = srcInput.getMessage();
  |  log.trace(processOperationInput:  + srcMessage.getQName());
  |  
  |  QName wsaAction = 
(QName)srcInput.getExtensionAttribute(Constants.WSDL_ATTRIBUTE_WSA_ACTION);
  |  if (wsaAction != null)
  | destOperation.addProperty(new 
WSDLProperty(Constants.WSDL_PROPERTY_ACTION_IN, wsaAction.getLocalPart()));
  | ...
For some reason an operation's input message is being set to null, normally 
when a message is not found you get an error message. 

I noticed you have a duplicate port type definition in hello.wsdl, you don't 
need that as long as you import another WSDL document that defines it. This 
probably won't fix the problem but is a step forward.

I'd appreciate if you zipped your project and sent it to me so that I can 
investigate more quickly.

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

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


[jboss-user] [JBoss Seam] - How to use Seam Identity?

2007-02-27 Thread tonylmai
I like Seam Identity. It simplifies my login session verification process 
significantly.

What I would like to do next is to outject a LoginSession with account ID, 
etc... once the user has login. How do I go about overriding/suplementing the 
Identity.login method? (I am assuming there is an Identity.login method)

Thanks

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to deploy two web applications in certain order?

2007-02-27 Thread steveli100
Finally found out the answer at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeploymentOrder

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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?

2007-02-27 Thread [EMAIL PROTECTED]
@Name(org.jboss.seam.core.identity)
  | public class MyIdentity extends RuleBasedIdentity {//or Identity, if no 
drools
  | public String login() {
  | String outcome = super.login();
  | //do whatever you like
  | }
  | }




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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread svadu
Gavin what is actually meant by integration of Ajax4JSF, as far as I know 
Seam works well with ajax4jsf, is there something new?

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread [EMAIL PROTECTED]
It means integration into seam-gen.

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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?

2007-02-27 Thread tonylmai
Hi Gavin,

I am using Seam 1.1.6, not 1.2 and I received the following error when I copied 
the Authenticator example code 
(http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/security.html#d0e6073)

 Server log ---
Caused by: org.jboss.seam.RequiredException: In attribute requires value for 
component: authenticator.entityManager
-

Note that in the example code, entityManager is injected as:
@In EntityManager entityManager;

whereas in the booking example, LoginAction has it declared as:
@PersistenceContext private EntityManager em;

Neither works for me when I started using Authenticator. Can you help?

Do I need to upgrade to Seam 1.2?

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?

2007-02-27 Thread [EMAIL PROTECTED]
If you want to use @PersistenceContext, you need to make your Authenticator a 
session bean. Otherwise, you need to config a seam-managed PC.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-27 Thread petemuir
Brad, just to keep you updated: I'm still working on the testcase - I should 
manage to get it all finished tomorrow, so the next time my laptop meets the 
internet after that there should be a testcase at least :)

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-27 Thread petemuir
In fact

http://jira.jboss.com/jira/browse/JBSEAM-950

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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?

2007-02-27 Thread tonylmai
I am using Seam-managed PC. But it's throwing me the above error. Here is a 
snippet of stacktrace:


  | 18:07:03,015 INFO  [Lifecycle] starting up: org.jboss.seam.security.identity
  | 18:07:03,562 INFO  [Pages] reading pages.xml
  | 18:07:03,625 ERROR [SeamLoginModule] Error invoking login method
  | javax.faces.el.EvaluationException: org.jboss.seam.RequiredException: In 
attribute requires value for component: authenticator.entityManager
  | at 
com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  | 
  | Caused by: org.jboss.seam.RequiredException: In attribute requires value 
for component: authenticator.entityManager
  | at org.jboss.seam.Component.getInstanceToInject(Component.java:1920)
  | .
  | 

I followed the example and coded the Authenticator as followed:


  | package com.judots.webclient.session;
  | 
  | import * (skipped)
  | 
  | @Name(authenticator)
  | public class Authenticator {
  | @In
  | EntityManager entityManager;
  | 
  | public boolean authenticate() {
  | String usrName = Identity.instance().getUsername();
  | System.out.println(Verify login for  + usrName);
  | 
  | User dbUsr = null;
  | try {
  | dbUsr = (User) entityManager
  | .createQuery(
  | from login_user where 
loginId = :username and password = :password)
  | .setParameter(username, 
Identity.instance().getUsername())
  | .setParameter(password, 
Identity.instance().getPassword())
  | .getSingleResult();
  | 
  | assert (dbUsr != null) : No result from db. Should 
have thrown NoResultException;
  | 
  | Seam.invalidateSession();
  | // String err = 
Messages.getString(ELNames.APP_BUNDLE_ELNAME,
  | // login.invalidIdPwd.msg, new Object[] {});
  | // FacesMessages.instance().add(err);
  | return false;
  | }
  | } catch (NoResultException ex) {
  | System.out.println(User  + usrName +  not found.);
  | 
  | Seam.invalidateSession();
  | // String err = 
Messages.getString(ELNames.APP_BUNDLE_ELNAME,
  | // login.invalidIdPwd.msg, new Object[] {});
  | // FacesMessages.instance().add(err);
  | return false;
  | }
  | 
  | return true;
  | }
  | }
  | 

I am not sure if I understand what it means by 'In attribute requires value for 
component'. Can you help?

Thanks

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

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


[jboss-user] [JBoss Seam] - Seam Readers Choice - Vote...

2007-02-27 Thread [EMAIL PROTECTED]
http://jdj.sys-con.com/general/readerschoice.htm

where is seam?

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread dmp
[EMAIL PROTECTED] wrote : Note that there is one silly minor issue in this 
release that you need an internet connection to run Seam. (We missed updating 
the version number of the DTD of the components.xml file in the Seam jar.)
  | 
  | We might do a patch release to fix this, but anyhoo it is fixed in CVS. 


For us home gamers that want to play along (and stick the fix in the jar), is 
this the fix in CVS you are referring to?

anonymous wrote : 
  | /jboss-seam/src/main/org/jboss/seam/components-1.2.dtd 
  | 1.1   by nrichards (19 hours ago) (+39) new 
  | in changeset MAIN:nrichards:20070227065100 

change xsd versions 
anonymous wrote : 
  | 
  | tia,
  | Doug

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread dmp
ooops.  Somehow ended up quoting the end of the message when I hit submit...  
Last quote was unintended.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - msyql and postgresql - identity columns

2007-02-27 Thread hanasakijiji
how can the same ejb3 entity code be used with both MySQL and PostgreSQL on the 
primary keys (integers). 

The databases already exist - and cannot be modified
mysql is AUTO_INCREMENT
postgresql is SERIAL

It looks like Identity can be used with mysql but not postgresql?  Is the only 
way to fall back to table based sequences?

The below link was not much help...
http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html#entity-mapping-identifier

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

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


[jboss-user] [JBossWS] - Re: receiving a AxisFault in the client

2007-02-27 Thread khkachn
Hi,

  I struggled with Jbossws to create a client for a while and then finally gave 
up and used Axis-1.4. There are working examples in their getting started 
document. 

Ken

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread dmp
Ah, it appears the updated dtd is in the jar, but when you explode 
jboss-seam.jar you'll find a components.xml under META-INF that references the 
1.1 version of the DTD.  :%s/1.1/1.2/g should hopefully have fixed this for me. 
 I'll find out soon enough.


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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?

2007-02-27 Thread [EMAIL PROTECTED]
Probably you need auto-create=true in components.xml, or @In(create=true) in 
the Java.

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

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


[jboss-user] [JBoss Seam] - http://www.karwell.com/apropos/equipe/JMP/seam_me_getting_st

2007-02-27 Thread xuzhenhua21
I practiced the example follow this:
http://www.karwell.com/apropos/equipe/JMP/seam_me_getting_started/index.htm
I got errors cofused me:
11:13:21,921 INFO  [EARDeployer] Init J2EE application: file:/C:/Program 
Files/jboss-4.0.5.GA/server/default/deploy/jboss-seam-registration.ear/
11:13:22,484 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=jboss-seam-registration.jar
java.lang.RuntimeException: Interceptor class not found: 
org.jboss.seam.ejb.SeamInterceptor
at 
org.jboss.ejb3.interceptor.InterceptorInfoRepository.loadClass(InterceptorInfoRepository.java:507)
at 
org.jboss.ejb3.interceptor.InterceptorInfoRepository.access$100(InterceptorInfoRepository.java:58)
at 
org.jboss.ejb3.interceptor.InterceptorInfoRepository$AnnotationInitialiser.(InterceptorInfoRepository.java:631)
at 
org.jboss.ejb3.interceptor.InterceptorInfoRepository$XmlInitialiser.(InterceptorInfoRepository.java:762)
at 
org.jboss.ejb3.interceptor.InterceptorInfoRepository.initialiseInfosFromXml(InterceptorInfoRepository.java:348)
at 
org.jboss.ejb3.interceptor.InterceptorInfoRepository.initialise(InterceptorInfoRepository.java:89)
at 
org.jboss.ejb3.Ejb3HandlerFactory$DDFactory.(Ejb3HandlerFactory.java:48)
at 
org.jboss.ejb3.Ejb3HandlerFactory.getInstance(Ejb3HandlerFactory.java:83)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:349)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:305)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:330)
at org.jboss.system.ServiceController.create(ServiceController.java:273)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy28.create(Unknown Source)
at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at 
org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:74)
at 
org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at 

[jboss-user] [JBoss Seam] - Re: http://www.karwell.com/apropos/equipe/JMP/seam_me_gettin

2007-02-27 Thread xuzhenhua21
This is the content of my ejb-jar.xml:
?xml version=1.0 encoding=UTF-8?
ejb-jar xmlns=http://java.sun.com/xml/ns/javaee; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd;
 version=3.0
 
   
 
   interceptor-classorg.jboss.seam.ejb.SeamInterceptor/interceptor-class
 
   
   
   assembly-descriptor
  interceptor-binding
 ejb-name*/ejb-name
 
interceptor-classorg.jboss.seam.ejb.SeamInterceptor/interceptor-class
  /interceptor-binding
   /assembly-descriptor
   
/ejb-jar
 Interceptor class not found: org.jboss.seam.ejb.SeamInterceptor 
The message confused me!

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

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


[jboss-user] [JBoss Seam] - null exception on @inject in ICEfaces PanelTabListener

2007-02-27 Thread gus888
Hi there,

I tried to inject a Seam session bean into panelTabListener, but I always got 
null value. The code is follows:@Name(tabListenerImpl)
  | @Stateless
  | public class TabListenerImpl implements TabChangeListener {
  | 
  | @In (create=true, required=true)
  | @Out (required=false)
  | private ProjectFinder projectFinder;
  | 
  | public void processTabChange(TabChangeEvent e) throws 
AbortProcessingException {
  | int index = e.getNewTabIndex();
  | if (index == 0)
  | projectFinder.find();
  | }
  | }
The jsp code:ice:panelTabSet selectedIndex=0 styleClass=myTab
  | 
  | ice:panelTab id=tab1 label=Project
  | ice:panelGroup id=Panel1
  | f:subview id=re1
  | ui:include src=/projects.xhtml /
  | /f:subview
  | /ice:panelGroup
  | /ice:panelTab
  | ice:panelTab id=tab2 label=Tab 2
  | ice:panelGroup id=Panel2
  | f:subview id=re2
  | h:outputText value=Tab 2 /
  | /f:subview
  | /ice:panelGroup
  | /ice:panelTab
  | ice:tabChangeListener type=icefaces.TabListenerImpl/
  | /ice:panelTabSet
I don't what is wrong with code, or some issues on ICEfaces+Seam. Anybody can 
give some direction? Thank you in advance.

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

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


[jboss-user] [JBoss Portal] - Non-coding contributions?

2007-02-27 Thread Oberiko
Hello.

Does JBoss accept contributions from non-coders / testers?  I'm a systems 
analyst, so my training and experience is focused on the logical system design. 
 While I can get by in Java, I'm hardly an expert.

Would there be any use for my skills (UML, UI, database modeling, business 
logic etc.) here?  If so, what would be the best way to go about contributing?  

The primary project I've been looking at is JBoss Portal.

Thanks.

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

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


[jboss-user] [Beginners Corner] - Non-coding contributions?

2007-02-27 Thread Oberiko
Hello.

Does JBoss accept contributions from non-coders / testers? I'm a systems 
analyst, so my training and experience is focused on the logical system design. 
While I can get by in Java, I'm hardly an expert.

Would there be any use for my skills (UML, UI, database modeling, business 
logic etc.) here? If so, what would be the best way to go about contributing?

The primary project I've been looking at is JBoss Portal.

Thanks.

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

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


[jboss-user] [JBoss Portal] - Re: Non-coding contributions?

2007-02-27 Thread Oberiko
My apologies, I thought I had posted this to the Beginners Corner.

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

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


[jboss-user] [Beginners Corner] - Two basic questions from a new potential user

2007-02-27 Thread wjscott
Hello all,

I really appreciate the time you are taking to look into this. Thanks in 
advance.

Question 1: J2EE Question
I want to implement EJB3 using JBoss on a Solaris server for JSP, Servlets, and 
Web Services. Is it possible to implement a persistent/transactional model with 
using enterprise beans and session / message beans and still keep a library 
that can be used on a disconnected client application? Currently we use our 
library to manage a list of people for example in our client/server model as 
well as a single standing swing application. Can I continue to use that library 
in both client and server?

Question 2: JBoss Deployment Question
We currently use Tomcat for our web application. The problem is that we cannot 
deploy without people losing their sessions. We pretty much have people in our 
system 24/7 so that poses a problem. Can JBoss support deployment of new web 
applications without the current users losing their sessions?

Thanks in advance to everyone that can help me out.

Jared

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread dmp
Based on the stack trace below, I don't think my little hack worked.  Since the 
this server running this code sits behind a fairly restrictive proxy, how can I 
fix this problem?

tia,
-Doug

Exception during request processing: org.dom4j.DocumentException: Connection 
timed out: connect Nested exception: Connection timed out: connect 
  | org.dom4j.io.SAXReader.read(SAXReader.java:484)
  | org.dom4j.io.SAXReader.read(SAXReader.java:343)
  | org.jboss.seam.util.XML.getRootElement(XML.java:16)
  | org.jboss.seam.core.Pages.getDocumentRoot(Pages.java:791)
  | org.jboss.seam.core.Pages.parse(Pages.java:781)
  | org.jboss.seam.core.Pages.createPage(Pages.java:172)
  | org.jboss.seam.core.Pages.getPage(Pages.java:147)
  | org.jboss.seam.core.Pages.createPageStack(Pages.java:229)
  | org.jboss.seam.core.Pages.getPageStack(Pages.java:208)
  | org.jboss.seam.core.Pages.applyRequestParameterValues(Pages.java:593)
  | 
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:176)
  | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:57)
  | 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
  | org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | java.lang.Thread.run(Thread.java:595)

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread [EMAIL PROTECTED]
http://fisheye.jboss.com/changelog/JBoss/jboss-seam?cs=MAIN:gavin:2007022825

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

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


[jboss-user] [JBoss Messaging] - Jboss ESB Generic methods + Documentation

2007-02-27 Thread mishra.piku
Hi Guys ,

From the documentation I was able to run the sample application provided by 
Jboss People. But I am unable to track the flow of the application. I want to 
develop a generic method so that the developer will call that method to send a 
Message and he will get a response Message. Can anybody tell me how to develop 
a customized ESB application so that it can be used in the application. I need 
a stater guide to achieve this. I would like to make it more specific that a 
message will go in one Queue and response will be acknowledged in another 
Queue.

My method structure will be like this

public Message sendAndGet(Message msg,... some other parameters)
{
   //Receive the message and send it to Queue A
  //make a webservice call
  //Generate a response message
 //Send the response message to the caller 
 //The response message should come from the Queue B

}

If I get any response in this regard, I will be obliged to the Jboss community.


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

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


[jboss-user] [JBoss jBPM] - unable to observe result of action handler on console

2007-02-27 Thread ramyasr
hi,
i'm able to call action handlers and the process is executing without giving 
any exceptions(error calling action handler). but i'm NOT ABLE to observe the 
result of executing an action handler on the console.what has to be done?
thanks.

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

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


[jboss-user] [JCA/JBoss] - Re: Siebel Resource Adapter for JBoss

2007-02-27 Thread mandarkul
Hi Weston,

I will just explain the scenario,
1) When I call factory.getConnection() method the container calls the 
createManagedConnectionConnection method with an instance of 
ConnectionManager being passed as an argument.If I print the class-name the 
output is BaseConnectionManager2 class of JBoss.
2) We are expecting the entire control being taken over by JBoss.Similarly the 
task of creating the connection and attaching a listener to it is expected to 
be done by the ConnectionManager.Therefore we are relying on 
BaseConnectionManager2 to create a connection and attach a listener to it.
3) In ManagedConnection's close method we are invoking the listeners 
explicitly.So as per our understanding the task of associating a Connection 
with its litener is the task of JBoss and not our RA. Correct me If I m wrong.

ManagedConnection's close method and notifyClose method that invokes the 
listeners attached to the connection.
public void close() {   
  | notifyClose();
  | myConnection.invalidate();
  | }
  | 
  | public void notifyClose() {
  | ConnectionEvent ce = new ConnectionEvent(this, 
ConnectionEvent.CONNECTION_CLOSED);
  | ConnectionEventListener cel = null;
  | for(Iterator i = eventListeners.iterator(); i != null  
i.hasNext();) {
  | Object obj = i.next();
  | System.out.println(Event Listener Class =  + 
obj.getClass().getName());
  | cel = (ConnectionEventListener)obj;
  | cel.connectionClosed(ce);
  | }
  | }


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

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


[jboss-user] [JCA/JBoss] - Re: Siebel Resource Adapter for JBoss

2007-02-27 Thread mandarkul
Hi Weston ..

Thanks a lot. You have made my day. :)
We did a small change in notifyClose by passing the reference of connection 
object as a connection handle to connection even object and things worked 
fine once again thanks a lot... u r a  genious 

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

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


[jboss-user] [Security JAAS/JBoss] - Can secure jmx-console but not my own web app!!!

2007-02-27 Thread cgt001
Hi,
   Can anybody out there show me how to secure a web app?  I have successfully 
secured jmx-console using the DatabaseServerLoginModule but can't access a 
deployed web (sample web) in my JBOSS AP server.

Below are the configurations made for my sample web.

login-config.xml entries

application-policy name = My-web
   
  login-module code = 
org.jboss.security.auth.spi.DatabaseServerLoginModule
 flag = required
 module-option name = dsJndiNamejava:/DefaultDS/module-option
 module-option name = principalsQuerySELECT PASSWD FROM 
JMS_USERS WHERE USERID=?/module-option
 module-option name = rolesQuerySELECT ROLEID, 'Roles' FROM 
JMS_ROLES WHERE USERID=?/module-option
  /login-module
   
/application-policy

-

jboss-web.xml entries

jboss-web
security-domainjava:/jass/My-web/security-domain
context-root/My-web/context-root
/jboss-web

---

web.xml file entries

web-app

 security-constraint
 web-resource-collection
   web-resource-namemy-web/web-resource-name
   An example security config that only allows users with the
 role WebAppUser to access the My-web web application
   
   url-pattern/*/url-pattern
   http-methodGET/http-method
   http-methodPOST/http-method
 /web-resource-collection
 auth-constraint
   role-nameWebAppUser/role-name
 /auth-constraint
   /security-constraint
   

   login-config
  auth-methodBASIC/auth-method
  realm-nameMy-web Realm/realm-name
   /login-config

   security-role
  role-nameWebAppUser/role-name
   /security-role
/web-app

-
JBoss server log 


javax.naming.NamingException: Could not dereference object [Root exception is 
javax.naming.NameNotFoundException: jass not bound]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:488)
at 
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:180)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.NameNotFoundException: jass not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1061)
... 16 more


Thanks,
cgt001



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

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


[jboss-user] [Security JAAS/JBoss] - Re: Can secure jmx-console but not my own web app!!!

2007-02-27 Thread jaikiran
anonymous wrote :  security-domainjava:/jass/My-web/security-domain 

Looks like a typo, that should have been:

anonymous wrote :  security-domainjava:/jaas/My-web/security-domain 

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-02-27 Thread jaikiran
Have a look at:

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

However, this is not a recommended approach as mentioned at 

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

anonymous wrote : Note: JBoss does not recommend using this feature on a 
production environment. It requires accessing a connection pool remotely and 
this is an anti-pattern as connections are not serializable. Besides, 
transaction propagation is not supported and it could lead to connection leaks 
if the remote clients are unreliable (i.e crashes, network failure). If you do 
need to access a datasource remotely, JBoss recommends accessing it via a 
remote session bean facade.

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

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


[jboss-user] [EJB 3.0] - Re: NamingException: Could not dereference object - EJB 3.0

2007-02-27 Thread jaikiran
Looks similar to this issue:

http://jboss.com/index.html?module=bbop=viewtopict=98072view=previous



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

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


[jboss-user] [Security JAAS/JBoss] - Re: Can secure jmx-console but not my own web app!!!

2007-02-27 Thread cgt001
Hi jaikiran,

  Thanks, it worked!  Just copied that part from the other posts and overlooked 
that part.

Thanks and regards,
cgt001

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

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


[jboss-user] [JBoss jBPM] - Undeploy ProcessDefinition........

2007-02-27 Thread daresan
I am trying to undeploy processdefinition from oracle database by using jbpm 
api. but it is throughing error. these are follows

code:

JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | try {
  | ProcessDefinition processDefinition = 
jbpmContext.getGraphSession().findLatestProcessDefinition(processDefn.getName());
  | jbpmContext.getGraphSession().deleteProcessDefinition(processDefinition);
  | }finally {
  | jbpmContext.close();
  | }
  | 


error:

12:48:23,799 WARN [JDBCExceptionReporter] SQL Error: 904, SQLState: 42000
  | 12:48:23,799 ERROR [JDBCExceptionReporter] ORA-00904: TEMPLATESE0_.ID_: 
inva
  | lid identifier
  | 
  | 12:48:23,831 ERROR [STDERR] org.hibernate.exception.SQLGrammarException: 
could n
  | ot initialize a collection: [org.jbpm.taskmgmt.def.Task.templateSet#1662789]
  | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
  | ava:65)
  | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
  | er.java:43)
  | at org.hibernate.loader.Loader.loadCollection(Loader.java:1926)
  | at org.hibernate.loader.collection.CollectionLoader.initialize(Collectio
  | nLoader.java:71)
  | at org.hibernate.persister.collection.AbstractCollectionPersister.initia
  | lize(AbstractCollectionPersister.java:520)
  | at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onIn
  | itializeCollection(DefaultInitializeCollectionEventListener.java:60)
  | at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:
  | 1627)
  | at org.hibernate.collection.AbstractPersistentCollection.initialize(Abst
  | ractPersistentCollection.java:344)
  | at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPe
  | rsistentCollection.java:86)
  | at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:13
  | 8)
  | at org.hibernate.type.CollectionType.getElementsIterator(CollectionType.
  | java:196)
  | at org.hibernate.type.CollectionType.getElementsIterator(CollectionType.
  | java:188)
  | at org.hibernate.engine.CascadingAction.getAllElementsIterator(Cascading
  | Action.java:266)
  | at org.hibernate.engine.CascadingAction.access$100(CascadingAction.java:
  | 21)
  | at org.hibernate.engine.CascadingAction$2.getCascadableChildrenIterator(
  | CascadingAction.java:52)
  | at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:2
  | 88)
  | at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:185)
  | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:160)
  | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108)
  | at org.hibernate.engine.Cascade.cascade(Cascade.java:248)
  | at org.hibernate.engine.Cascade.cascade(Cascade.java:223)
  | at org.hibernate.event.def.DefaultDeleteEventListener.cascadeBeforeDelet
  | e(DefaultDeleteEventListener.java:220)
  | at org.hibernate.event.def.DefaultDeleteEventListener.deleteEntity(Defau
  | ltDeleteEventListener.java:169)
  | at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDe
  | leteEventListener.java:110)
  | at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:764)
  | at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:757)
  | at org.hibernate.engine.CascadingAction$2.cascade(CascadingAction.java:4
  | 7)
  | at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:213)
  | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:157)
  | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108)
  | at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:2
  | 90)

i have checked so many messages about this topic
e.g.
http://www.jboss.com/index.html?module=bbop=viewtopict=78471
http://www.jboss.com/index.html?module=bbop=viewtopict=82667

i have tried to delete processinstance before processdefinition
code:
jbpmContext.getGraphSession().deleteProcessInstance(pi);

but still i am not able to undeploy

if someone who has encountered this problem can u plz help me out regarding 
this.

thanks in advance

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

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


[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread eknathkadam
I believe all this JMX support is for microcontainer that is supplied with 
Jboss5, I think the MC release is 2.0, is there any JMX support in prior 
release, the one supplied with Jboss 4.x (release 1.0, I guss.) ?

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with process composition

2007-02-27 Thread dohoangn
I have the same problem even  I already have deployed sub processs and the sub 
process name is in the table jbpm_processdefinition. Could you please give us a 
solution?
Thanks,

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2 released

2007-02-27 Thread [EMAIL PROTECTED]
Patch release: 
http://sourceforge.net/project/showfiles.php?group_id=22866package_id=163777release_id=489903

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

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


[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-27 Thread grdzeli_kaci
petemuir wrote : h:selectOneMenu styleClass=font_style 
value=#{foo.application} 
  | 
  | Foo is the backing bean on which you wish to set the application property.  
It could be just #{application} - though I'm not sure how well this works on 
the whole.


ok,
1. i had entityconverter.jar into my war file
2.my project component.xml file looks like :

  | framework:entity-home name=applicationHome 
entity-class=com.magticom.billing.businesslayer.entitybeans.billAdmin.Application
 /
  | factory name=application value=#{applicationHome.instance} /
  | framework:entity-query name=applications ejbql=select a from 
Application a /
  | 
applicationHome is baking bean for login page.
application is name of this baking bean instance.
applications is is entity query.

3. my login page looks like 


  | h:selectOneMenu styleClass=font_style value=#{application}
  | s:selectItems 
value=#{applications.resultList} var=application 
label=#{application.name}/
  | ec:convertEntity /
  | /h:selectOneMenu
  | 

in h:selectOneMenu component #{application} is name of the baking bean,
in s:selectItems component #{applications.resultList}  is the result of 
entity query
the var attribute point to the factory.
ant at list this is ec:convertEntity / is for converting entity.

but always i got the same error 


  | Value is no String (class=com.magti.seam.beans.billAdmin.Application, 
value=com.magti.seam.beans.bil
  | lAdmin.Application[applicationId=4]) and component _id17:_id26with path: 
{Component-Path : [Class: j
  | avax.faces.component.UIViewRoot,ViewId: /login.xhtml][Class: 
javax.faces.component.html.HtmlForm,Id:
  |  _id17][Class: org.jboss.seam.ui.UIDecorate,Id: _id25][Class: 
javax.faces.component.html.HtmlSelectO
  | neMenu,Id: _id26]} does not have a Converter
  | 

is another way to resolve this problem? without entity converter ?
or what i did wrong ?

oo and i put entityconverter.jar into jboss server lib folder. is it needed ?


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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-02-27 Thread gopinathb4u
Thanks for the immediate response.

I am new to EJB. 

Can you please provide me a link to get the datasource using remote session 
bean facade?

Thank you,
Gopi

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JSF Warnings at EJB3 Cluster application-JBoss 4.0.5GATrailB

2007-02-27 Thread mp123
Hello JBoss Folks,

I'm trying to deploy the EJB3 POJO Cluster TrailBlazer Demo application called 
clusterstore in EJB3 Cluster server configuration of JBoss AS 4.0.5.GA, MySQL 
in HP-UX OS.

I have used the tomahawk-1.1.3.jar and modified the web.xml file as told in the 
JBoss Wiki  http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces

I'm getting the following warnings while accessing the application in 
web-console, clicking the checkout button of the application.

  | 06:32:45,649 INFO  [[/clusterstore]] No state saving method defined, 
assuming default server state saving
  | 06:32:45,702 WARN  [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough 
children. Child count should be a multiple of the columns attribute.
  | 06:32:45,702 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.PRETTY_HTML' found, using default value true
  | 06:32:45,702 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
  | 06:32:45,702 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
  | 06:32:45,702 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.AUTO_SCROLL' found, using default value false
  | 06:32:45,702 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value 
org.apache.myfaces.renderkit.html.util.DefaultAddResource
  | 06:32:45,702 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
  | 06:32:45,858 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.PRETTY_HTML' found, using default value true
  | 06:32:45,858 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
  | 06:32:45,858 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
  | 06:32:45,858 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.AUTO_SCROLL' found, using default value false
  | 06:32:45,858 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value 
org.apache.myfaces.renderkit.html.util.DefaultAddResource
  | 06:32:45,858 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
  | 
  | 
  | 06:37:34,099 WARN  [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough 
children. Child count should be a multiple of the columns attribute.
  | 06:37:36,623 WARN  [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough 
children. Child count should be a multiple of the columns attribute.
  | 06:37:39,938 WARN  [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough 
children. Child count should be a multiple of the columns attribute.
  | 06:37:42,525 WARN  [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough 
children. Child count should be a multiple of the columns attribute.
  | 
  | 
Please help me.
Thanks in Advance.


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

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


[jboss-user] [JBoss Portal] - Reporting tool integration with jboss portal

2007-02-27 Thread anu123suya
hi,

The requirement is to explore the possibility of integrating reporting tools 
with jboss portal server.
I understand that jasper reports can be integrated with jboss portal thro the 
API exposed.
Similarly,are there any other reporting tools that can be integrated?
Particularly,Business Objects.
Please help.

Thanx!

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

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


<    1   2   3   4   >