[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Shared session context

2007-03-01 Thread dkrleza
http://jira.jboss.com/jira/browse/JBAS-2861

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

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


[jboss-user] [JBoss Seam] - Re: Multiple Window/Tabs isolated conversations

2007-03-01 Thread kukeltje
multiple windows works perfectly here in FF. If you only see the correct 
behaviour in IE and you open windows not via ctrl-n but e.g .via the start 
menu, then you get a completely new  session. That way it has always worked in 
IE to have multiple session. So my conclusion is that there is something wrong 
with the way you start new conversations

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

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


[jboss-user] [JBoss Seam] - Re: minor seam security questions

2007-03-01 Thread baz
Hello,
the security stuff has changed with Seam 1.1.6.
I would suggest to upgrade to Seam 1.2.0 or at least read the Seam 1.2.0 
Documentation (it was enhanced). 
After that, you can ask again if some of your questions remain unclear.
Sorry, i am not able to help you out with 1.1.5
I have never managed to get security running with 1.1.5.

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

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


[jboss-user] [JBoss Seam] - Re: Myfaces Fusion proposal

2007-03-01 Thread [EMAIL PROTECTED]
Well the first one is like half of the very very first version of Seam. We 
started using the term conversation a few years ago, so it's a copy of that 
concept with a planned minimalist implementation. I don't think this has a good 
chance of success, this is like the let's simply map a resultset to objects 
approach to object/relational mapping. You need more immediately.

The second one is the same as the Seam application framework, from a high-level 
perspective.





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

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


[jboss-user] [JBoss Seam] - Re: Myfaces Fusion proposal

2007-03-01 Thread kukeltje
Hee, as long as they follow JSR-299, I have no objections... Apache is a member 
of the expert group... so...

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

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


[jboss-user] [JBoss Portal] - Binary installation

2007-03-01 Thread luigifonti
I downloaded a binary version of JBossPortal (2.4.1) and unzipped it. 
To launch, i should execute \bin\run.bat but there is no \bin subdirectory, 
ando no run.bat
I tried again with a different version (2.6 Alpha) but the problem is the same.
What's wrong ?


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

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


[jboss-user] [EJB 3.0] - Re: JIRA issue - EJBTHREE-497 - EJB3 with Java5 server and J

2007-03-01 Thread murata70
I am embarrassed because of the same thing, too...
This issue was really closed?

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

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


[jboss-user] [JBossCache] - long wait when cache is started

2007-03-01 Thread gmeroz
when i load Jboss and start the cache, i see that the cache initialization 
takes few minutes.

The cache is not very big. i use JDBCCacheLoader.

Is there any way to workaround the long wait?

10:24:12,645 INFO  [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.CacheLoaderInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.CacheStoreInterceptor
class org.jboss.cache.interceptors.NotificationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
class org.jboss.cache.interceptors.InvocationContextInterceptor
10:27:35,124 INFO  [CacheImpl] JBoss Cache version: JBossCache 'Habanero' 
2.0.0.ALPHA2[ $Id: Version.java,v 1.26 2006/12/30 17:49:54 msurtani Exp $]

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

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


[jboss-user] [Security JAAS/JBoss] - I need helps from anyone about JAAS with DatabaseServerLogin

2007-03-01 Thread changemylife
Hi everyone!

   I have a problem that I can't solve. I have two machines with hostname is 
A and B. On A, I installed mySQL and create the database is mydatabase 
and two tables are Roles and Users
Also on A, I installed JBoss Server (jboss-4.0.5.GA), and I select database is 
mysql. File hsqldb.xml has contents:

...
  | jndi-nameDefaultDS/jndi-name
  | connection-urljdbc:mysql://localhost:3306/mydatabase/connection-url
  | driver-classcom.mysql.jdbc.Driver/driver-class
  | user-nameroot/user-name
  | passwordabc123/password
  | ...
   When I restart server on machine A, I see some messages:
10:43:02,109 INFO  [WrapperDataSourceService] Bound ConnectionMana
  | :service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
   On the B machine, I use Eclipse to create a EJB 3.0 project called 
ActionBean. Then, I write three file ejb-jar.xml, jboss.xml and 
login-config.xml. They have some info important :
ejb-jar.xml
  | ...
  | enterprise-beans
  |session
  | ejb-nameActionBean/ejb-name
  | resource-ref
  | res-ref-namejdbc/DefaultDS/res-ref-name
  | res-typejavax.sql.DataSource/res-type
  | res-authContainer/res-auth
  | /resource-ref
  |/session
  | /enterprise-beans
  | assembly-descriptor
  |Security-role
  | role-namedoctor/role-name
  |/Security-role
  |Security-role
  | role-namenurse/role-name
  |/Security-role
  |method-permission
  | role-namedoctor/role-name
  | method
  | ejb-nameActionBean/ejb-name
  | method-namegetCallInfo/method-name
  | /method
  |/method-permission
  |method-permission
  | role-namenurse/role-name
  | method
  | ejb-nameActionBean/ejb-name
  | method-nameadd/method-name
  | /method
  |/method-permission
  |  /assembly-descriptor
  | ...
jboss.xml
  | security-domainDB-Domain/security-domain
  | enterprise-beans
  |session
  |ejb-nameActionBean/ejb-name
  |resource-ref
  |   res-ref-namejdbc/DefaultDS/res-ref-name
  |jndi-namejava:/DefaultDS/jndi-name
  |/resource-ref
  |/session
  | /enterprise-beans
login-config.xml
  | application-policy name=DB-Domain
  |authentication
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required
  | module-option name=dsJndiNamejava:/DefaultDS/module-option
  | module-option name=principalsQuery
  | select passwd from Users where username=?/module-option
  | module-option name=rolesQuery
  | select Role from Roles where username=?/module-option
  | /login-module
  |/authentication
  | /application-policy
   Then, I pakage ActionBean and put three files (ejb-jar.xml,jboss.xml and 
login-config.xml) inside META-INF folder. JBoss server on the machine A inform 
all things ok!
   Also, on the machine B. I write the main class (client):
LoginContext lc = new LoginContext(userTest, new ClientCallbackHandler());;
  | lc.login();
  | InitialContext ctx = new InitialContext();
  | ClientAction obj = (ClientAction)ctx.lookup(ActionBean/remote);
  | try{
  | System.out.println(obj.getCallInfo());
  | //System.out.println(obj.add());
  | 
  | }catch(Exception e){
  | System.out.println(You don't allow to do this method !);
  | }
  | ...
   My auth.config:
userTest {
  | org.jboss.security.ClientLoginModule required;
  | };
   I imported package jbossall-client.jar and jbosssx.jar. On the 
server(machine A), I also copied dirver mysql-connector-java-3.1.14-bin.jar 
inside \server\default\lib.
   Then, I run my main class and from console I enter username and passwd. But 
any informations that I entered can't call method on ActionBean 
(ex:obj.getCallInfo()). This mean is correct info can't call any method on 
ActionBean. Which wrongs ? mydatabase has two tables:
CREATE TABLE Users(username VARCHAR(64) PRIMARY KEY, passwd VARCHAR(64))
  | CREATE TABLE Roles(username VARCHAR(64), Role VARCHAR(32))
   (I were writed a simple bean to access informations from mydatabase, all 
things ok). Please help me to solve my problem. Thanks.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: jboss-5.0.0.Beta1 BUILD FAILED

2007-03-01 Thread ebu
6.0 of course. And for what great reason should i use 5.0?

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

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


[jboss-user] [JBoss Portal] - auto refresh a portlet

2007-03-01 Thread cpage
hi,

i want to know how i could make a single portlet auto-refresh.

i tried the ajax4jsf framework but my ajax4jsf portlet does'nt work into jboss 
portal.
it works alone when i call it outside the portal.

first, i had to inject the header generated by the portlet, into my main portal 
page, but anyway, ajax doesn't work because the entire page is refresh.

work with 2.4.0

is the 2.6 can help me ?

thx a lot

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

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


[jboss-user] [JBossWS] - Re: wsprovide/wsconsume vs wstools

2007-03-01 Thread ragsta
...I was trying to understand but...wsconsume doesn't work beacuse of the lack 
of some classes in jbossws-client.jar...
if you resolve the problem please post the solution...tanks

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

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


[jboss-user] [JBoss Portal] - Re: wsrp and remote resources

2007-03-01 Thread karink
Hi 

coded it with PortletURL


  | PortletURL url = response.createRenderURL();
  | writer.println(img src=\ + url.toString()+  /gif/agif.gif + 
\/);
  | 



When invoking locally, following html code is generated:

  | img 
src=/portal/auth/portal/default/Unsere%20Seite/aaa?action=2/gif/agif.gif/
  | 

- not what I expected and definitely wrong

When invoking remote, I got back an exception 
java.lang.IllegalArgumentException: 
wsrp_rewrite?wsrp-urlType=renderwsrp-navigationalState=JBPNS_/wsrp_rewrite/gif/agif.gif
 does not end with /wsrp_rewrite
  | at org.jboss.portal.wsrp.WSRPPortletURL.create(WSRPPortletURL.java:117)
  | 

Could you give me an sample code.

Regards Karin

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

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


[jboss-user] [JBoss Seam] - Re: Upgrading from 1.1.5 to 1.2

2007-03-01 Thread [EMAIL PROTECTED]
The new authenticate method should not accept any parameters.  Instead it can 
read the username/password from Identity (identity.getUsername() etc) and add 
roles via the identity api also (identity.addRole(admin)).

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

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


[jboss-user] [Clustering/JBoss] - Lookup SLSB from external war

2007-03-01 Thread qjafcunuas
Hi,

I'm using Jboss 4.0.2.

My application 's fine with default jboss configuration.

I'm trying to put my application in the all jboss configuration for clustering 
environment.

I've got an ear file with ejb and servlet, packaging into jar and war inside 
the ear. All is ok with this ear : servlets find ejb with local access and can 
work with it..

If i tried to lookup (remote) the ejb from an external application on another 
computer, my application find the ejb and can work with it.

I've got another war file deployed on the same server as the ear file, in the 
farm directory too. My jsp files in this war loopkup (remote) the ejb, but 
throw an exception when ejb create method on EJBHome interface is called  : 
EJBException: Invalid invocation, check your deployment packaging. 

I've made this modification in my ear file for clustering in the jboss.xml :
true
cluster-config  
partition-nameDefaultPartition/partition-name  
home-load-balance-policy 
org.jboss.ha.framework.interfaces.RoundRobin  
/home-load-balance-policy  
bean-load-balance-policy  
org.jboss.ha.framework.interfaces.RoundRobin
/bean-load-balance-policy
/cluster-config
and the server is started with options  : -c all -b 192.168.65.9

I've tried too this, without success :
Properties p = new Properties();  
p.put(Context.INITIAL_CONTEXT_FACTORY,   
  org.jnp.interfaces.NamingContextFactory);  
p.put(Context.URL_PKG_PREFIXES, jboss.naming:org.jnp.interfaces);  
p.put(Context.PROVIDER_URL, localhost:1100);
return new InitialContext(p); 


Can somebody help me to find why my external war cannot access my ear's ejb on 
the same farm server ?
tia.
Bruno


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

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


[jboss-user] [JBossWS] - Re: JBossWS 1.2.0.GA NumberFormatException For ENDPOINT_ADDR

2007-03-01 Thread [EMAIL PROTECTED]
You should add parameters (?datatype=SOAPMessage) to the URL string: Caused 
by: java.lang.NumberFormatException: For input string: 
8791?datatype=SOAPMessage 



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

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


[jboss-user] [JBoss jBPM] - Re: JBPM3 with tomcat

2007-03-01 Thread iris_adyla
Hi, I try to run Jbpm with tomcat, after following all the steps given in this 
theard when I try to run the Jbpm application I got the following error message:

HTTP Status 404 - /jbpm/

type   Status report
message/jbpm/
description The requested resource (/jbpm) is not available

Could someone help me please.


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

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


[jboss-user] [JBossWS] - Re: wsprovide/wsconsume vs wstools

2007-03-01 Thread [EMAIL PROTECTED]
Regarding the first question: MNo it doesnt replace wstools, it's a complement 
tool set for JAX-WS artefacts, whereas wstools deals with JAX-RPC artefacts.

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

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


[jboss-user] [JBossWS] - Re: wsprovide/wsconsume vs wstools

2007-03-01 Thread [EMAIL PROTECTED]
Ragsta, could you provide some stack trace? Also, did you follow the 
installation instructions as mentioned in the userguide? 

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

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


[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

2007-03-01 Thread mjek2
Hi all,

thank you very much for all your feedback. The number of posts shows that many 
people would like to have excel integration.
anonymous wrote : 
  | What I would wish is a tag lib which really produces genuine excel files - 
including formulas, cell types, number formats. It would be ideal if one could 
use an original excel file as a template. Then one would add pivot tables and 
nice little graphs to the tamplate, the user could specify some filters and 
aggragation levels and then the pivot data would be copied to the excel file.
  | 
Very interesting idea, and I think it would be possible with JExcel (but needs  
some additional config, e.g. where to store templates to use)
anonymous wrote : 
  | Sure MS Office is widely spread but ODF is an international industry 
standard that is supported by a wide variety of applications (like OpenOffice) 
and doesn't lock you in with a file format thats just a pain in the ass if one 
doesn't use it with MS Office on MS Windows. 
  | 
I can only partially agree with it: sure, excel is proprietary, but it's a 
de-facto standard, whether we like it or not (and yes, I use OpenOffice too ;). 
And AFAIK OpenDocument file format is rather complex (and JExcel is rather 
simple and hence can be integrated faster). But in future one could certainly 
think about ODF as well.
anonymous wrote : 
  | Btw, does JExcel also work in non-windows OSes?
  | 
JExcel generates xls file format (not csv), so if your browser can handle 
application/msexcel MIME type it should work in non-windows as well.
anonymous wrote : 
  | I think Excel support is a great idea. How about something like this
  | 
  | http://displaytag.sourceforge.net/10/export.html 
  | 
Interesting, but at first sight it seems to me to be more export than reporting 
functionality, i.e. it exports the exact content of your dataTable. OTOH 
reporting is something dynamic, report data can be produced by some business 
logic components without a need to be rendered as a dataTable. But I will look 
at this more detailed, thank you for the link!

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

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


[jboss-user] [JBossWS] - Re: jbossws 1.2.0.GA installation instructions confusion!!

2007-03-01 Thread [EMAIL PROTECTED]
Sorry for the confusion. The Install.txt has been updated to point ot the right 
source of information: 
http://jbws.dyndns.org/mediawiki/index.php/Install_JBossWS

You need to follow the installation steps as explained in the wiki above.

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

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


[jboss-user] [JBoss Seam] - Re: Navigating through results pages problem

2007-03-01 Thread idylle
Increasing the permgen works for me too, thanks a lot!

I'm not using seam-gen because Hibernate Tools allow me to choose which tables 
are included in the reverse-engineering. I think it's not the case now with 
seam-gen. 

I'll try to use seam-gen in Seam 1.2 again. Maybe I haven't seen some  options.



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

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


[jboss-user] [JBossWS] - Re: JBossWS 1.2.0.GA

2007-03-01 Thread [EMAIL PROTECTED]
Did you try the samples that ship with 1.2.0? When exactly does this error 
occur?

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

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


[jboss-user] [JBoss Seam] - Req: I18N mail function

2007-03-01 Thread kayart
Folks

I'd like to send mail message by seam-mail in Japanese.  Mail messages are 
required the following format in Japan.

- Message body must be ISO-2022-JP.
- Subject, from, to (etc.) headers in Japanese must be ISO-2022-JP and be 
encoded by base64.
- Content-Type and Content-Transfer-Encoding must be set to  
charset=ISO-2022-JP and 7bit.

So, programmers in Japan want to control these headers.

Thanks in advance.

--Kay

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

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


[jboss-user] [JBoss Seam] - Error javascript in s:selectDate

2007-03-01 Thread rengar
-I use s:selectDate : 


  | h:inputText id=diaLlegada value=#{lstEstablecimientos.diaLlegada} 
required=true
  | s:convertDateTime pattern=dd/MM//   
 
  |  /h:inputText
  |  s:selectDate for=diaLlegada
  | h:graphicImage url=img/dtpick.gif style=margin-left:5px/
  | /s:selectDate
  | 

-And obtain this javascript error:


  | __selectDate is not defined
  | 

-In html code:


  | input id=lstEstablecimientos:diaLlegada 
name=lstEstablecimientos:diaLlegada type=text value= /
  | script type=text/javascript!--
  | 
  | var CAL_DAYS_SHORT = 'do,lu,ma,mi,ju,vi,sá';
  | var CAL_DAYS_MEDIUM = 'dom,lun,mar,mié,jue,vie,sáb';
  | var CAL_DAYS_LONG = 'domingo,lunes,martes,miércoles,jueves,viernes,sábado';
  | var CAL_MONTHS_MEDIUM = 'ene,feb,mar,abr,may,jun,jul,ago,sep,oct,nov,dic';
  | var CAL_MONTHS_LONG = 
'enero,febrero,marzo,abril,mayo,junio,julio,agosto,septiembre,octubre,noviembre,diciembre';
  | var CAL_FIRST_DAY_OF_WEEK = 1;
  | var CAL_DATE_FORMAT = 'MM/dd/';
  | //--/scriptscript type=text/javascript 
src=/reservas/seam/resource/web/date/calendar.js!--
  | 
  | //--/scriptspan onclick=__selectDate('lstEstablecimientos:diaLlegada', 
'lstEstablecimientos:diaLlegada');
  | img src=img/dtpick.gif style=margin-left:5px //span 
   
  | 

-The javascript file src=/reservas/seam/resource/web/date/calendar.js isn't 
accesible in web context.

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

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

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


[jboss-user] [JBoss Seam] - Re: Error javascript in s:selectDate

2007-03-01 Thread rengar
I use Jboss-seam-1.2.0.PATCH1.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Howto package datasource and MQ definitions in ear

2007-03-01 Thread aschulz
Thanks for your replies.

I choose the boss-app.xml-alternative and it is working great.

Alex

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

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


[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

2007-03-01 Thread mjek2
@Gavin: I'll try to enhance my x-taglib now in order to create some non-trivial 
example (e.g. something like Seam PDF example). Then I'll create a JIRA issue 
and submit it there, ok?

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

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


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

2007-03-01 Thread felipevaa
Hello everyone!

This message is just to encourage all Bay Area locals to attend this meeting. 
It would be a great opportunity to form some kind of local Seam group (if 
there's any interest)

If you cannot make it on Friday but are interested in forming a group, feel 
free to email me and I'll keep you posted.

Cheers,

Felipe - felipe (at) computer =dot= org


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

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


[jboss-user] [JBoss Seam] - Re: Error javascript in s:selectDate

2007-03-01 Thread jalupa
Did you configure the Seam Resource Servlet in your web.xml?


servlet-nameSeam Resource Servlet/servlet-name
servlet-classorg.jboss.seam.servlet.ResourceServlet/servlet-class


servlet-mapping
servlet-nameSeam Resource Servlet/servlet-name
url-pattern/seam/resource/*/url-pattern
/servlet-mapping

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

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


[jboss-user] [JBossWS] - jbossws-1.2.0.GA released

2007-03-01 Thread [EMAIL PROTECTED]
As of this post I am happy to anounce that jbossws-1.2.0.GA is released. This 
is our first imlementaion that supports both JAX-WS and JAX-RPC style web 
services. jbossws-1.2.0.GA runs on jboss-5.0.x, jboss-4.2.x, jboss-4.0.5, 
Tomcat.

JAX-WS brings to web services what EJB3 brings to EJB. With its greatly 
simplified programming model and functional enhancements it is desigend to take 
the place of previous JAX-RPC web service implementations.

Details of how to download and install the new stack can be found in our new 
wiki
http://jbws.dyndns.org/mediawiki/index.php/Main_Page

To get started please have a look at our new Quick Start and User Guide
http://jbws.dyndns.org/mediawiki/index.php/Quick_Start
http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide

I'd like to thank the team and the many contributors for all the hard work to 
make this milestone release possible.

If you don't know it already, you'll be surprised how easy it is to do Web 
Services.
Have Fun


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

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


[jboss-user] [Security JAAS/JBoss] - Re: Help ... flushAuthenticationCache don't work

2007-03-01 Thread ecoray
Hi 

use your security-domain name as argument for the flushAuthenticationCache() 
operation. Tested with jboss-3.2.5
Your security-domain name is : ReportingServcieJAAS
in this case invoke : flushAuthenticationCache(ReportingServcieJAAS)

1. start  jmx-console and select 
jboss.security-service=JaasSecurityManager 
2. select OperationName : flushAuthenticationCache and 
insert  ReportingServcieJAAS as argument.
3. Invoke the operation

Now your AuthenticationCache should be flushed.




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

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


[jboss-user] [JBoss Seam] - Re: system requirements for jboss seam

2007-03-01 Thread miketech
Hi,

thanks for your answers. Well sorry. I meant, I wanna run the applications on 
this machine. The development will happen on another one. So I don't need 
eclipse or anything else but JBoss Seam with a database behind working on it.

More memory or cpu power is not possible at the moment and I can't try it out, 
because the machine isn't here at the moment. But I wanted to start developing 
the application, but if it won't work it's wasted time :) 

The other way to do it is JSF + Hibernate, without any additional framework. 
Maybe this is working better? 

Greetings

Mike



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

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


[jboss-user] [JBoss Seam] - Trinidad / ajax4jsf do esn´t work anymore in Seam 1.2.0

2007-03-01 Thread hamtho2
Hi @all,

I greately appriciate all the work you did for the release of 1.2.0 and I 
really understand, that it is necessary to break with the old architecture at a 
special point. But unfortunately I have the problem now, that I can´t upgrade 
from 1.1.6 to 1.2.0 due to an incompability between Seam 1.2.0 / Trinidad and 
ajax4jsf. This is probably because of the restructuring of the Seam-Filters 
that went through some major changes - and the result is that my working 
application doesn´t work with the new release anymore. I now, that you don´t 
support Trinidad, because it has not left incubator-status yet, but I think, 
there are still some people out there, who work with that library anyways.

So maybe the problem is not that serious and you could tell me how to make it 
work again.

This is the exception I get now:

java.lang.NullPointerException
  | at com.sun.facelets.util.DevTools.writeVariables(DevTools.java:168)
  | at com.sun.facelets.util.DevTools.writeVariables(DevTools.java:144)
  | at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:135)
  | at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:92)
  | at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:81)
  | at 
org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:247)
  | at 
org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:280)
  | at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:73)
  | at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:137)
  | at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:153)
  | at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:79)
  | at 
org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:701)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:252)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
  | at 
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:210)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:167)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:140)
  | at 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:93)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:74)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |

[jboss-user] [Installation, Configuration Deployment] - JBoss 4.0.5 installation

2007-03-01 Thread rgelfand
Hello!

We have 2 development teams that use JBoss 4.0.5 as a third party software. One 
of them just downloaded JBOS-4.0.5-GA zip file and opened it on some directory. 
The second team performed installation using Installer, located on the site, 
and created its own installation, using All option, for JBoss 4.0.5. (They 
declares that they can't use the first installation due to reason that they 
work with jdk1.5, and not jdk1.4) 
Now, we have a difference between JBoss 4.0.5 *.jars files located in 2 
different places. 
Why there is a difference between *.jars that got from *.zip and from Installer?
How to unify these two JBoss 4.0.5 location?
Please advise.

Thank you in advance,
Roman


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

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


[jboss-user] [JBoss Seam] - Which aproach is recommended?

2007-03-01 Thread Seto
It seems that Seam has 3 aproaches to use.
POJO+HEM
POJO+JPA
EJB3
I'm coufused about choosing the aproaches. It seems that the EJB3 is 
recommended by the official. But the framework extending isn't support by now. 
And also various platform doesn't support. The POJO+HEM/JPA is much 
platform-independent. And it can also run on EE Server. Comparing to HEM, JPA 
is less powerful. Many features must be implemented by delegate. 
Can some one give me a recommendation or advice?
Thanks,
Seto

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

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


[jboss-user] [JBoss Seam] - Re: Error javascript in s:selectDate

2007-03-01 Thread rengar
Ok. This is error.

Thanks.

-Now, I use locale=es y datePattern=dd/MM/ but in javascript put:


  | var CAL_DATE_FORMAT = 'MM/dd/';
  | 

-I supposed this is a bug.


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

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


[jboss-user] [JBoss Seam] - @DataModelSelection defaults to first value in model??

2007-03-01 Thread edeprez
Very simple use case. I've a DataModel, initialized through @Factory. It is 
never empty at first.

  | @DataModel
  | private ListItem items;
  | @DataModelSelection  @Out(required=false)  
  | private User selItem;
  | 

I'd like to invite the user to select an item in the list when no selection is 
active. But my selItem is never empty at first page hit! It defaults to first 
value in DataModel! So it's just like the user has already made a selection. 
Which is wrong!

Is there a reason why this is working like this? Or maybe I'm missing 
something. It's so simple it's very frustrating.

Also, when I add 

  | @DataModelSelectionIndex
  | private int selIndex;
  | 
I get the following exception when deploying:
java.lang.IllegalStateException: Multiple @DataModelSelection fields for: items

Is this expected behaviour?

Thanks!


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

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


[jboss-user] [JBoss Seam] - Re: minor seam security questions

2007-03-01 Thread ask4saif

Thanx baz for ur reply, 

I am currently studying the ref manual of seam 1.2.0, but still i dont know how 
to define and check permissions or privileges for one component.

In my application I have multiple roles and the roles have assigned 
privileges(permissions). Multiple roles can be assigned to a single user. 

Now I am a little confused how to check multiple roles for a single component. 
The component might be of the web or the EJBs or java classes. 

can you help me on this.

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

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


[jboss-user] [JBossWS] - Re: jboss-1.2.0GA info

2007-03-01 Thread [EMAIL PROTECTED]
You need to include jbossws-wsconsume-impl.jar in your client classpath

I updated the wiki http://jbws.dyndns.org/mediawiki/index.php/Install_JBossWS

and the distribution
http://labs.jboss.com/file-access/default/members/jbossws/downloads/jbossws-1.2.0.GA.zip

cheers

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

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


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

2007-03-01 Thread mikaelstaldal
Upgrading to JBossWS 1.2.0 solved this problem.

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

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


[jboss-user] [JBoss Seam] - Re: Which aproach is recommended?

2007-03-01 Thread [EMAIL PROTECTED]
It all depends what you want to do and what your priorities are. Anybody who 
would recommend something without knowing that would just tell you what they 
think is good for their situation, not for your situation.


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

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


[jboss-user] [JBoss Portal] - Removing the defaults - clean portal

2007-03-01 Thread staale
Describe your environment: 
JBoss Portal Version: JBoss portal 2.2.1-SP3 downloaded
JBoss AS Version: JBoss 4.0.4 GA 
Database Vendor and Version: Oracle 10g 
JDBC Connector and Version  ojdbc14 for oracle 10.2.0.1
OS Platform : Ubuntu Linux (2.6.16-1-686) 

Describe the problem: 
We have a rather large jboss portal implementation that we like to strip for 
all default configuration. So in other words - i would like to remove the 
portal-core.war from my jboss-portal.sar

When removing the portal-core.war file everything seems to be fine, all 
portlets are loading and it seems like it finds all needed configuration  - 
until i load the first page of my portal. 
What do i need to change in order to make my portal the default one - so I can 
safely remove the portal-core.war file?

Any Help is appreciated.

Regards,
Ståle

Additional item: 


  | 11:42:33,625 ERROR [CommandFilter] Exception in command invocation
  | org.apache.jasper.JasperException: Exception in JSP: 
/layout/layout-home.jsp:73
  | 
  | 70: 
  | 71: div id=footerdiv class=inner
  | 72: !-- Start of FOOTER region --
  | 73: p:region regionName='footer'/
  | 74: !-- End of FOOTER region --
  | 75: /div/div
  | 76: 
  | 
  | 
  | Stacktrace:
  | at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.portal.theme.LayoutDispatcher.execute(LayoutDispatcher.java:108)
  | 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.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | at 
org.jboss.portal.theme.LayoutDispatcher.include(LayoutDispatcher.java:143)
  | at 
org.jboss.portal.core.command.RenderPageCommand.renderMarkup(RenderPageCommand.java:178)
  | at 
org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:348)
  | at 
org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
  | at 
org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
  | at 
org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
  | at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
  | at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
  | at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
  | at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
  | at 

[jboss-user] [Installation, Configuration Deployment] - JBoss 4.0.5 installation

2007-03-01 Thread rgelfand
Hello!

We have 2 development teams that use JBoss 4.0.5 as a third party software. One 
of them just downloaded JBOS-4.0.5-GA zip file and opened it on some directory. 
The second team performed installation using Installer, located on the site, 
and created its own installation, using All option, for JBoss 4.0.5. (They 
declares that they can't use the first installation due to reason that they 
work with jdk1.5, and not jdk1.4) 
Now, we have a difference between JBoss 4.0.5 *.jars files located in 2 
different places. 
Why there is a difference between *.jars that got from *.zip and from Installer?
How to unify these two JBoss 4.0.5 location?
Please advise.

Thank you in advance,
Roman


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

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


[jboss-user] [EJB 3.0] - Computed Columns in Entities

2007-03-01 Thread eiben
Hi,

I would like to include a computed column in my entity. I have two tables Order 
and Orderitems, so I want to have a property in my Order entity that contains a 
COUNT(Orderitems.*).

Is that possible? If yes, how? If now, what would be a possible solution?

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 alpha3 released

2007-03-01 Thread camunda
Hi Koen!

Nice thing, the new GPD :-) Thanks a lot for introducing support for super 
states, thats really, really cool!

I have some very basic problems with the plugin, but I have not found any JIRA 
issues for that. because I am always a little bot confused which comes from 
Eclipse or plugins, i will first list them here, but if you want to, I can make 
JIRA issues of course.

Here we go:

- if i add transitions in the XML, they are not visible in the graphical 
designer

- If I use super states, some transitions are potining in the totally wrong 
direction, at least afte rclosing and opening the diagram, you can see a 
example here http://www.camunda.com/downloads/gpd_screenshot.png

- If I delete a node in the XML, it is still visible in the diagram. If I want 
to delete it there, nothign happens. After closing and reopening the diagram, 
the state is gone.


I think, not big issues, but these limitate the use of the designer a lot

But good work with the new designer :-)
Thanks and regards
Bernd

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Help ... flushAuthenticationCache don't work

2007-03-01 Thread kristof.devos
THX for the reply

The problem is more complex, we do a password change and want the current 
session to use the new password for any EJB access call

-- nipunbatra

indeed this is a solution but we want to avoid an authorization call (remote in 
our case) for each EJB access, that's why we enable the caching

-- ecoray

We do this flush but the problem is when the flush is done and you do a logout 
the EJB destroy methods are called and because the cache is flushed the applic 
wants to reauthenticate for EJB access but he uses the password before the 
change and causes several attempts to login with the user which causes the user 
to block (if you login 3 times with different password our login module blocks 
the user)

I tried the SecurityAssociaton.setCredential but at next login the old password 
is still ini the securityassociation object, so it seems more than one 
securityassociation object is stored in the cache

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

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


[jboss-user] [JBossWS] - Re: .war Deployment fails after upgrade to jbossws-1.2.0.GA

2007-03-01 Thread [EMAIL PROTECTED]
Make sure you update the jaxb jars that come with the distribution.

jbossws-1.2.0 is supported on jboss-4.0.5 and above. We have not done QA on 
jboss-4.0.4


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

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


[jboss-user] [JBoss Seam] - Seam and plain old JDBC code

2007-03-01 Thread syncro
Hey all

I understand that to be truly efficient with Seam you need to run some sort of 
ORM tool (Hibernate preferably). At our company we are in desperate need of 
introducing a web framework and i'm thinking of using Seam, but our db 
persistence code is all JDBC. Is it still worth using Seam, or should I 
consider a more lightweight and less obtrusive framework? We are planning on 
replacing all of our JDBC code with Hibernate in the near future, but this will 
be after the introduction of the new web framework.



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

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


[jboss-user] [EJB 3.0] - Re: Computed Columns in Entities

2007-03-01 Thread jlessner
The only portable way I know is by queries which return both, the actual entity 
and the computed value as two different result elements, e.g.

EntityManager em;

Query q = em.createQuery(SELECT o, COUNT(o.positions) FROM OrderEntity o ...);

ListObject[] results = q.getResultList();

for (Object[] result: results) {
OrderEntity order = (OrderEntity)result[0];
order.setPositionCount((Integer)result[1]);
//... do something with your order
}

This is of course somehow selfmade but maybe it helps :-)

Regards,
Jan

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

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


[jboss-user] [JBoss Seam] - Re: Seam and plain old JDBC code

2007-03-01 Thread [EMAIL PROTECTED]
Depends what the API of your persistence code is. If you call loadThatStuff() 
and an instance of some domain object is returned, that should work just fine. 
JSF, Seam, and so on are really based on domain objects with property accessor 
methods and collections. It will be a bit more work for you to implement 
saveModifiedData(object) of course (this is what an ORM can do automatically, 
generate the SQL). 

On the other hand, if your persistence code only returns tabular resultsets, 
and expects handwritten UPDATE, DELETE, and INSERT statements, or if it uses a 
Java RowSet to capture modifications, things become more difficult. You'd need 
to copy stuff manually between domain objects and resultsets. You could also 
consider using Hibernate as a resultset-to-object-mapper, and migrate your own 
SQL:

http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/08/23#customsql
http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/06/23#comparingpersistence


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

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


[jboss-user] [JBoss Seam] - Re: Seam and plain old JDBC code

2007-03-01 Thread [EMAIL PROTECTED]
By the way, if you migrate your SQL stuff into Hibernate, and if you use the 
StatelessSession API of Hibernate 3.x, you will get a very simple JDBC command 
persistence layer, without all the fancy new semantics of a full ORM (no 
object dirty checking, no caching, no cascading, etc). Hibernate then basically 
just acts as a command bridge for SQL operations, but returns and accepts 
domain objects.


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 alpha3 released

2007-03-01 Thread camunda
I played around with the tool a little bit more and I am not really shure what 
happens.

I think the main problem is, that in the source added transitions are not shown 
in the diagram. After then adding them there I had some confusing with 
Transitions (some duplicates, some invalid, ...).

So I removed all transitions from the source xml, reopened the diagram and draw 
everything by hand. after that, the diagrams looks like it should.

If you can fix the problem, that added transitions in the source are shown in 
the diagram, maybe the biggest problems are gone then...

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

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


[jboss-user] [JBoss Seam] - Re: minor seam security questions

2007-03-01 Thread baz
These steps can help:
1. study the seamspace example
2. read the Jboss Rules 
doc(http://labs.jboss.com/portal/jbossrules/docs/index.html)

Make yourself clear what do you need, security for EJBs or security for the web 
pages.

The later is configured with the seam tags (s:hasRole etc)
The first is configured in your rules file.
For that you need to understand Jboss Rules.
Hope this helps for the beginning. 

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

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


[jboss-user] [JBoss jBPM] - [Newbie] Using jBPM

2007-03-01 Thread hmrizin
Hi

Till now I have been using J2EE Webservices/WS-BPEL combination for business 
integration. Can I use the same approach with JBossESB/jBPM combination? That 
is.. is it possible to orchestrate the services deployed in JBossESB through 
jBPM.

Thanks in advance

Riyaz

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

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


[jboss-user] [JBoss Seam] - Re: s:fileUpload whit portal

2007-03-01 Thread jampierre
Hi All,
any idea to solve this problem?
Thanks

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

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


[jboss-user] [Clustering/JBoss] - login problems on cluster

2007-03-01 Thread luca.xlb
Hi all!
We have created an application that works fine on a single jboss.

Now, we need to go on a cluster.

I've configured a load balancer and 2 jboss, with mod_jk.

Session replication seems to work fine.

The only problem is in the login phase.
When only one of the two jboss is up all works. 
if both are up, login fail, due to this error:

Invalid direct reference to form login page

The error is the same of the direct access to the LoginPage.

Tha application use a custom JAAS login module, and FORM authentication.
SingleSignOn is enabled.

With basic auth all works fine (except logout) ...but i need a form auth 



Any advice?




The web.xml is


security-constraint
web-resource-collection
web-resource-nameSecure Content/web-resource-name
url-pattern/private/*/url-pattern
/web-resource-collection
auth-constraint
role-nameADMIN/role-name
role-nameUSER/role-name
/auth-constraint
/security-constraint

login-config
auth-methodFORM/auth-method
form-login-config
form-login-page/login/LoginPage.jsp/form-login-page
form-error-page/login/LoginPage.jsp/form-error-page
/form-login-config
/login-config




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

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


[jboss-user] [JBossCache] - TreeCache config in cluster

2007-03-01 Thread ottuzzi
Hi there,

I'm trying out TreeCache in our webApp deployed on a Weblogic 8.1 cluster on 
Solaris machines.
In our production environment we have 32 nodes scattered on 4 heavily 
multihomed machines: how can I set the correct bind_addr for each node?

Which is the best practice you would suggest?

Many thanks
Piero

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

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


[jboss-user] [JBoss Seam] - Ajax4jsf Filter -- I go wild page

2007-03-01 Thread rengar
-If I put in web.xml : 


  | !-- Ajax4jsf (must come first!) --
  | 
  | filter
  | display-nameAjax4jsf Filter/display-name
  | filter-nameajax4jsf/filter-name
  | filter-classorg.ajax4jsf.Filter/filter-class
  | /filter
  | 
  | filter-mapping
  | filter-nameajax4jsf/filter-name
  | url-pattern*.seam/url-pattern
  | /filter-mapping
  | 
  | context-param
  | param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name
  | 
param-valueorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/param-value
  | /context-param
  | 
  | 

-My pages go wild. Don't catch styles, don't align with align=center,...

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

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


[jboss-user] [Remoting] - Re: SSLHandshakeException when connecting to JNDI

2007-03-01 Thread Clarich
anonymous wrote : 
  | The detectors will periodically ping the servers they know about to see if 
they are still alive. The ping is an actual invocation on the server, so, for 
sslsocket, there will be an SSL handshake, for which the client will need a 
truststore.
  | 

Well the problem is, that I have a Client and a Server that run perfectly when 
using no JNDI detection. They use trusted certificates. Only when JNDI 
detection is enabled I have the problem. And even when JNDI detection is 
enabled my Client is able to connect to my Server (as long as the Server is 
still alive). Just the detection does not work.

anonymous wrote : 
  | See the client SimpleSSLDetectorClient in 
org.jboss.remoting.samples.detection.jndi.ssl for an example of a detector in 
the presence of servers using an ssl transport. Note that the server, 
SimpleSSLDetectorServer, must be configured to use sslsocket with a system arg 
like -Dargs=sslsocket-1101.
  | 

Where can I find the org.jboss.remoting.samples.detection.jndi.ssl package? I 
didn't find it within the Remoting 2.0.0 CR1 or the Remoting 2.0.0 GA sources I 
downloaded. I could only find org.jboss.remoting.samples.detection.jndi and 
org.jboss.remoting.samples.detection.multicast packages.

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad / ajax4 jsf doesn´t work anymore in Seam 1.2.0

2007-03-01 Thread baz
I have not used trinidad yet. But i have seen numerous errors when i mix 
servlet mapping and url mapping of filters in the xml. So i now use only one of 
them.
Perhaps it helps when you change your trinidad filter mapping to url mapping

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

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


[jboss-user] [JBoss Seam] - Pagination With Query Objects Bug?

2007-03-01 Thread tazman
Hi all!

I think I discovered a bug with the pagination logic of Query objects.

I have a query object comments defined in my components.xml. max-results param 
is set to 5 and I know that I have 10 comments in the DB. I can use the 
following code for the rendering of a next page link:

s:link view=/comments.xhtml rendered=#{comments.nextExists} value=Next 
Page
  | f:param name=firstResult value=#{comments.nextFirstResult}/
  | /s:link

Now, when I'm already browsing the second and last page, i.e. with firstResult 
param set to 5, a next page link is still there. When I click on next page, 
firstResult is set to 10 and the query object returns an empty list.

I went through the Query.java code and found this implementation for 
isNextExists():

public boolean isNextExists()
  | {
  | return getResultList()!=null  
  | getResultList().size() == getMaxResults();
  | 
  | }

I think this code should consider the resultCount as well, so that 
getNextFirstResult() doesn't return a value equal or greater than the 
resultCount.

Isnt't this the expected behavior for you guys?

tazman


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

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


[jboss-user] [JBoss Seam] - Re: Error javascript in s:selectDate

2007-03-01 Thread rengar
With s:selectDate for=diaLlegada dateFormat=dd/MM// works fine.


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 alpha3 released

2007-03-01 Thread [EMAIL PROTECTED]
Hi Bernd,

Thanks for the feedback. The XML synchronization with the graphical view is not 
working fully yet. That will be acted upon the coming weeks. It should be ready 
for the beta releases.

Cheers,
Koen

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

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


[jboss-user] [JBoss jBPM] - Problem BPEL: SOAP Messages in a web service invocation

2007-03-01 Thread agusgr
Hello,
I'm working with jBoss-4.0.5.GA, jbpm-bpel-1.1.Beta3 and jBossws.1.0.3.SP1.
 
I have developed a simple bpel process with and invocation to a external web 
service. I deploy the process without problems but when I test it I have the 
following problem:
The SOAP message to the web service is :
env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
  | env:Header/
  | env:Body
  | defaultNS:CapitalCity 
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' 
xmlns:xsd='http://www.w3.org/2001/XMLSchema' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' 
xmlns:defaultNS='null'ES/defaultNS:CapitalCity/env:Body/env:Envelope
  | 
And the external server answer me with this:
soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'
  | soap:Header/
  | soap:Body
  | env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
  |  faultcodesoap:Server/faultcode
  |  faultstringError processing request: Invalid namespace 'null' expected 
'http://www.oorsprong.org/websamples.countryinfo'/faultstring
  |  detail/
  | /env:Fault/soap:Body/soap:Envelope
  | 

The problem is that the process set the property 'DefaultNS' to null, but I 
don't know how to change this.

How can I set the DefaultNS different from null?
Maybe in the bpel-application.xml file?
Should I use the latest version of jbossWS?

The web service what I want to invoke is this 
http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso
and the operation is CapitalCity.

Any idea??
Thank you in advance

Agus

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

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


[jboss-user] [JBoss Seam] - File(data) Download problem...

2007-03-01 Thread waheed.murad
i am using seam-gen. i am trying to dowload a file or data from server as file. 
my code is 

FACELETS CODE:
h:commandButton value=donwload file 
actionListener=#{ERegReportHandlerAction.downloadReportFile}/ 

Sessionbean Function:

public void downloadReportFile(){

ExternalContext 
exContext=FacesContext.getCurrentInstance().getExternalContext();
javax.servlet.http.HttpServletResponse response = 
((javax.servlet.http.HttpServletResponse)exContext.getResponse());

//response.setContentType(application/x-download);
response.setContentType(text/plain);
response.setHeader(Content-Disposition, attachment; filename= + 
test.csv);


try{
OutputStream out = response.getOutputStream( );

byte[] arr=(This is the file data.).getBytes();
response.setContentLength(arr.length);
out.write(arr);
out.close();
}catch(Exception e){
System.out.println(Error:  + e.getMessage() );
}

}


file is downloaded but when i open it, i have the contents written by me(i.e 
This is the file data) plus the whole html page source code from where i 
pressed the download button. 
any help regarding this plz.

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

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


[jboss-user] [JBossWS] - Using rpc/encoded

2007-03-01 Thread mikaelstaldal
I use JBossWS 1.2.0.

The documentation for JBossWS 1.2.0 says JBossWS has basic support for 
rpc/encoded, but it doesn't say how to activate it.

How can I deploy a Web Service supporting rpc/encoded?

I know that rpc/encoded is not recommended, but I need to maintain 
interopability with some old clients.


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

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


[jboss-user] [JBoss jBPM] - Re: [Newbie] Using jBPM

2007-03-01 Thread kukeltje
anonymous wrote : Can I use the same approach with JBossESB/jBPM combination?
Sure (although it might differ in the details)

anonymous wrote : That is.. is it possible to orchestrate the services deployed 
in JBossESB through jBPM. 
Not yet (afaik),  but people are working on it. To be sure Alex should answer 
this or ask in the esb forum

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

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


[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

2007-03-01 Thread mjek2
Just one more note about templates: actually it should be possible to load them 
as application resources (or even from a URL?) i.e. without additional 
configuration.

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

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


[jboss-user] [EJB/JBoss] - jboss + xdoclet.

2007-03-01 Thread ambika
Hi,
   I am trying to build the MedRec application to test on jboss. I am using 
jboss 4.0.5.GA, xdoclet 1.2.3 and java 1.5. 

I am getting following error,

[ejbdoclet] (XDocletMain.start   54  ) Generated file 
[file:/home/ambika/integration/medrec/build/medrecEar/entityEjbs/META-INF/ejb-jar.xml:line
 33] Message=[The content of element type enterprise-beans is incomplete, it 
must match (session|entity|message-driven)+.] is not valid according to its 
DTD or XML Schema. This might be due to some missing tags in your source.
[ejbdoclet] org.xml.sax.SAXParseException: The content of element type 
enterprise-beans is incomplete, it must match 
(session|entity|message-driven)+.
[ejbdoclet] at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
[ejbdoclet] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown 
Source)
[ejbdoclet] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)


   Can anyone help me regarding the same? I saw many users faced the same 
problem, but i dint get any solution. Please help me, if any one can.

Thanks and Regards,
Ambika


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

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


[jboss-user] [JBoss Seam] - Re: Which aproach is recommended?

2007-03-01 Thread Seto
Thanks. I have my answer now. With the issue of extending the framework, I 
think I should choose the pojo aproach. Maybe in the future I migrating my 
project to EJB3 will be better.

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

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


[jboss-user] [JBoss Portal] - wsrp session propagation problem

2007-03-01 Thread karink
Hi,
using SAP Portal as consumer and JBoss Portal (JBoss 4.0.5GA + JBossPortal 2.6 
DR1) as consumer.
I recognized that for each remote invocation a new session is created
on JBoss side.

SAP stated that this depends on the answer from JBoss during
the getServiceDescription method, where JBoss Portal (producers) says, 
that the consumer does not need to handle sent cookies from the producer.

Here the answer from SAP:

- JBoss answered that it requires NO cookies initialization
(see ns1:requiresInitCookienone
/ns1:requiresInitCookie)
- SAP does not call initCookie
- no producer cookies are stored on the consumer
- each consumer request is being sent without JSESSIONID and is being handled 
by a NEW session on the producer side (no session held state is used across 
requests).


Here the request/response for getServiceDescription
1. Request from SAP EP (consumer) to JBoss (Producer)

  | POST /portal-wsrp/ServiceDescriptionService HTTP/1.1
  | Host: Host:8082
  | Content-Type: text/xml; charset=UTF-8
  | Cookie: MYSAPSSO2=AjExMDAgABRwb3J0YWw6QWRtaW5
  | 
  | Content-Length: 883
  | soapaction: urn:oasis:names:tc:wsrp:v1:getServiceDescription
  | 
  | ?xml version=1.0 encoding=utf-8?
  | SOAP-ENV:Envelope 
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; 
  | xmlns:wn3=http://www.w3.org/1999/XMLSchema; 
xmlns:wn2=http://www.w3.org/2000/10/XMLSchema; 
  | xmlns:wn1=http://www.w3.org/2001/XMLSchema; 
xmlns:wn0=http://schemas.xmlsoap.org/soap/encoding/; 
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:wn4=urn:oasis:names:tc:wsrp:v1:wsdl 
  | 
xmlns:tns=urn:oasis:names:tc:wsrp:v1:wsdlSOAP-ENV:Bodyprt0:getServiceDescription
 x
  | mlns:prt0=urn:oasis:names:tc:wsrp:v1:typesprt0:registrationContext
  | prt0:registrationHandlederegistered:/prt0:registrationHandle
  | 
  | prt0:registrationStateZGVyZWdpc3RlcmVk/prt0:registrationState
  | /prt0:registrationContext
  | 
  | prt0:desiredLocalesen_US/prt0:desiredLocales
  | 
  | 
prt0:desiredLocalesfr_FR/prt0:desiredLocales/prt0:getServiceDescription/SOAP-ENV:Body/SOAP-ENV:Envelope
  | 

2. Answer from JBoss (Producer) to SAP EP (consumer)


  | HTTP/1.1 200 OK
  | 
  | Server: Apache-Coyote/1.1
  | Set-Cookie: JSESSIONID=02AB7B830149EAEA023F7F3A87631361.localhost; 
Path=/portal-wsrp
  | 
  | Content-Type: text/xml;charset=UTF-8
  | 
  | Transfer-Encoding: chunked
  | 
  | Date: Thu, 01 Mar 2007 10:16:32 GMT
  | 
  | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
  | env:Header/env:Headerenv:Bodyns1:getServiceDescriptionResponse 
xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'
  | xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  | 
  | ns1:requiresRegistrationfalse
  | 
  | /ns1:requiresRegistration
  | 
  | ns1:offeredPortletsns1:portletHandle 
xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'/PortletTest.KarinsErstesTestPortlet
  | 
  | /ns1:portletHandle
  | ns1:markupTypes xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'
  | ns1:mimeType xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'text/html
  | /ns1:mimeType
  | ns1:modes xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'wsrp:view
  | /ns1:modes
  | ns1:modes xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'wsrp:edit
  | /ns1:modes
  | ns1:windowStates xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'wsrp:normal
  | /ns1:windowStates
  | ns1:windowStates 
xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'wsrp:minimized
  | /ns1:windowStates
  | ns1:windowStates 
xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'wsrp:maximized
  | /ns1:windowStates
  | ns1:locales xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'en
  | /ns1:locales
  | /ns1:markupTypes
  | ns1:title xml:lang='en' 
xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'ns1:value 
xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'Karins Test Portlet
  | /ns1:value
  | /ns1:title
  | /ns1:offeredPortlets
  | ns1:requiresInitCookienone
  | /ns1:requiresInitCookie
  | 
  | /ns1:getServiceDescriptionResponse
  | 
  | /env:Body/env:Envelope
  | 
  | 

Regards Karin

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

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


[jboss-user] [JBoss Seam] - Re: system requirements for jboss seam

2007-03-01 Thread svadu
May be this wil help... I used to run a small JSF application JBoss 4.0.3 on 
PIII,500MHz,256MB RAM. The deployment was pretty slow (so I dont recommend it 
for development) but once deployed it did the job (I also didn't have high load 
btw).

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

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


[jboss-user] [JBoss jBPM] - Re: Missing (config) files starters kit?

2007-03-01 Thread Johan.Parent
@Ronald:

How do I go about submitting my patch? Or will this all becoming clear when 
I'll open the issues in JIRA?

Regards,

Johan

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

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


[jboss-user] [JBoss jBPM] - Re: Missing (config) files starters kit?

2007-03-01 Thread kukeltje
you can attach them to the jira issue. Tom will review them (I´ll notify him)

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

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

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


[jboss-user] [JBoss Seam] - Re: Seam interceptor ERROR

2007-03-01 Thread michaelveit
Hello,

I got the same problem using a user defined interceptor.
Without ICEfaces, it's running fine, but with ICEfaces I get:

2007-03-01 14:02:06,140 ERROR 
[com.icesoft.faces.facelets.D2DFaceletViewHandler] Problem in renderResponse: 
/moses/image.xhtml Not Found in ExternalContext as a Resource
  | java.io.FileNotFoundException: /moses/image.xhtml Not Found in 
ExternalContext as a Resource
  | at 
com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:114)
  | at 
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:86)
  | at 
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:259)
  | at 
com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCycle(BlockingServlet.java:457)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:444)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.executeRequest(BlockingServlet.java:324)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:186)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | ...
  | 

