[jboss-user] [JBoss jBPM] - Re: what is the difference between swimlane and swimlaneInst

2007-10-01 Thread kukeltje
Please stay polite, I did as well. I even ASKED you WHY you expect them to be 
the same. And btw, I did not tell you to RTFM (although source/testcases are 
imo part of that) but the usage of these fields/methods often really becomes 
more clear and helps you to understand more of jBPM. And I did not even say it 
was OBVIOUS, at least it is not to me, but before the I dive into the code to 
TRY TO HELP YOU, I had hoped that you would provide me with some more INFO, but 
clearly you do not. 

So I think YOU should take the stick out of your dark hole and instead of a 
shoe put this stick where your mouth is.

Have a nice day. No more help from me

 

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

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


[jboss-user] [JBoss/Spring Integration] - sessionFactory annotations jboss spring-modules

2007-10-01 Thread cclafuente
I'm using springmodules annotations to the validation, and hibernate 
annotations to the persistent layer. With another application server, i haven't 
got any problem with my app, but in jboss it sends a exception, and don't 
deploy the war.

My configuration 
  in the dao layer:

  | 
  | 
  | 
  | 
  | 
org.hibernate.cfg.AnnotationConfiguration
  | 
  | 
  | 
  | 
  | hibernate.dialect=${hibernate.dialect}
  | hibernate.query.substitutions=true 'Y', false 'N'
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 

and the exception in jboss:

  | org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'sessionFactory' defined in URL 
[jar:file:/C:/java/jboss-4.0.3SP1/server/default/tmp/deploy/tmp1447mamba-webapp-1.0-M1-SNAPSHOT-exp.war/WEB-INF/lib/mamba-core-1.0-M1-SNAPSHOT.jar!/applicationContext-dao.xml]:
 Invocation of init method failed; nested exception is 
java.lang.ClassCastException: 
org.hibernate.validator.event.ValidateEventListener
  | Caused by: 
  | java.lang.ClassCastException: 
org.hibernate.validator.event.ValidateEventListener
  | at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:783)
  | 

I don't want to use hibernate validation annotations, i'm using spring-moduleas 
annotations.
What's the problem?
As i explain in previously posts, in tomcat my webapp runs correctly, without 
errors, but in jboss it doesn't run.
Thanks.

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging Cluster with Topics

2007-10-01 Thread ivanrc
messages sended to queues are Persistent Messages, aren´t they?

I can´t use Queues because there are more than one consumers. During the time 
consumer change the cluster node provider if whenI lost messages.



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

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: installing jboss AS 4.2.1

2007-10-01 Thread peppermache
I'm having a problem when I run JBoss.  I get a message saying that 

JVM_Bind address is already in use

Any ideas on how to solve this?  I'm new to JBoss as well and I have just 
downloaded it to my PC.

Thanks.



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

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


[jboss-user] [JBoss Tools (users)] - Re: Update to JBoss IDE beta3 -> lots of problems ...

2007-10-01 Thread [EMAIL PROTECTED]
Problem with start/stop of jboss as - is  that on an a newly created server or 
an existing one already configured in your eclipse workspace ?

Looks like the server configuration some how is missing the location of the 
server and just uses root. Where does the error show up ? In eclipse ? In the 
console output ?

The ALL never included all of eclipse afaik; only the bundle one did. Anyhow 
the preconfigured all ready to go option is what RHDS provides; JBoss Tools is 
"just" the  plugins.

Packaging has changed to archiving - need to get that better documented 
apparently.

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

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


[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread wuhaixing
Yes,If I don't call the identitiy.login,the thing is ok.That's why I think 
identity.login reset the session.

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

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


[jboss-user] [Javassist user questions] - hibernate annotations and session factory:

2007-10-01 Thread cclafuente
I have this configuration in my webapp:

The DAO layer:


  | 
  | 
  | 
  | 
  | 
org.hibernate.cfg.AnnotationConfiguration
  | 
  | 
  | 
  | 
  | hibernate.dialect=${hibernate.dialect}
  | hibernate.query.substitutions=true 'Y', false 'N'
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 


and then i reference the sessionFactory when it's needed.
I use annotations and not hibernate validation, when i run my application in 
another web server, there are no problems, but in jboss, the next exception 
allways occurs:


  | org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'sessionFactory' defined in URL 
[jar:file:/C:/java/jboss-4.0.3SP1/server/default/tmp/deploy/tmp1447mamba-webapp-1.0-M1-SNAPSHOT-exp.war/WEB-INF/lib/mamba-core-1.0-M1-SNAPSHOT.jar!/applicationContext-dao.xml]:
 Invocation of init method failed; nested exception is 
java.lang.ClassCastException: 
org.hibernate.validator.event.ValidateEventListener
  | Caused by: 
  | java.lang.ClassCastException: 
org.hibernate.validator.event.ValidateEventListener
  | at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:783)
  | 

what's the reason of this problem? i don't like to use hibernate annotations, 
i'm using spring modules validation annotations, i think that jboss don't make 
nothing more than tomcat in this case.
Can someone help me?
Thanks.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Expose MBeans from another domain

2007-10-01 Thread genman
It's possible the MBeans were installed in a separate MBeanServer instance. The 
console displays only the JBoss MBeanServer and those MBeans installed there.

Unfortunately (but I could be mistaken with the current release) there's no way 
to browse a different MBean server with the console. This certainly could be a 
useful feature, for example a "pull down" that listed the MBeanServers (and 
their domains) in the MBean listing.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Weird display problem with built in Hypersonic Manager

2007-10-01 Thread genman

The database manager is actually bundled with HSQLDB itself and JBoss simply 
runs it. So any issues with it should go to them.

But since it's a display issue, it's likely something wrong with your desktop 
environment.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Problem with RMI/JRMP

2007-10-01 Thread genman

Your approach doesn't seem straightforward.

The approach I've taken is to use the MBeanServerConnection interface, see this 
:
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean

You can create a proxy implementing the MBean interface by using this class: 
javax.management.MBeanServerInvocationHandler


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

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


[jboss-user] [Management, JMX/JBoss] - Re: Monitoring and managing clustered servers

2007-10-01 Thread genman
I don't believe even application servers like Weblogic provide aggregated views 
of statistics, rather statistics are kept per host instance and the client 
application needs to query each server in turn.

Luckily, this is pretty easy stuff to set up.

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

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


[jboss-user] [JBoss Seam] - Re: Printing problem

2007-10-01 Thread siven555
It doesn't work in the head tag, that is the reason I tried putting it in the 
body, where it works in sidebar but doesn't work in container.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: How do I remotely access an mbean attribute value?

2007-10-01 Thread genman
Query the MBean and get back the list of all attributes. Probably you need to 
use "RequestProcessingTime" (big "R") instead.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: How can I (remotely) access the log files?

2007-10-01 Thread genman
I don't believe there is any way to access the logs remotely. Your best bet is 
to use something like Log4J Chainsaw or create your own MBean (or Servlet) that 
probes the file system.

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

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