The configuration in web.xml looks like this:
lifecycle
  | !-- Phase listener needed to display images via beans --
  | 
phase-listenerde.classname.webfrontend.ImagePhaseListener/phase-listener
  | !-- Phase listener needed for all Seam applications --
  | 
phase-listenerorg.jboss.seam.jsf.SeamPhaseListener/phase-listener
  | /lifecycle
  | 

The phase listener is reading a thumbnail from the database for web output:
package de.classpath.webfrontend;
  | 
  | import java.io.IOException;
  | 
  | import javax.ejb.Stateless;
  | import javax.faces.context.FacesContext;
  | import javax.faces.event.PhaseEvent;
  | import javax.faces.event.PhaseId;
  | import javax.faces.event.PhaseListener;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | import javax.servlet.http.HttpServletRequest;
  | import javax.servlet.http.HttpServletResponse;
  | import de.classpath.RefObjectBeanLocal;
  | 
  | @Stateless
  | public class ImagePhaseListener implements PhaseListener {
  | 
  | private static final long serialVersionUID = 6849469082858433451L;
  | // Praefix used for URL: /moses/image.seam
  | public final static String IMAGE_VIEW_ID = image;
  | 
  | // Beans
  | RefObjectBeanLocal refObjectBean = null;
  | 
  | public void afterPhase(PhaseEvent event) {
  | FacesContext context = event.getFacesContext();
  | String viewId = context.getViewRoot().getViewId();
  | if (viewId.indexOf(IMAGE_VIEW_ID) != -1) {
  | handleImageRequest(context);
  | }
  | }
  | 
  | public void beforePhase(PhaseEvent event) {
  | //Do nothing here...
  | }
  | 
  | public PhaseId getPhaseId() {
  | return PhaseId.RESTORE_VIEW;
  | }
  | 
  | private void handleImageRequest(FacesContext context) {
  | byte [] imagedata = null;
  | Integer refDataId = null;
  | Integer thumbnailtypeId = null;
  | String param;
  | 
  | HttpServletRequest request = (HttpServletRequest) 
context.getExternalContext().getRequest();
  | HttpServletResponse response = (HttpServletResponse) 
context.getExternalContext().getResponse();
  | 
  | 
  | // Read thumbnail from database via bean,
  | // because EntityManager is not supported in output 
beans!!!
  | if (refObjectBean == null) {
  | try {
  | Context namingContext = new InitialContext();
  | refObjectBean = (RefObjectBeanLocal) 
namingContext.lookup(myproject/RefObjectBean/local);
  | } catch (NamingException exception) {
  | throw new RuntimeException(exception);
  | }
  | }
  | if (refObjectBean == null) throw new 
RuntimeException(refObjectBean ist null!);
  | 
  | // Parse request parameters
  | param = request.getParameter(refDataId);
  | if (param != null) {
  | refDataId = Integer.parseInt(param);
  | }
  | param = request.getParameter(thumbnailtypeId);
  | if (param 

[jboss-user] [JBoss Seam] - Re: system requirements for jboss seam

2007-03-01 Thread miketech
Hi svadu,

thanks. Good to know, that JBoss works on it. Tomcat should be enough for my 
app. But you have only been working with JSF, not the full JBoss Seam 
framework, right?

Greetings

Mike

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 alpha3 released

2007-03-01 Thread camunda
Allright.

I had some new strange errors now, while deleting a transition Eclipse crashed 
and if I now try to open the process diagramm, i get a Exception:


  | !ENTRY org.jbpm.gd.jpdl.ui 4 0 2007-03-01 14:28:58.921
  | !MESSAGE Could not create graphical viewer
  | !STACK 1
  | org.eclipse.ui.PartInitException: Error reading contents of file : gpd.xml.
  | at 
org.jbpm.gd.jpdl.ui.editor.JpdlContentProvider.addGraphicalInfo(Unknown Source)
  | at org.jbpm.gd.jpdl.ui.editor.JpdlGraphicalEditorPage.initInput(Unknown 
Source)
  | at org.jbpm.gd.jpdl.ui.editor.JpdlGraphicalEditorPage.init(Unknown 
Source)
  | at 
org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:179)
  | at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.addGraphPage(Unknown Source)
  | at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.createPages(Unknown Source)
  | at 
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
  | at 
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
  | at 
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
  | at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
  | at 
org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
  | at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2588)
  | at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
  | at 
org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
  | at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
  | at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
  | at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
  | at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2478)
  | at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
  | at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
  | at 
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275)
  | at 
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
  | at 
org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
  | at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190)
  | at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174)
  | at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267)
  | at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243)
  | at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306)
  | at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:651)
  | at 
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
  | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
  | at org.eclipse.core.runtime.Platform.run(Platform.java:843)
  | at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
  | at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
  | at 
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
  | at 
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
  | at 
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
  | at 
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
  | at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
  | at 
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
  | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
  | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
  | at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
  | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
  | at 
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
  | at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
  | at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
  | at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
  | at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
  | at 

[jboss-user] [JBoss Seam] - Re: Seam PDF iText generation ERROR

2007-03-01 Thread michaelveit
Sorry, I meant phase-listener, not interceptor. ;)

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad / ajax4 jsf doesn´t work anymore in Seam 1.2.0

2007-03-01 Thread hamtho2
You were right, that´s it!

Thanks a lot. These forums are just great. I would have never come to this idea!

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

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

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


[jboss-user] [Clustering/JBoss] - Re: Problem with datasources, they start, but my apps cannot

2007-03-01 Thread sebastianlacuesta
Well, in the default config it seems that JMS uses the hypersonic db, and I 
read everywhere that this is a bad idea in a production environment (I couldn't 
find why), so I changed the DefaultDS to use mysql locally, and then I changed 
the DataSourceBinding at mysql-jdbc2-service.xml to use it, I deleted a 
hsqldb-jdbc2-service.xml at deploy/jms and/or deploy-hasingleton/jms but a 
hsqldb-jdbc-state-service.xml exists. I use a custom configuration named pok 
that started as a copy of the all configuration, I didn't remove any 
component, just changed some datasources, and added other datasources. The 
reason to use the all configuration is that I need JBossCache. I'll post the 
output of two servers, and the stack trace of the exception.