[jboss-user] [JBoss Seam] - Re: Performance: @Name and @Stateless

2007-10-01 Thread swd847
The only time I have seen navigation that slow with seam was when I forgot go 
change all my pages.xml schema from 1.2 to 2.0, it still works but as the 
schema is not longer included in the 2.0 jar it has to download it from the 
SEAM website for every request, resulting in a really slow webapp.

Can you be more specific as to where the bottleneck is?

Stuart

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

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


[jboss-user] [JBoss jBPM] - Re: Need a sample app

2007-10-01 Thread ali_reza_761
tanx - verry tanx kukeltje

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

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


[jboss-user] [EJB 3.0] - Re: JBoss 4.2.1 and EJB 3.0 Redeployment

2007-10-01 Thread jaikiran
See if this is of any help 
http://wiki.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions

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

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


[jboss-user] [JBoss Seam] - Re: A bit off-topic: Red Hat Developer Studio 1.0 Beta 1 is

2007-10-01 Thread amitev
With facelets you can use any visual editor and then put the jsfc attributes

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

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


[jboss-user] [JBoss Seam] - security-config.xml equivalent in 2.0?

2007-10-01 Thread samdoyle
What is the equivalent of this in 2.0? I don't see one.

S.D.

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

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


[jboss-user] [JBoss Seam] - Re: Why would adding the following to pages.xml give me: No

2007-10-01 Thread samdoyle
Please disregard this, I figured out the problem.

S.D.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS- MYSql database is getting filled up with JMS Messag

2007-10-01 Thread genman
Can you take a look at the JMX console for the Message Cache MBean and post the 
information from this MBean here?

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

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


[jboss-user] [JBoss Portal] - Google gadgets integration

2007-10-01 Thread saigon_man
Hi,
Are there some examples/tutorials showing how to integrate JBoss Portal 2.6 
with Google Gadgets?

Thanks

SGM

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

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


[jboss-user] [JBoss Seam] - Re: HTML source codes has some characters like

2007-10-01 Thread chicochen
IE browser display these native characters rightly, incuding all native 
characters come from database, but the html source code has problem.

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

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


[jboss-user] [EJB 3.0] - JBoss 4.2.1 and EJB 3.0 Redeployment

2007-10-01 Thread nhelder
I have a stateless session bean that I'd like to make available to a number of 
war applications.

I'd like to (occasionally) update that session bean and have the changes be 
immediately made available to those war applications.

But it seems that no matter what I do, the redeploying of the session bean 
results in ClassCastExceptions being encountered when the web applications look 
up the session bean's interface. These exceptions persist until either the 
server is stopped/started or the war file is redeployed.

My best guess is that there's a disconnect between the Tomcat and JBoss class 
cache... the EJB is undeployed from JBoss and JBoss clears it's cache. Then the 
EJB comes back, JBoss loads those classes, and is ready to go. But Tomcat still 
has a reference to the old class files, and thus when it does its JBoss lookup 
of the EJB's interface it gets what appears to be a "different" class than what 
it has cached (even though nothing in the interface has changed) and dies.

...is that a (somewhat) accurate description of what's happening? If so, is 
there some way to avoid the class conflict? 

A serialVersionUID seems like it would be a slick solution, but of course those 
can't be placed on interfaces. Another (crude) solution would be to catch the 
ClassCastException, somehow tell Tomcat to flush it's cache for that particular 
context, then try the lookup again... but perhaps there's a more standard 
solution out there...?

Thanks in advance,

  - Nathan

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

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


[jboss-user] [JBoss Seam] - HTML source codes has some characters like "&# 30416", but I

2007-10-01 Thread chicochen
HTML source codes has some characters like "&# 30416", but IE display these 
native words rightly.

I use jboss seam and facelet, and there must not has "&# 30416" charater, which 
is not supported by google search engine.

I even tried to solve this problem in jsf level, here are some codes, but still 
not work:

webpage:
 

 

web.xml
 
  | Set Character Encoding 
  | 