The startup of the first server is:

[EMAIL PROTECTED] bin]# su jboss -c ./run.sh -cpok -b192.168.2.2
=

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/local/jboss-4.0.5.GA

  JAVA: /usr/java/jdk1.5.0_10/bin/java

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

  CLASSPATH: 
/usr/local/jboss-4.0.5.GA/bin/run.jar:/usr/java/jdk1.5.0_10/lib/tools.jar

=

22:09:37,701 INFO  [Server] Starting JBoss (MX MicroKernel)...
22:09:37,702 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: 
CVSTag=Branch_4_0 date=200610162339)
22:09:37,704 INFO  [Server] Home Dir: /usr/local/jboss-4.0.5.GA
22:09:37,704 INFO  [Server] Home URL: file:/usr/local/jboss-4.0.5.GA/
22:09:37,705 INFO  [Server] Patch URL: null
22:09:37,705 INFO  [Server] Server Name: pok
22:09:37,705 INFO  [Server] Server Home Dir: 
/usr/local/jboss-4.0.5.GA/server/pok
22:09:37,706 INFO  [Server] Server Home URL: 
file:/usr/local/jboss-4.0.5.GA/server/pok/
22:09:37,706 INFO  [Server] Server Log Dir: 
/usr/local/jboss-4.0.5.GA/server/pok/log
22:09:37,706 INFO  [Server] Server Temp Dir: 
/usr/local/jboss-4.0.5.GA/server/pok/tmp
22:09:37,707 INFO  [Server] Root Deployment Filename: jboss-service.xml
22:09:38,048 INFO  [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
22:09:38,048 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 
1.5.0_10-b03,Sun Microsystems Inc.
22:09:38,049 INFO  [ServerInfo] OS-System: Linux 2.6.9-42.0.8.ELsmp,amd64
22:09:38,672 INFO  [Server] Core system initialized
22:09:42,109 INFO  [WebService] Using RMI server codebase: 
http://192.168.2.2:8083/
22:09:42,135 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
22:09:48,611 INFO  [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 
(date=200609291417)
22:09:49,643 INFO  [SnmpAgentService] SNMP agent going active
22:09:50,382 INFO  [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
22:09:50,767 INFO  [STDOUT]
---
GMS: address is 192.168.2.2:32937
---
22:09:52,792 INFO  [TreeCache] viewAccepted(): [192.168.2.2:32937|0] 
[192.168.2.2:32937]
22:09:52,797 INFO  [TreeCache] TreeCache local address is 192.168.2.2:32937
22:09:52,806 INFO  [TreeCache] State could not be retrieved (we are the first 
member in group)
22:09:52,806 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty
22:09:53,097 INFO  [DefaultPartition] Initializing
22:09:53,282 INFO  [STDOUT]
---
GMS: address is 192.168.2.2:32940 (additional data: 16 bytes)
---
22:09:55,290 INFO  [DefaultPartition] Number of cluster members: 1
22:09:55,290 INFO  [DefaultPartition] Other members: 0
22:09:55,291 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
22:09:55,293 INFO  [DefaultPartition] State could not be retrieved (we are the 
first member in group)
22:09:55,326 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, 
backlog=50, bindAddress=/192.168.2.2
22:09:55,333 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on 
/192.168.2.2:1102, group=230.0.0.4, HA-JNDI address=192.168.2.2:1100
22:09:56,817 INFO  [CorbaNamingService] Naming: 

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.5 installation

2007-03-01 Thread jwenting
the installer can install support for things like EJB3 so most likely contains 
newer (and possibly more) jars than the zip.
You can just zip the installation directory created by the installer and have 
your own zipped version.

JBoss 4.0 works very well with 1.5, in fact it requires it for some 
functionality (like EJB3 support).

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

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


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

2007-03-01 Thread swestbom
Any chance of dealing with this bit when using overwrite for *object.xml?

09:10:14,124 WARN  [EhCacheProvider] Could not find configuration 
[org.hibernate.cache.StandardQueryCache]; using defaults.
09:10:17,937 INFO  [DefaultLoadEventListener] Error performing load command
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: 
[org.jboss.portal.core.impl.model.portal.ObjectNode#1339]
at 
org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:375)
at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:143)
at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:193)
at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:101)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:196)
at 
org.hibernate.cache.StandardQueryCache.get(StandardQueryCache.java:130)
at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2085)
at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2050)
at org.hibernate.loader.Loader.list(Loader.java:2020)
at 
org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:95)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:305)
at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNodeNoCache(PersistentPortalObjectContainer.java:266)
at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:294)
at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:246)
at 
org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.setSecurityBindings(AbstractPortalObjectContainer.java:193)
at 
org.jboss.portal.core.model.portal.metadata.PortalObjectMetaData.configure(PortalObjectMetaData.java:194)
at 
org.jboss.portal.core.model.portal.metadata.PortalObjectMetaData.create(PortalObjectMetaData.java:129)
at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment.org$jboss$portal$core$deployment$jboss$ObjectDeployment$doStart$aop(ObjectDeployment.java:233)
at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment$doStart_7390365741110132881.invokeNext(ObjectDeployment$doStart_7390365741110132881.java)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment$doStart_7390365741110132881.invokeNext(ObjectDeployment$doStart_7390365741110132881.java)
at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment.doStart(ObjectDeployment.java)
at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:94)
at 
org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99)
at 
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.add(PortalDeploymentInfoContext.java:84)
at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.registerFactory(ServerDeployer.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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 $Proxy125.registerFactory(Unknown Source)
at 
org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory.registerFactory(AbstractDeploymentFactory.java:110)
at 
org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory.startService(AbstractDeploymentFactory.java:149)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at 

[jboss-user] [Security JAAS/JBoss] - Re: EJB Security Question

2007-03-01 Thread jaikiran
anonymous wrote : Does this restrict access to users with a valid-user role 
or does the unchecked with the wildcard allow anyone to access the secureMethod?

If i am not wrong, i remember reading a similar post where it was mentioned 
that in such cases the stricter restriction will be used for authorization. So 
in your case, only the users with a valid-user role will be allowed to access 
the secureMethod.

Getting this confirmed through a testcase would be great.



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

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


[jboss-user] [JBoss jBPM] - Ambiguous user guide

2007-03-01 Thread angra81
Hi,
I'm following the user guide 
http://docs.jboss.com/jbpm/bpel/getstarted.html
to begin working with jbpm bpel.
At the paragraph 
http://docs.jboss.com/jbpm/bpel/getstarted.html#getstarted.jbpmbpel
he explains two different ways to get the jbpm bpel package. My really big 
problem is that the two ways take two completely different directories... 

Anyone can explain me what do I have to take?

Thanks,
Dario

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

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


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

2007-03-01 Thread jaikiran
Can you post your -ds.xml and the code where you are looking up the datasource.

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

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


[jboss-user] [JBoss Seam] - Seam Security Question - Tomcat Valve

2007-03-01 Thread bsmithjj
Hello,

We have written a custom Tomcat valve-realm implementation that integrates our 
JBoss servers with a CAS-SSO system.  Our valve-realm implementation supplies 
the Principal to the HttpServletRequest and handles invocations of 
isUserInRole(String role) on the HttpServletRequest.  This eliminates the need 
for an application-level authentication-authorization system.  Our developers 
simply write security constraints on URL's in web.xml and 'hook into' the SSO 
system by supplying a Tomcat context.xml file in WEB-INF.

I've looked at the seam security module - I see that I can specify a 
'jaas-config-name' but we're not even using that since the container (via 
context.xml and web.xml) is now deciding whether or not 
authentication/authorization is required for a request.  My question is how do 
I make the Identity component simply delegate to the HttpServletRequest for 
invocations of the isUserInRole()?  In looking at the code for Identity, it 
doesn't seem like this would work out of the box since Identity has its own 
concept of a Subject...

Thanks,
Brad Smith

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

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


[jboss-user] [Clustering/JBoss] - JNDI vs. HA-JNDI lookups

2007-03-01 Thread Marlig
Hi,

I've been using JBoss clustering for a while now and it's working great. 
Thanks! 

Now I've come across a matter from which I thought I knew how it worked for 
sure, but somehow it doesnt. It's about the behaviour of (HA-) JNDI lookups 
from a remote client.

My assumption was the following: you have two ports on each node, one exposing 
the local JNDI tree (usually ports 1099, 1199, ...) and the other one exposing 
the HA-JNDI tree (usually ports 1100, 1200, ...). 

Now when a client connects to the server using the port for the local tree 
(1099), the request should be handled on the node it called, and on that node 
only. When the client connects to the server using the port for the HA tree 
(1100), the request will be handled by any node in the cluster. Or, to be more 
precise, the smart proxy, which the client got with the first call, will 
distribute the calls across the nodes.

I'm pretty sure that's the behaviour I saw the last time I checked. But what 
I'm seeing now (we changed to JBoss 4.0.4 in the meantime) is that also the 
calls to the local port (1099 etc) are distributed across the nodes. However, 
for testing purposes, I need to call a certain node, and not any node in the 
cluster.

Is my understanding wrong (if so, what's the right way of doing it)? 
Or was there a change with JBoss 4? 
Or is there even a bug in JBoss 4?

Any enlightenment is appreciated. :-)