com.eastidea.px0515.util.SetCharacterEncodingFilter
 
  |  
  | encoding 
  | UTF-8 
  |  
  |  
  |  
  | Set Character Encoding 
  | /* 
  |  

DB conection string:
jdbc:mysql://127.0.0.1:3306/px0515?useUnicode=true&characterEncoding=UTF-8
 

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

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


[jboss-user] [JBoss Seam] - Re: Why would adding the following to pages.xml give me: No

2007-10-01 Thread samdoyle
Here is my bare bones notificationAdmin.xhtml


  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml";
  | xmlns:s="http://jboss.com/products/seam/taglib";
  | xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:f="http://java.sun.com/jsf/core";
  | xmlns:h="http://java.sun.com/jsf/html";
  | xmlns:rich="http://richfaces.ajax4jsf.org/rich";
  | template="layout/template3col.xhtml">
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Why would adding the following to pages.xml give me: No acti

2007-10-01 Thread samdoyle
Here is the exception as I've seen before. As usual the exception doesn't give 
any indication of the true problem.


  | 4541-a253-1f80ffbdb7c7;|Error Rendering View[/login.xhtml]
  | java.lang.IllegalStateException: No active conversation context
  | 

Here are the two new entries in the pages.xml. Without these it works fine.

  | 
  | 
  | // several more navigation rules before this
  | 
  | 
  |
  |   
  | /rule>
  | 
  | 
  | 
  | 
  | // several more of the same type of entry before this one.
  | 
  |#{s:hasRole('ultra-user')}
  |  
  | 

I have commented out the notificationAdmin.xhtml so it is bare bones and not 
doing any form of Seam Component access and I still get this error.

Any help would be great since there is no real indication why this would happen.

Thanks, S.D.

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

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


[jboss-user] [JBoss jBPM] - Re: what is the difference between swimlane and swimlaneInst

2007-10-01 Thread dingo001
"kukeltje" wrote : actorId vs actorIdExpression: 2 different names, so why do 
you expect them to work that way? Please look at some examples/testcases (they 
are in the source) and experiment a little with jBPM. Most of these things will 
become clear then. 

honestly dude, get that stick outa ur butt, if you dont have anything good to 
say do not say anything. do not tell me RTFM, I have RTFM.

yes, i do know that they are 2 different names: hence the question. why would i 
ask something that is obvious, maybe its obvious to you, but not to me. 

in the time it took you to write your diatribe, you could have just given the 
answer.

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

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


[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread matt.drees
It looks like you've set things up the way I would.

The log makes it look you're being given a new session when you return from 
CAS; do you have cookies enabled in your browser?  Are you sure the filter is 
validating the ticket successfully?

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

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


[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread wuhaixing
This is what in my web.xml

  |  
  |  CAS Filter
  |  
edu.yale.its.tp.cas.client.filter.CASFilter
  | 
  |
edu.yale.its.tp.cas.client.filter.loginUrl
  |https://localhost:8443/cas/login
  | 
  | 
  |
edu.yale.its.tp.cas.client.filter.validateUrl
  |
https://localhost:8443/cas/proxyValidate
  | 
  | 
  |
edu.yale.its.tp.cas.client.filter.serviceUrl
  |http://localhost:8080/epass/login.seam
  | 
  |  
  | 

and this is in the page.xml

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

and then in the components.xml ,I have this 

  | 
  | 
In the authenticator...

  | public boolean authenticate()
  | {
  | String username = 
(String)Contexts.getSessionContext().get(CASFilter.CAS_FILTER_USER);
  | if(username != null) {
  | identity.setUsername(username);
  | }
  | log.info("authenticating #0", identity.getUsername());
  | //write your authentication logic here,
  | identity.addRole("admin");
  | return true;
  | }
  | 
the log told me
anonymous wrote : 
  | 09:18:11,085 INFO  [Contexts] starting up: org.jboss.seam.security.identity
  | 09:18:11,092 WARN  [RuleBasedIdentity] no security rule base available - 
please install a RuleBase with the name 'securityRules' if permission checks 
are required.
  | 09:18:11,095 INFO  [Contexts] starting up: org.jboss.seam.web.session
  | 09:18:13,283 INFO  [STDOUT] 2007-10-02 09:18:13,282 INFO 
[org.jasig.cas.web.flow.InitialFlowSetupAction] - 
  | 09:18:19,535 INFO  [STDOUT] 2007-10-02 09:18:19,534 INFO 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - 

  | 09:18:19,572 INFO  [STDOUT] 2007-10-02 09:18:19,572 INFO 
[org.jasig.cas.CentralAuthenticationServiceImpl] - http://localhost:8080/epass/login.seam] for user [wuhaixing]>
  | 09:18:19,709 INFO  [Contexts] starting up: org.jboss.seam.security.identity
  | 09:18:19,715 WARN  [RuleBasedIdentity] no security rule base available - 
please install a RuleBase with the name 'securityRules' if permission checks 
are required.
  | 09:18:19,718 INFO  [Contexts] starting up: org.jboss.seam.web.session
  | 09:18:20,054 WARN  [SkinFactoryImpl] Init parameter for a skin name changed 
to org.richfaces.SKIN
  | 09:18:20,177 INFO  [Authenticator] authenticating null
  | 
What's wrong?

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

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


[jboss-user] [JBoss/Spring Integration] - Re: JBoss 4.2.0_GA + Spring 2.0.5 integration

2007-10-01 Thread iGeek
I tried putting them in the jboss-spring-jdk5.deployer and in the 
sever/default/lib directories (either one and both).

I'm now resorting to not use Spring's DI part and use EJB3's @Resource 
annotation, which seems to be working.

Thanks anyway

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployment Issues

2007-10-01 Thread ashok_av
Deployment issues.

Currently i am using jboss 3.2.7 version and deploying .ear package with 3 war 
files inside the .ear file. Everything works just fine. I am currently
looking into upgrading to jboss 4.2.1.GA. I intalled jboss 4.2.1.GA and jdk 
version 1.5. When i tried to deploy the .ear package, the deployment fails.The
ear file is exploded, but none of the war packages are getting deployed. The 
WARDeployer (WebSerivce) fails to start and i see these error in the jboss log.

Any help is greatly appreciated.


2007-10-02 08:14:15,584 DEBUG [org.jboss.system.ServiceCreator] About to create 
xmbean object: jboss.web:service=WebServer with code: 
org.jboss.web.tomcat.service.JBossWeb with descriptor: 
META-INF/webserver-xmbean.xml
2007-10-02 08:14:15,717 DEBUG [org.jboss.system.ServiceCreator] Created bean: 
jboss.web:service=WebServer
2007-10-02 08:14:15,926 INFO  [STDOUT] 08:14:15,902 ERROR [Util] Failed to 
create schema loader.
java.lang.ClassCastException: 
org.apache.xerces.dom.DOMXSImplementationSourceImpl
at 
org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(DOMImplementationRegistry.java:144)
at org.jboss.xb.binding.Util$5.run(Util.java:512)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.xb.binding.Util.getXSImplementation(Util.java:488)
at org.jboss.xb.binding.Util.loadSchema(Util.java:387)
at 
org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:168)
at 
org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:139)
at 
org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:247)
at 
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:187)
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:323)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:188)
at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:140)
at 
org.jboss.system.ServiceConfigurator.parseJbxbSerialData(ServiceConfigurator.java:643)
at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:327)
at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


2007-10-02 08:14:15,930 INFO  [STDOUT] 08:14:15,927 INFO  [ServiceConfigurator] 
Problem configuring service jboss.web:service=WebServer
org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to create 
schema loader: org.apache.xerces.dom.DOMXSImplementationSourceImpl
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:192)
at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:140)
at 
org.jboss.system.ServiceConfigurator.parseJbxbSerialData(ServiceConfigurator.java:643)
at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:327)
at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(In

[jboss-user] [JBoss Seam] - Re: SeamPhaseListener Error on Seam 2.0

2007-10-01 Thread thinkblue
Pete,

I noticed in the jira bug website you said that you would be assigning this 
issue to the richfaces group (Alex)... Do you know what the bug number/Id will 
be so that i can keep an eye on it...Or has it already been resolved in the 
latest RichFaces Snapshot?

Thank you,

Blue

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

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


[jboss-user] [Beginners Corner] - Best Practice - service initializations

2007-10-01 Thread cgs1019
I have been working with JBoss for several months now, and I have a couple 
general questions.

1) Is there a good way to deploy a POJO into the app server and have it loaded 
into JNDI automatically upon deployment?

2) Looking at documentation on the Timer Service MBean, it appears that in 
order to schedule a job, all one has to do is make a call to the Timer MBean. 
However, there is no immediately obvious way to automate this call. Similarly 
to my first question above, is there a good way to automate Timer Service 
initialization at deployment?

I saw something online about extending a GenericServlet object to perform 
custom initializations upon deployment, but this seems a bit sloppy to me. Is 
this an approved practice? 

What I'm really looking for is a good place to put code that I want to run at 
deployment time, every time. Is this wishful thinking, a bad idea, or something 
obvious that I haven't thought of yet?  Any input would be greatly appreciated, 
if only a link to some good resources. Thanks in advance!

-Christopher Suter
www.grooveshark.com

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: READ THIS FIRST

2007-10-01 Thread ashok_av
java.lang.ClassCastException: 
org.apache.xerces.dom.DOMXSImplementationSourceImpl

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

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


[jboss-user] [JBoss Seam] - Problems with migration to 2.0

2007-10-01 Thread dustismo
I am trying to migrate my app from 1.3A to 2.0 and am having tons of problems.  
I use jfreechart in in my own code and I think that is screwing everything up 
(jfreechart and jcommon jars are being included in my .war)

Here is the exception I am getting:

  | 17:01:37,919 INFO  [Component] Component: blogEntryHome, scope: 
CONVERSATION, type: JAVA_BEAN, class: net.infofilter.home.BlogEntryHome
  | 17:01:37,934 ERROR [[/]] Exception sending context initialized event to 
listener instance of class org.jboss.seam.servlet.SeamListener
  | java.lang.RuntimeException: Could not create Component: blogEntryHome
  | at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:955)
  | at 
org.jboss.seam.init.Initialization.installComponents(Initialization.java:882)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:538)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
  | at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
  | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
  | at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | at org.jboss.web.WebModule.startService(WebModule.java:61)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy45.start(Unknown Source)
  | at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 

[jboss-user] [JBoss Messaging] - Re: Messages are moved to expiry queue only when there is a

2007-10-01 Thread julians37
Sure, thanks for your attention. 

I have a request/response pattern between a client and a server communicating 
via JBM. The client sends a request and waits for the server to send the 
corresponding response. Since the request processing on the server side can 
take a while in some situations, I'd like the client to be able to cancel 
waiting for the response, and in this case I need the response delivered 
asynchronously (via e-mail) so that the user knows when the request has been 
processed.

It seems like the expiry queue feature would lend itself to implementing this: 
if the response doesn't get picked up by the client within a timeout of, say, 2 
seconds, it expires and gets transferred to a second queue where it's picked up 
by a component that takes care of forwarding it by mail.

In this scenario it's not good enough for the message to be expired once an 
attempt is being made to pick it up on the original response queue (as there 
will possibly be no client listening for responses anytime soon). Instead, I 
need it to be moved once it's expiring.

Does this makes sense or would you consider this to be an abuse of the expiry 
feature? Do you see a way of implementing this in another way, maybe using 
temporary topics and a DLQ? (Right now I'm not using temporary topics for 
responses - instead I use a global response queue with a selector on the 
JMS_CorrelationID.) Unfortunately there's no way of selecting messages by age 
or that would be another way of handling this.

FWIW, I'm currently working around the issue by having a dummy consumer with a 
selector that never matches re-registering with the queue periodically, and 
with this workaround my system works fine. But it's obviously an ugly solution 
- even though the number of messages involved is negligible so there are no 
performance issues.

Thanks,

Julian


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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread smithbstl
Done

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

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


[jboss-user] [JBoss Seam] - hibernate filter

2007-10-01 Thread atao
I'd like to use hibernate filters. The only documentation I found is:
- Seam manual "8 - Using Hibernate filters"
- Seam example "wiki"

Where can I find some more information:
- meaning of attributes in persistence:filter
- how to use such filter in java code



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

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


[jboss-user] [JBoss Seam] - New to JBoss Seam

2007-10-01 Thread priyapillai
I am new to JBoss Seam and was trying to figure out if this could be used in 
our future projects. I understand that Seam is an integrating framework to glue 
in EJB3 and JSF together. Its features seems to be really nice. So could you 
please help me with some queries.
1.  Is it possible for me to use Seam in a simple application just with JSF 
and some POJOs (without having any persistence)
  | 2.  Do I have to always configure either ejb or microcontainer in 
my components.xml file. (No persistence configuration at all)
  | 3.  Does the Seam validation annotations work only if I am using 
hibernate as my presistence.
  | 
  | I would really appreciate if anyone could help me with these answers. 
Thanks.
  | 

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

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


[jboss-user] [Remoting] - Remoting of entity beans

2007-10-01 Thread wimxa
Is it possible to dynamically load entity bean classes? I.e. I have a JBoss 
server with some ClassA entity bean there, some stateless session bean with a 
method that will return ClassA instance as the return value - can client work 
with that class by dynamically loading its definition (RMI or whatever) 
directly from JBoss?

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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread [EMAIL PROTECTED]
Right, you might want to add something to the SeamProblemsFAQ on this :)

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

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


[jboss-user] [JBoss Seam] - Simple selectOneMenu Example/seamgen

2007-10-01 Thread griffitm
Hi All, 

I am coming from a struts back ground, and I am lost for where to start trying 
to debug this problem.  I have an Object (Delivery) with an association from a 
pick list (Status)

I created a seam-gen project and played around with it, but I don't want to 
have to navigate to a different web page just to pick the status for my 
delivery. I want to provide a DDLB on the delivery edit page, and allow the 
user to select from a list that is in the status DB.  Seems simple enough, in 
Struts I'd simply put this list into a context and reference it. What I did in 
Seam may not be right.

In the components.xml file, I defined a framework query like this:

   

Then I reference it in my xhtml file as follows:

  | status
  |
  |
  |
  |
  | 

The list of status codes show up in a drop down list, but when I try to save 
the record, I get an HBM mapping error:

java.lang.IllegalArgumentException: Unknown entity: 
gov.hhs.fda.ocio.fdaaa.entity.Status_$$_javassist_39
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:185)
  | at 
org.jboss.seam.persistence.EntityManagerProxy.find(EntityManagerProxy.java:85)
  | at 
org.jboss.seam.framework.EntityIdentifier.find(EntityIdentifier.java:26)
  | at 
org.jboss.seam.ui.converter.EntityConverterStore.get(EntityConverterStore.java:43)
  | at 
org.jboss.seam.ui.converter.EntityConverter.getAsObject(EntityConverter.java:81)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:152)
  | at 
com.sun.faces.renderkit.html_basic.MenuRenderer.convertSelectOneValue(MenuRenderer.java:197)
  | at 
com.sun.faces.renderkit.html_basic.MenuRenderer.getConvertedValue(MenuRenderer.java:359)
  | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:934)
  | at javax.faces.component.UIInput.validate(UIInput.java:860)
  | at javax.faces.component.UIInput.executeValidate(UIInput.java:1065)
  | at javax.faces.component.UIInput.processValidators(UIInput.java:666)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033)
  | at javax.faces.component.UIForm.processValidators(UIForm.java:229)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033)
  | at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:662)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.access$201(AjaxViewRoot.java:53)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:315)
  | at 
org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:53)
  | at 
org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:191)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processValidators(AjaxViewRoot.java:329)
  | at 
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
  | at 
org.jboss.seam.servlet.SeamFil

[jboss-user] [JBoss jBPM] - Re: problems trying to use evaluation / reference config (j

2007-10-01 Thread kukeltje
Tom,

The fact that there are 2 'errors' is because they are printed via 
System.err.println, but as you look at the text, you see just a INFO and a 
WARNING. So please do not THINK something is related. Either be sure or  post 
all other errrors as well and let us judge. 


Also telling us your manager is screaming for results will not help you getting 
an answer quicker, au contraire. 
http://www.catb.org/~esr/faqs/smart-questions.html#urgent




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

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


[jboss-user] [JBoss jBPM] - Re: what is the difference between swimlane and swimlaneInst

2007-10-01 Thread kukeltje
actorId vs actorIdExpression: 2 different names, so why do you expect them to 
work that way? Please look at some examples/testcases (they are in the source) 
and experiment a little with jBPM. Most of these things will become clear then. 

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

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


[jboss-user] [JBoss Tools (users)] - Update to JBoss IDE beta3 -> lots of problems ...

2007-10-01 Thread tdemuth
Hi,

tonight I have updated to JBoss IDE beta3, because the packaging-mechanism 
refuses to work in my beta2-installation from now on (I don't know why, its 
telling me something of "Internal Error: beginRule path/in/my/workspace doesn't 
match surrounding context another/path/not/in/my/workspace" - I don't know what 
the problem is, it run perfectly all the time until now ... Maybe it is an 
issue with AJDT, but disabling AJDT didn't solve the problem.).

But now, I'm unable to start and stop the JBoss AS from the IDE ("Failed to 
boot JBoss:
org.jboss.deployment.DeploymentException: url file:/conf/jboss-service.xml 
could not be opened, does it exist?" - it exists and there aren't any 
restrictions for accessing that file, it is not write-locked or something like 
that / Running JBoss AS from the console works perfectly fine.) and the 
packaging-mechanism seems to have disappeared totally (Missing Builder 
org.jboss.ide.eclipse.packaging.core.PackagingBuilder).

The trouble with beta3 began even earlier: When downloading 
JBossTools-2.0.0beta3-ALL-win32.zip, files like eclipse.exe etc are missing in 
the download. It seems that there is no more bundled download (Eclipse + 
JBossTools). But that was what I expected from the ALL download. I installed 
Eclipse Europa and did an update from the JBoss-Update-site, which led to the 
above described issues.

I really liked to work with beta2, but I'm missing important features from 
beta2 in beta3. How can I fix my issues?

kind regards
Tobias

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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread smithbstl
Right s:validate works to circumvent the problem in my trivial example.  I have 
more problems when trying to evaluate objects usually in EL when choosing to 
render them or not.

I end up having to check the value of the primary key of the entity instead of 
the entity itself.  For example, if had some dependent controls and did not 
want to render the other controls until previous ones where filled in.


  | 
  |
  | 
  | 

It would be more intuitive to just say
rendered="#{foo == null}"

I understand why I can't but its misleading to a newcomer 



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

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


[jboss-user] [Beginners Corner] - jboss.bind.address

2007-10-01 Thread fuzzybinary
Not sure if this is a beginners question or not but it strikes me as one so 
I'll post it here.

I've tracked down a messaging / clustering problem to the way jboss binds to 
specific addresses, which defaults to only listening on localhost.  In a two 
machine cluster, this doesn't make sense, so of course I bind to the machine's 
IP address using:
run.sh -c  -b IPAddress

What I'm wondering about is whether there's a way around specifying the IP 
address?  I've been removing jboss.bind.address calls, but I'm not sure which 
ones to actually remove to get a clustered install working, and which ones I 
should leave as is (to prevent "random" access to the machine).

Any suggestions?

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
but if i extend the context with @PersistenceContext(... 
type=PersistenceContextType.EXTENDED) Annotation, the Dataselectionmodel works 
:)
So i think, its because the Context is not extend, if i do it the other way. 

Anyway, i will post my code tomorrow. It would be very nice if i can get a 
Solution.


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

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


[jboss-user] [JBoss Portal] - Difference between portlet-ref and component-ref - portlet i

2007-10-01 Thread dhoward0000
I'm trying to figure out why with the below configuration, only the 
TestPortletInstance30 instance will get created.  Neither instance in the 
portlet-instances.xml is generated.  Any ideas?


jboss-app.xml:

  |appname
  | 

portlet-instances.xml: 


  | 
  | TestPortletInstance10
  | appname.TestPortlet
  | 
  |  
  | 
  | 
  | 
  | TestPortletInstance20
  | TestPortlet
  | 
  |  

myapp-object.xml:


  |
  |overwrite
  |   
  |  TestPortletInstance30
  |  appname.TestPortlet
  |   
  |   


Thanks.

 

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

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


[jboss-user] [Beginners Corner] - he request was rejected because no multipart boundary was fo

2007-10-01 Thread utsaviinindia

I took the latest jar file (commons-fileupload-1.2.jar) from Apache but still 
getting the same problem.

Any advises..

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread [EMAIL PROTECTED]
I really doubt your datamodelselection has anything to do with whether the 
persistence context is extended or not.  Why don't you actually post your code 
and the problem you have rather than plucking solutions out of thin air?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - The request was rejected because no multipart boundary was f

2007-10-01 Thread utsaviinindia

I took the latest jar file (commons-fileupload-1.2.jar) from Apache but still 
getting the same problem.


Any advise..

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

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


[jboss-user] [Beginners Corner] - Re: Rather simple but doesn't work

2007-10-01 Thread PeterJ
I suspect that either

1) You did not install EJB3 into JBoss AS 4.0.5
2) You have the wrong EJB3 version installed in JBoss AS 4.0.5

My recommendation is to use JBoss AS 4.2.1.

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
yes. thats exact what i'am doing, but with more than on EntityManager defined 
in the corresponding xml files, and it works. Thats not the problem. 
The Problem that the Persistence context seems not to be extended. I get some 
data sets over the EntityManager, show them in a datatable, use Dataselection 
Model, but i don't get the correct reference to the selected data set in the 
table. 

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread monkeyden
Actually, if auto-create=true, you don't need the true parameter, but 
getEMName() would return the String "myManagername" or any other EM name you 
have configured in components.xml.

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
hmm,

i define the Entitymanager on that way:

EntityManager em = (EntityManager)Component.getInstance(someRuntimeString);

Without the second Parameter set on true. maybe thats the problem ? 

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread monkeyden
You can't inject something if you don't know the name.  If you have to 
determine the name at runtime, you'll have to do it inline.


  | 


public void someMethod(){
  | String emName = getEMName();
  | EntityManager em = (EntityManager)Component.getInstance(emName, true);  
  | ...
  | //do some work
  | }
  | 



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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread jacob.orshalick
LOL, apparently I'm having an off day...  after looking at my code I am doing 
this in several places.  I guess I need another cup of coffee :-)

In addition, after looking back, I misread this portion of your post 
smithbstl... 

"smithbstl" wrote : I have a page where I have a number of these types of 
inputs that are optional. Even if I do not enter anything in the input 
component and its the only component that refers to a particular entity, I 
still get non null values when the entity is submitted. All of the properties 
of the entity are null but the object itself has been created by Seam.

Obviously if these inputs are optional you would not want to validate that they 
are not null so disregard my post about @NotNull and s:validate.  Stephen is 
right on both counts.  Sorry guys, not my day.

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
it's needed at runtime, because, every EntityManager has a binding to a 
database and which Database will be used, is decided at runtime.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Domain Config Problems

2007-10-01 Thread EnriqueI
http://domain.com leads to one jboss app, and http://www.domain.com leads to 
another. Which XML file do I need to edit so that both point to the same jboss 
app? 

Thanks, 

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
yes. look at my first posting ;)
but if i inititialize the Entitymanager on that way(in some SFSB) the 
DataSelection Model will not work properly. It works only if in Annotate the 
Entitymanager Variable with @PersistenceContext(unit-name"myunitname", 
type=PersistenceContextType.EXTENDED). 

But then i must hardcode a unit-name, and thats the problem.

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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread stephen.friedrich
I can't really point to a paragraph in the reference where it's explicitly 
described.

Yet, every example uses components that way: Usually the very first reference 
to a component is encountered in EL in html/jsp.

When explaining the registration example the 1.2.1 reference says:

anonymous wrote : 1.2.2. How it works
  | When the form is submitted, JSF asks Seam to resolve the variable named 
user. Since there is no value already bound to that name (in any Seam context), 
Seam instantiates the user component, and returns the resulting User entity 
bean instance to JSF after storing it in the Seam session context.

(Well, actually I think that's wrong, too. The EL is evaluated first when the 
form is rendered, so the component gets instantiated even before submit.)

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread monkeyden
Not sure why it needs to be determined at runtime but have you tried:
EntityManager em = (EntityManager)Component.getInstance(someRuntimeString, 
true);

???  

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS startup on W2000 SP4 : getnameinfo entry point not

2007-10-01 Thread olvin
I'm using JBoss 4.2.1.
I will try the Sun JDK 6 update 2 and also on another Win 2000 server.
I will tell you if it works.

Olv

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
the problem is that the name of the entitymanager will be determined at 
runtime. so i can't put the static variable name before runtime in my code.

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread monkeyden
Seam bijection depends on variable name.  Try this:

@In(create=true)
  | private EntityManager myManagername;

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
i used SMPC(for example): 


  | 

but the context is not extended, because 
in the code i get the ref to the Entitymanger i described further, but the 
Dataselection Model will not work in my stateful session beans, so it's not 
extended.

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
is there a way to define the extension of the persistence contexts directly in 
the persistence.xml instead of annotating this behaviour at the entitymanager 
definition?

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering appears okay, but no clustered messages

2007-10-01 Thread fuzzybinary
run.sh -b IPaddress works, and I've narrowed this down to a clustering problem, 
not a messaging problem.  Thanks for all your help guys!

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread bravefencer
i have more than one persistence unit defined in persistence.xml, because i'am 
using more than one database.
But for all possible units i have defined in the persistence.xml i must have an 
extended persistence context. 


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

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


[jboss-user] [JBoss Seam] - Logout problem

2007-10-01 Thread srpantano
I am using Seam 2.0Beta1 + Acegi + Spring + Hibernate.
When I try to logout, and I used:

  | Session.instance().invalidate()
  |  ;

  | HttpSession session = 
(HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(false);
  | session.removeAttribute("ACEGI_SECURITY_CONTEXT");
  | session.removeAttribute("ACEGI_SECURITY_LAST_USERNAME");
  | 
Everything goes berserk, and my EntityManager is killed:

  | 16:37:32,369 ERROR [ExceptionFilter] handling uncaught exception
  | java.lang.IllegalStateException: EntityManager is closed
  | at 
org.hibernate.ejb.EntityManagerImpl.getSession(EntityManagerImpl.java:42)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:92)
  | at 
org.hibernate.search.jpa.impl.FullTextEntityManagerImpl.createQuery(FullTextEntityManagerImpl.java:130)
  | at 
org.jboss.seam.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:79)
  | at 
com.bcsinfo.security.view.web.user.UserList.findUserByUsername(UserList.java:48)
  | 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:589)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.se
  | 

Please Help.

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

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


[jboss-user] [JBoss Seam] - Re: #{conversationList} appears to be empty

2007-10-01 Thread jacob.orshalick
Sorry, with Seam 1.2.1 the method is part of the API so I'm at a loss here.  
Maybe someone else could chime in with any insight.

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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread jacob.orshalick
"stephen.friedrich" wrote : If you reference a seam component in EL in the 
component instance will _always_ be created if it was null. 

That's interesting.  Is that documented or have you simply experimented and 
discovered this?  It certainly doesn't work that way for @In.

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

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


[jboss-user] [JBoss Portal] - Re: Can not get user role from LDAP server

2007-10-01 Thread saigon_man
Thanks a million for the tutorials. It worked perfectly. I am now able to 
connect to LDAP server and retrieve the user role. Here is that I've done in 
case of other people would like to know how to do it
1. Follow the instructions in those tutorials above for LDAP connection
2. To retrieve user roles, 
  2.1 add these codes into ldap_identity-config.xml


  | 
  |  common
  |  
  | userCtxDN
  | ou=People,o=test,dc=portal,dc=example,dc=com
  |  
  |  
  | roleCtxDN
  | ou=Roles,o=test,dc=portal,dc=example,dc=com
  |  
  |
  | userSearchFilter
  | 
  |
  |
  | roleSearchFilter
  | 
  |
  |
  | membershipAttributeID
  | member
  |
  | 
  |   
  | 



  | 
  |  
  |  User
  |  LDAP
  |org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl
  |  
  |   
  |   
  |  Role
  |  LDAP
  |org.jboss.portal.identity.ldap.LDAPExtRoleModuleImpl
  |  
  |   
  |   
  |  Membership
  |  LDAP
  |
org.jboss.portal.identity.ldap.LDAPStaticGroupMembershipModuleImpl
  |
  |   
  | 

 2.2 Here are some codes that retrieve all roles associates with a specific 
username

  | try{
  |   MembershipModule membershipmodule = (MembershipModule)new 
InitialContext().lookup("java:/portal/MembershipModule");
  |   User user = usermodule.findUserByUserName("Put_your_username_ here");
  |   Set roles = membershipmodule.getRoles(user);
  | Iterator iter = roles.iterator();
  | while(iter.hasNext()){
  | role = (Role)iter.next();
  | System.out.println("Role: " + role.getDisplayName());
  | 
  | }
  | }catch(Exception e){
  |  // Do something here
  | }
  | 

SGM

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

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


[jboss-user] [JBoss Seam] - Re: #{conversationList} appears to be empty

2007-10-01 Thread b.reeve
I am using Seam 1.2.1 with Tomcat 6.0.10, JSF 1.2, Facelets 1.1.12. 
But then how #{conversationEntries} in conversations.xhtml doesn't throw this 
exception.

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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread stephen.friedrich
Jacob, I think you are wrong.

If you reference a seam component in EL in the component instance will _always_ 
be created if it was null.

"smithbstl": You have to do it the way you did, if you really need to check for 
null properties. How comes, that you must do so?

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

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


[jboss-user] [JBoss Seam] - Re: #{conversationList} appears to be empty

2007-10-01 Thread b.reeve
I am using Seam 1.2.1 with Tomcat 6.0.10, JSF 1.2, Facelets 1.1.12.

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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread smithbstl
None of my entities are tagged with @AutoCreate but if I refer to a property of 
the entity in a jsf page, the entity is created with a no-arg constructor or me.

To me this behavior actually makes sense because when the page is loaded all 
the el is evaluated and beans are created when referenced from el.

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering appears okay, but no clustered messages

2007-10-01 Thread fuzzybinary
looking at it, it looks like 1100 is only listening for connections coming from 
localhost (binding is localhost:1100 not *:1100)  Is this correct?  Should I be 
trying to connect to a different port?

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

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


[jboss-user] [Beginners Corner] - Rather simple but doesn't work

2007-10-01 Thread woo37830
I cd'd to my jboss-seam-1.2.1.GA directory and typed:

seam setup
then
seam new-project
then
seam explode

It all appeared to work, to create ear app to access some existing mySQL 
tables.  The console in which JBoss app server was running gave me a dump 
however with the pertinent lines...

15:08:46,674 INFO  [EARDeployer] Init J2EE application: 
file:/Applications/jboss-4.0.5.GA/server/default/deploy/seam_queuedb.ear/
15:08:47,441 ERROR [MainDeployer] Could not create deployment: 
file:/Applications/jboss-4.0.5.GA/server/default/deploy/seam_queuedb.ear/seam_queuedb.jar/
org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the 
right xml schema or define a valid DOCTYPE!


Now, I followed directions so why the failure?  Also, I read that the 
ejb-jar.xml file is OPTIONAL.  I followed the instructions, so why is it being 
asked for and what do I do about it?



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

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


[jboss-user] [JBoss Seam] - Performance: @Name and @Stateless

2007-10-01 Thread DiegoCoronel
 Hi, im using seam generator and my system is really big, im using jboss 4.2.1 
and seam 2.0 RC1, im with performance problems , all  my beans are just with 
@Name and i want to know if i use @Stateless is better to increase performance 
?? My navigation is taking 15 seconds per page. Im using drools too. I used a 
breakpoint in my bean constructor and saw that it is stoping for each method im 
using in my page. I tried @Scope (Sco..Type.EVENT) but its still stoping in 
constructor class... even if my search come back to same page... ill really 
apreciate if you guys help me about this problem.

Sry about my english.. and congratulations about seam.. im loving this idea.

Diego Coronel
Developer

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

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


[jboss-user] [JBoss Seam] - Re: #{conversationList} appears to be empty

2007-10-01 Thread jacob.orshalick
It looks like you may have conflicting versions of jars (or at least expected 
versions).  The method Namespace.entrySet no longer exists in Seam 2.0.0.CR1.  
What version of Seam are you using?

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

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


[jboss-user] [JBoss Seam] - seam generate-entities error....

2007-10-01 Thread minamti
This scenario seems to create 

create table groups (
group_id integer NOT NULL AUTO_INCREMENT, 
group_name VARCHAR(100) NOT NULL, 
group_desc VARCHAR(100), 
PRIMARY KEY(group_id));

insert into groups (group_id, group_name) values(1, "admin");
insert into groups (group_id, group_name) values(2, "others");

create table user (
user_id integer NOT NULL AUTO_INCREMENT, 
group_id NOT NULL DEFAULT 2, 
user_name VARCHAR(100),
PRIMARY KEY(user_id), 
FOREIGN KEY (group_id) REFERENCES group(group_id) ON UPDATE CASCADE ON DELETE 
RESTRICT);

I seem to get a

Caused by org.hibernate.PropertyValueException with message: "not-null property 
references a null or transient value: com.foo.entity.User.groups"

Thanks, 

M




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

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


[jboss-user] [JBoss Seam] - Re: Semantics of @Name, @DataModelSelection

2007-10-01 Thread jacob.orshalick
Sorry, the factory method in the above snippet should read,

...
  | @Factory(value="person")
  |   public void loadPerson() {
  | if (pid != null) {
  |   person = (Person) em.find(Person.class, pid);
  | } else {
  |   person = new Person ();
  | }
  |   }
  | ...

No value should be passed into the loadPerson method.

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

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


[jboss-user] [JBoss Seam] - Re: #{conversationList} appears to be empty

2007-10-01 Thread b.reeve
Could anyone please help me with this situation. Why am i getting this 
exception? conversationList being empty is understandable but this exception, i 
cannot figure out what is happening here.

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering appears okay, but no clustered messages

2007-10-01 Thread fuzzybinary
Probably not a UDP problem since I've checked that JGroups is actually working 
through the examples provided on the wiki, but I think it may be a network 
config problem somewhere.

I changed log4j to TRACE for the examples and the connection to the IP is being 
refused.  I have discovered that I should be using port 1100 (because I'm using 
HAJNDI), but even with that change, connection is still refused. I have to 
figure out exactly what that's happening, since netstat shows that 1100 is 
actually listening for connections.

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

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


[jboss-user] [JBoss Seam] - Re: Semantics of @Name, @DataModelSelection

2007-10-01 Thread jacob.orshalick
"djfjboss" wrote : I had also assumed that the setPid method would be invoked 
via the edit link and thereby set person to the appropriate entity via the id, 
but this method isn't even called for me. The fact that the RequestParameter 
annotation is commented out is a little disconcerting. 

The pid attribute will not be set unless you uncomment the @RequestParameter 
annotation (which will directly inject the value) or add an entry in your 
pages.xml which will call your set method such as,

  | 
  |
  |   
  |
  |...
  | 

I also do not see where fan is being outjected to the page so I don't know 
where your id would be coming from.  Are you providing a list of persons and 
then the user can edit a person from the list?  If you are looking to achieve a 
RESTful URL here (which is the only reason I could think of for doing it this 
way), an easier way to accomplish this would be...

@Stateful
  | @Name("manager")
  | public class ManagerAction implements Manager {
  | 
  |   @RequestParameter
  |   Long pid;
  | 
  |   @In (required=false) @Out (required=false)
  |   private Person person;
  | 
  |   @DataModel
  |   private List  fans;
  | 
  |   @Factory(value="person")
  |   public void loadPerson(Long pid) {
  | if (pid != null) {
  |   person = (Person) em.find(Person.class, pid);
  | } else {
  |   person = new Person ();
  | }
  |   }
  |   ...
  | 

Also note that you will not be in the same conversation when the Person is 
loaded because you are using a general link .  Any conversation 
state will not be propagated.  Hope that helps.

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

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


[jboss-user] [JBoss Seam] - Re: Entity Injection question

2007-10-01 Thread jacob.orshalick
In the scenario you describe, the only time an entity is going to be 
automatically created is if it is a named Seam component and it has the 
annotation @AutoCreate.  Is this how your entity is annotated?

...
  | @Entity
  | @Name("someEntity")
  | @AutoCreate
  | public class SomeEntity {
  | ...

Otherwise you would have to have a factory method somewhere...

@Factory(value="someEntity")
  | public SomeEntity initSomeEntity() {
  |   return new SomeEntity();
  | }

You have to specify when Seam should create instances of components.

As far as the following code...

  | public void submit() {
  | if (someEntity.someProperty != null) {
  |log.debug("Entity's Property IS NOT NULL");
  | else {
  |log.debug("Entity's Property IS NULL");
  | }
  | }

This code is necessary depending on what you're doing.  If you performing 
validation this could actually be done through  or  
and use of @NotNull on your entity attribute.  Hope that helps.

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

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


[jboss-user] [JBossWS] - Re: Sample application

2007-10-01 Thread manny88
I added junit.jar to the 
 entry in build.xml. 

The compile is OK now but the test results are another matter!! (all failing)

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread [EMAIL PROTECTED]
An SMPC is equivalent to an extended persistence context for conversationally 
scoped components.

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

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


[jboss-user] [JBoss jBPM] - what is the difference between swimlane and swimlaneInstance

2007-10-01 Thread dingo001
If a swimlane is assigned the actorId then should the swimlane 
actorIdExpression get reflected with the same values?

Also, please explain what the difference is between an actorId and an 
actorIdExpression?

Thanks.

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

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


[jboss-user] [JBossWS] - Passing constraints from POJO to XML Schema

2007-10-01 Thread sunnym_a
Environment:
JBoss-4.2.1.GA
Jbossws-native-2.0.1.GA
JDK 1.5

Description:

When I deploy JAX-WS web service, JBoss generates appropriate xml schema along 
with WSDL, which is great.  I am trying to find out how should the field level 
constraints be specified in POJO so they get propogated to the generated xml 
schema (for example: minLength, maxLength etc.).  

Any suggestions?
Thanks

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

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


[jboss-user] [JBoss Seam] - Re: How to Extend Persistence Context Programatically

2007-10-01 Thread monkeyden
What value did you provide for unitName?  Was it a value from your 
persistence.xml file?


  | ...
  | 

@PersistenceContext(unitName="someDB") 

I think this is the way it's done anyway.  Personally, I use SMPC.

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

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


[jboss-user] [JBossWS] - Raw Style webservices

2007-10-01 Thread viniciuscarvalho
Hello there! As I've been reporting here [and getting good support]. I'm 
developing a rawstyle ws using @WSProvide annotation.

After getting things working (jboss WS 2.0.1, downgrading to jdk 5 because SAAJ 
version). Now things are starting to work, but I'm getting an exception:

NAMESPACE_ERR: An attempt is made to create or change an object in a way which 
is incorrect with regard to namespaces.

Searching around I found out that some users have this issue due problems with 
Xalan version. All I'm trying to do is add a Document to the body of the 
SOAPMessage. I've been using almost the same example as the one on JEE 
tutorials. I'm wondering what's going wrong:


  | @ServiceMode(value=Service.Mode.MESSAGE)
  | public class CommandProcessor implements Provider {
  | Source returnMessage;
  | public SOAPMessage invoke(SOAPMessage messge) {
  | SOAPMessage returnMessage = null;   
  | try{
  | MessageFactory mf = MessageFactory.newInstance();
  | returnMessage = mf.createMessage();
  | 
returnMessage.getSOAPBody().addDocument(createResponseContent());
  | returnMessage.saveChanges();
  | }catch (Exception e) {
  | e.printStackTrace();
  | }
  | 
  | return returnMessage;
  | }
  | 
  | private Document createResponseContent() throws Exception{
  | DocumentBuilderFactory dbf = 
DocumentBuilderFactory.newInstance();
  | dbf.setNamespaceAware(true);
  | DocumentBuilder db = dbf.newDocumentBuilder();
  | Document doc = db.newDocument();
  | Element responseCommand = 
doc.createElementNS("http://www.abc.com/sys/schemas";, "sys:responseCommand");
  | 
  | Element id = doc.createElement("id");
  | id.appendChild(doc.createTextNode("1"));
  | Element message = doc.createElement("message");
  | message.appendChild(doc.createTextNode("comando recebido"));
  | responseCommand.appendChild(id);
  | responseCommand.appendChild(message);
  | doc.appendChild(responseCommand);
  | return doc;
  | }
  | 

I was thinking that the problem should be related to my schema declaration, but 
Sun's example uses an document that does not even declare an schema its a 
simple xml with no schema. 

Any ideas?

Regards

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

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


[jboss-user] [JBossWS] - Re: Sample application

2007-10-01 Thread manny88
Thomas,
The "ant tests" is failing here as below. I'm on jboss-eap-4.2. I think it 
needs some package for junit.framework.Testcase. Where would this be? 

C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA>ant tests
Buildfile: build.xml

prepare:

tests-prepare:

 [echo] ---
 [echo] jboss.home   = /cygwind/home/manny/jboss-eap-4.2/jboss-as
 [echo] excludesfile = C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.
0.1.GA/tests/resources/test-excludes-jboss42.txt
 [echo] java.home= C:\Java\jdk1.5.0_11\jre
 [echo] jboss.bind   = localhost
 [echo] ---

tests-classpath-jboss50:

tests-classpath-jboss42:

tests-classpath-jboss40:

tests-classpath:

tests-init:

tests-compile:
[javac] Compiling 2 source files to C:\cygwind\home\Manny\jboss-eap-4.2\jbos
sws-native-2.0.1.GA\output\classes
[javac] C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA\tests\ja
va\org\jboss\test\ws\jaxws\smoke\tools\WSConsumerTestCase.java:45: cannot find s
ymbol
[javac] symbol  : constructor TestCase()
[javac] location: class junit.framework.TestCase
[javac] public class WSConsumerTestCase extends TestCase
[javac]^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA\build.xml:117: The f
ollowing error occurred while executing this line:
C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA\tests\ant-import\bui
ld-testsuite.xml:274: Compile failed; see the compiler error output for details.


Total time: 3 seconds
C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA>

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

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


[jboss-user] [JBossWS] - Re: Sample application

2007-10-01 Thread manny88
Note, I have already added junit.jar to 3rdParty (/lib) here. 

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

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


[jboss-user] [Security & JAAS/JBoss] - Client-Cert on Mozilla Firefox

2007-10-01 Thread tmarafon
Hi all.
Is it possible to configure Firefox so that one could use a certificate (token) 
to login in an application with auth-method = CLIENT-CERT?

I saw at http://wiki.jboss.org/wiki/Wiki.jsp?page=SSLSetup that it is possible 
to generate a .p12 file using keytool and openSSL and then import this file in 
Firefox, but that is impossible for a "simple user" to do.

Is there a way to make FF use the windows keystore like Internet Explorer does? 
Or at least the certificate from the token?
Thanks,
Thiago


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

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


[jboss-user] [JBoss Seam] - Re: Seam Remoting Push ?

2007-10-01 Thread samdoyle
Thanks Shane for the clarification. I'm aware of the polling alternative which 
is what we have in place now. We have a lot of data that can potentially get 
updated but not always updated which is the reason we are looking at pushing. 
We are hoping that a push based approach will help cut some cycles out and make 
client side performance better.

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

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


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

2007-10-01 Thread luizruiz
Try to comment this line in persistence.xml file:




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

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


  1   2   3   >