Martin

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Configuring Classloader Domains

2007-03-01 Thread jimmycallaghan
I've tried various things in the jboss-app.xml but the lastest try was simply:

  | loader-repository 
  | mint.telrock.com:loader=mint
  | /loader-repository 
  | /jboss-app

Put this in application A and application B but they can't see one anothers 
classes. This is a pain when using AOP or web services.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Configuring Classloader Domains

2007-03-01 Thread jimmycallaghan
Correction in the pasted code obviously it was:

  | jboss-app
  | loader-repository 
  | mint.telrock.com:loader=mint
  | /loader-repository 
  | /jboss-app
  | 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: jboss-5.0.0.Beta1 BUILD FAILED

2007-03-01 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | And for what great reason should i use 5.0?
  | 

The simple fact that we do not, as of yet, support 1.6. 



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

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


[jboss-user] [Messaging, JMS JBossMQ] - JmsMessageConsumer vs SpiMessageConsumer

2007-03-01 Thread kspreddy
Hello,

I am not sure of the different between 
org.jboss.resource.adapter.jms.JmsMessageConsumer and 
org.jboss.mq.SpiMessageConsumer. (similarly JmsSession vs SpiSession)

Is there any doc that explain when to use what?

The reason why I am asking this question is: Using 
JmsSession/jmsMessageConsumer creates a seperate thread to listen to the queue 
where as SpiSession/SpiMessageConsumer won't create extra thread but the same 
thread is registered as a listener for multiple calls to setMessageListener 
method.

Thanks,
Siva

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

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


[jboss-user] [JBossCache] - memory leak

2007-03-01 Thread gmeroz
I use JBossCache-all-2.0.0.ALPHA2.

i have a memory leak in my application when i use JBossCache. The following 
test reproduce it. It add 100 Person object to the cache, than it remove them 
from the cache  and repeat...

When i use profiler, I see that the number of instances of Person is raising. 
(even if i force GC).


  | public void testMemoryLeak(){
  | PojoCache cache = 
PojoCacheFactory.createCache(com/bevents/infra/service/cache/cache.xml, true);
  | String category = testCat;
  | while (true) {
  | for (int i=0 ;i100; i++) {
  | Person person = new Person();
  | person.setName(aaa);
  | cache.attach(category+/testPerson+i,person);
  | assertEquals(person,cache.find(category+/testPerson+i));
  | }
  | // delete from the cache.
  | 
cache.getCache().getRoot().removeChild(Fqn.fromString(category));
  | assertNull(cache.find(category+/testPerson0));
  | System.out.println(sleep);
  | try {
  | Thread.sleep(5000);
  | } catch (InterruptedException e) {
  | e.printStackTrace();  //To change body of catch statement 
use File | Settings | File Templates.
  | }
  | }
  | }
  | 

this is the configuration XML loaded for the cache:

  | ?xml version=1.0 encoding=UTF-8?
  | server
  | classpath codebase=./lib archives=jboss-cache.jar, jgroups.jar/
  | mbean code=org.jboss.cache.TreeCache
  | name=jboss.cache:service=TreeCache
  | 
  | dependsjboss:service=Naming/depends
  | dependsjboss:service=TransactionManager/depends
  | 
  | attribute 
name=TransactionManagerLookupClassorg.jboss.cache.DummyTransactionManagerLookup/attribute
  | attribute name=IsolationLevelREAD_COMMITTED/attribute
  | 
  | attribute name=CacheModeLOCAL/attribute
  | /mbean
  | 
  | 
  | 
  | /server
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Missing (config) files starters kit?

2007-03-01 Thread Johan.Parent
Ok, it's done

http://jira.jboss.com/jira/browse/JBPM-858

I don't know how to make a build so I could not test the code but it should do 
the job.

Johan

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

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


[jboss-user] [JBoss Seam] - exceptions.xml : display exception's information

2007-03-01 Thread synthez84
Hi,

I'm looking how to use Seam exception handling with exception.xml, in Seam 
1.1.1.
The redirection  seems to be executed, but I know nothing about the exception.


I've got an actionBean, that throw an exception like 


  | throw new Exception(Don't worry, just a test...);

My exceptions.xml is : 


  | exceptions
  |exception
  |   redirect view-id=/generic_error_page.xhtmlTest/redirect
  |   end-conversation/
  |/exception
  | /exceptions


My generic_error_page.xhtml : 

  | c:if test=${applicationException != null}
  | p
  |   h:outputText value=#{applicationException.localizedMessage} /
  | /p
  |   /c:if


When I call my actionBean, Exception is thrown and I'm redirected in 
generic_error_page.xhtml. But no message in it.

What should I do to have an error page with all exception's information?

Thanks in advance




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

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


[jboss-user] [JBossWS] - Re: Using rpc/encoded

2007-03-01 Thread [EMAIL PROTECTED]
Its activated by default

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

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


[jboss-user] [JBossWS] - Re: WSDL - Schema definitions

2007-03-01 Thread [EMAIL PROTECTED]
@WebService supports wsdlLocation in which case the wsdl that you privide is 
fed back to the client.

Of course you will have to set your annotations such that it conforms to the 
abstract contract. Try wsconsume.

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

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


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

2007-03-01 Thread [EMAIL PROTECTED]
http://jbws.dyndns.org/mediawiki/index.php/Quick_Start

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

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


[jboss-user] [JBoss jBPM] - problem of deployment

2007-03-01 Thread abdenourh
I have a problem when I try to deploy my process processdefinition.xml
when I execute this code





public static void main(String[] args){

jbpmConfiguration = JbpmConfiguration.parseResource(jbpm.cfg.xml);  
ProcessDefinition P = 
ProcessDefinition.parseXmlResource(simple/processdefinition.xml);
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
try { 
  jbpmContext.deployProcessDefinition(P);

} finally {
  jbpmContext.close();
  }






I have this error message





15:42:05,060 [main] DEBUG JbpmConfiguration : creating jbpm configuration from 
resource 'jbpm.cfg.xml'
15:42:05,075 [main] DEBUG JbpmConfiguration : loading defaults in jbpm 
configuration
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'default.jbpm.context'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.hibernate.cfg.xml'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.business.calendar'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.default.modules'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.converter'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.action.types'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.node.types'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.parsers'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.varmapping'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.msg.wait.timout'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.byte.block.size'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'mail.smtp.host'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.task.instance.factory'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.variable.resolver'
15:42:05,341 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.mail.address.resolver'
15:42:05,341 [main] DEBUG JbpmConfiguration : loading specific configuration...
15:42:05,403 [main] INFO  JbpmConfiguration : using jbpm configuration resource 
'jbpm.cfg.xml'
15:42:05,403 [main] DEBUG JbpmConfiguration : loading defaults in jbpm 
configuration
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'default.jbpm.context'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.hibernate.cfg.xml'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.business.calendar'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.default.modules'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.converter'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.action.types'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.node.types'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.parsers'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'resource.varmapping'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.msg.wait.timout'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.byte.block.size'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'mail.smtp.host'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.task.instance.factory'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.variable.resolver'
15:42:05,419 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.mail.address.resolver'
15:42:05,435 [main] DEBUG JbpmConfiguration : loading specific configuration...
Exception in thread main org.jbpm.jpdl.JpdlException: [[ERROR] couldn't parse 
process definition]
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:163)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
at com.sample.action.Dep.main(Dep.java:39)
15:42:05,482 [main] ERROR JpdlXmlReader : couldn't parse process definition
org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
at com.sample.action.Dep.main(Dep.java:39)
Nested exception: 
java.net.MalformedURLException
at java.net.URL.(URL.java:601)
at 

[jboss-user] [JBoss Seam] - Re: exceptions.xml : display exception's information

2007-03-01 Thread synthez84
Here are my log : 


[Exceptions] reading exceptions.xml
 [MetaMethodBinding] Error processing action expression 
#{actionBean.doException}: javax.faces.el.EvaluationException: Exception while 
invoking expression #{actionBean.doException}



And still no message in html page...

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

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


  1   2   3   4   >