[JBoss-user] [JBoss jBPM] - Re: Problem in required field attribute in default form cont

2006-05-23 Thread Becka
whats now with the problem?
is there already a workaround or still not fuctioning

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - How to setup a secondary Microsoft Access Datasource

2006-05-23 Thread Becka
My standard configuration uses a MySQL Datasource, but for one project i need 
to setup a Microsoft Access Datasource.
This DS should only be secondary, it should be available for the Pages, but not 
used by the server (schedule).

It works already with a ODBC connection over a System DSN but its required to 
set it up with a server side configuration

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Jbpm webapps to portlet.

2006-05-23 Thread antitrust1982
hi,

I tried to modify these files but I don't see anychangement when I execute jbpm 
with these. Then, somebody, know which files I should modify in order to log 
the users by passing the name of the login user from the Jboss Portal?

I want to just find the file(s) which permit us to log. In the webapp you chose 
in a list of user. Me I want delete this part in order to arrive on the user 
screen. But for this I must understand and find which files I must modify for 
this.

Thank you very much in avance for your help

Antitrust1982

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Problem with lookup of EJBs

2006-05-23 Thread ashw.kumar
I get following error when i lookup using "ejb/MapSession"

anonymous wrote : 
  | 13:18:35,445 INFO  [STDOUT] javax.naming.NameNotFoundException: ejb not 
bound
  | 13:18:35,445 INFO  [STDOUT] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
  | 13:18:35,445 INFO  [STDOUT] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
  | 13:18:35,445 INFO  [STDOUT] at 
org.jnp.server.NamingServer.getObject(NamingServer.java:528)
  | 13:18:35,445 INFO  [STDOUT] at 
org.jnp.server.NamingServer.lookup(NamingServer.java:252)
  | 13:18:35,445 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
  | 13:18:35,445 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
  | 13:18:35,445 INFO  [STDOUT] at 
javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 13:18:35,445 INFO  [STDOUT] at 
com.virtualcityindia.web.IndexServlet.init(IndexServlet.java:56)
  | 13:18:35,445 INFO  [STDOUT] at 
javax.servlet.GenericServlet.init(GenericServlet.java:211)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:750)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 13:18:35,455 INFO  [STDOUT] at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  | 13:18:35,455 INFO  [STDOUT] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  | 13:18:35,455 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:81)
  | 13:18:35,455 INFO  [STDOUT] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | 13:18:35,455 INFO  [STDOUT] at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | 13:18:35,455 INFO  [STDOUT] at java.lang.Thread.run(Thread.java:595)
  | 
  | 

THe error is almost same as previuos one.
I looked into Global JNDI Namespace using jmx-console. 
I found following relevant entried there. 

Looks like MapSession is registered but no class loading available for 
MapSessionHome. 

Do you have any clue why ? 

anonymous wrote : 
  | +- jmx (class: org.jnp.interfaces.NamingContext) 
  | | +- invoker (class: org.jnp.interfaces.NamingContext) 
  | | | +- RMIAdaptor (proxy: $Proxy38 implements interface 
org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface 
org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) 
  | | +- rmi (class: org.jnp.interfaces.NamingContext) 
  | | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: 
javax.naming.LinkRef) 
  | +- MapSession (proxy: $Proxy58 implements No ClassLoaders found for: 
com.virtualcityindia.interfaces.MapSessionHome (no security manager: RMI class 
loader disabled)) 
  |  

Regards. 
Ashwani

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: 4.0.4.GA deploy problem... I think

2006-05-23 Thread elfuhrer
The CVS libraries are not in sync with JBoss-4.0.4.GA the jboss-ejb3-all.jar 
needs to be updated to the latest jars included in 
jboss-EJB-3.0_Embeddable_ALPHA_6 that can be found on sourceforge and the 
javax.interceptor imports need to be updated to javax.ejb otherwise the 
application won't deploy because of missing classes in the classpath

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: 4.0.4.GA deploy problem... I think

2006-05-23 Thread elfuhrer
The CVS libraries are not in sync with JBoss-4.0.4.GA the jboss-ejb3-all.jar 
needs to be updated to the latest jars included in 
jboss-EJB-3.0_Embeddable_ALPHA_6 that can be found on sourceforge and the 
javax.interceptor imports need to be updated to javax.ejb otherwise the 
application won't deploy because of missing classes in the classpath

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Eclipse core commands

2006-05-23 Thread bodabela
Uhhh...! I wouldn't post it here, if it wasn't a problem. (not only for me)
I can't find the plug-in that contains these packages. No plug-in or 
description that coresponds to "core.commands".
Why is that?
What is plug-in that contains the package? Where is it?
Thx for precise answers!


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: 4.0.4.GA deploy problem... I think

2006-05-23 Thread [EMAIL PROTECTED]
Please check what you say before spreading wrong info.
In the final spec of EJB3, ArounInvoke package and such classes has changed 
FROM javax.ejb TO javax.interceptor

I made the changes in the CVS, and i upgraded jboss-ejb3-all.jar with the 
latest.

The fact the latest release of JBoss Embedded is not compliant with the final 
spec is a different matter.

So again, if you want to run Seam on JBoss-4.0.4.GA you need to use the CVS 
version.



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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Native Update

2006-05-23 Thread Vandeplas
I just migrated to 4.0.4GA and it works.  

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Where is the j2eetutorial14 directory?

2006-05-23 Thread stefarg
Hi again,

Thanks for replying.

I can't see where to download the j2ee-1_4-doc_tutorial_3.zip file.  When I go 
to http://docs.jboss.org/jbossas/getting_started/v4/ the only files / folders I 
can see are:

html/
html_single/
pdf/
startguide40.zip

Could you please tell me where exactly I can download the file?  Maybe a link?

Thanks again for all your help,
Stef




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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Optimistic cache and PROPAGATION_REQUIRES_NEW

2006-05-23 Thread mraccola
Don't know if I am doing something wrong here, please help.

I am using JBoss Cache 1.3.0.SP2 with Hibernate 3.2.CR2.  I am getting the 
dreaded "org.jboss.cache.CacheException: unable to validate nodes" exception 
caused by:

INFO [WebContainer : 0] 
(org.jboss.cache.interceptors.OptimisticValidatorInterceptor.simpleValidate(OptimisticValidatorInterceptor:?)
 2006-05-23 00:46:28,518 - DataNode [/org/hibernate/cache/StandardQueryCache] 
version DefaultDataVersion(35) is newer than workspace node 
DefaultDataVersion(33)

Since I was positive there was only one thread executing at the time I went 
back to see how the version number on the StandardQueryCache could have been 
incremented within a single transaction.  Turns out I have one main transaction 
with PROPAGATION_REQUIRED and during the execution I make two calls to 
transactions with PROPAGATION_REQUIRES_NEW.  The two new transactions will 
suspend the main transaction, execute a query among other things, and commit 
the transaction (which causes the cache to increment the version on the 
StandardQueryCache), and then resume the main transaction.  

This is the log statement I see when the "nested" transactions commit:

Setting version of data node org/hibernate/cache/StandardQueryCache from 
DefaultDataVersion(34) to DefaultDataVersion(35)

As a side note I am puzzled as to why the query is even going into the 
StandardQueryCache at all because the query is not flagged as cachable in 
Hibernate and all my unit tests (which do not use optimistic locking due to the 
lack of a transaction manager) do not show the queries being stored in the 
StandardQueryCache.

How is this how it is supposed to work?  Seems like PROPAGATION_REQUIRES_NEW is 
not supported with optimistic cache.  The only way I can get around it now is 
to disable query caching globally in Hibernate.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Problems with xa-datasource

2006-05-23 Thread sfzumaquero
Hello,

Could you help me to resolve a problem???

I have an application running in Orion using the next data-source:






I want to use JBOSS but using this datasource the application not running. I 
change the datasource and now I´m using the next datasource, but the 
application not running.





jdbc/imaestros

true
oracle.jdbc.xa.client.OracleXADataSource
jdbc:oracle:thin:@172.24.15.50:1522:prueba10gr2
***
**
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter



Oracle9i




The application returns this error: "imaestrosXA not bound".

Could anybody help me?

Thanks in advance.

Santi.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Eclipse Deploy Process Archive

2006-05-23 Thread omaass
OK, I see it now.

When I install jbpm Designer version 3.0.8 then there is the context menu entry 
"Deploy Process Archive" in the eclipse package explorer. 

When I install jbpm Designer version 3.0.9 then the context menu disappears but 
instead I get a new tab "Deployment" in the Process editor and I can deploy 
through this (even more comfortable) mask. 

Actually I remember now that in the starters kit user guide that deployment 
mask was viewable in screenshots. But as starters kit is bundled with version 
3.0.8 of the designer, it did not show up. 

So, forget about this posting... ;-)

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-05-23 Thread poyge394
any idea for this case ?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Two different Jboss versions on single machine.

2006-05-23 Thread vallamkondu
Hi All,

I have configured and deployed two different JBoss versions (3.2.3 & 3.2.5) on 
our lab machines and both application servers are up & running simultaneously 
without any port conflict.

I have modified the 3.2.5 version ports as below

>> Edit /server/default/conf/jboss-service.xml and change 
>> the following Ports
a.  Change WebService MBean Port from 8083 to 18083.
b.  Change NamingService MBean Port from 1099 to 10099.
c.  Change NamingService MBean - RmiPort from 1098 to 10098.
d.  Change JRMPInvoker MBean Port from  to 4.
e.  Change PooledInvoker MBean Port from 4445 to 5

>> Edit 
>> /server/default/deploy/jbossweb-tomcat50.sar/server.xml
a.  Change AJP 1.3 port from 8009 to 18009.
b.  Change AJP 1.3 redirectPort  from 8443 to 18443.
c.  Change HTTP/1.1 redirectPort from 8443 to 18443.

>> Edit /server/default/deploy/jms/uil2-service.xml
a.  Change ServerBindPort from 8093 to 18093.

Now after making sure both applications are up & running fine without any 
errors in respective server.log file. 

I have done similar configurations on CUSTOMER BOX and started the 2nd JBoss 
application server (jboss-3.2.5), it came up without any ERROR's (in 
server.log) but I am unable to access 
http://hostname:8080 or
http://hostname:8080/jmx-console
It always says "The page cannot be displayed.."

I have tried this exercise on both WINDOWS & SUN SOLARIES boxes on our lab 
systems successfully with out any issues before applying on customer box. But I 
am not able to on CUSTOMER BOX.

Please can anyone let me know any possible reasons why I am not able access 
only on customer box?

Thanks
Vallamkondu





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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-05-23 Thread [EMAIL PROTECTED]
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80233

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB3 JBoss extensions API state

2006-05-23 Thread [EMAIL PROTECTED]
Are there any provisions already to add description text to @Service POJOs and 
their methods?

Currently, @Service POJOs descriptions, as seen through the JMX console, are 
all default or missing:
"Information on the management interface of the MBean"
"Attribute exposed for management"
"(no description)"

Perhaps something along the lines of

--- SNIP ---
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Description {
String[] value();
}
--- SNIP ---

In case of methods, multiple descriptions should be matched with the arguments 
in sequence.

Another nice-to-have would be a Logger annotation, which helps avoid redundant 
code (class name replication)

--- SNIP ---
public class SomeService implements SomeServiceIF {
@Logger private static Logger log;
...
--- SNIP ---

instead of

--- SNIP ---
public class SomeService implements SomeServiceIF {
private static Logger log = Logger.getLogger(SomeService.class);
...
--- SNIP ---

Feedback would be appreciated.





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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ DatabaseServerLoginModule

2006-05-23 Thread yogendrarampuria
excellent is what i can say on that. It really sums up the auth entirely. 

I have a point to add. The whloe source of confusion is the terms used in a lot 
of examples about auth. Especially in the principalQuery and rolesQuery. they 
should rather mention principalName and roleName instead of principalid/userid 
and roleid respectively. (I appreciate j2ee_junkies terms).

Also, in the rolesQuery, one needs 2 collumns being returned, first one should 
be the role name (e.g. manager, admin, etc.), and second is constant 'Roles', 
yes its literal. Don't know why but for me it didnt work w/o that.

--yogi

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - return/pass JavaBean ?

2006-05-23 Thread ericmacau
Hello,

How can I pass a JavaBean as a parameter and return an array of JavaBean 
through web service ?

Any example to do this, please help ?





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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Required indexes missing in JBPM DB script. (Take 2 - De

2006-05-23 Thread biggef
Your stack trace looks indeed close to the one I had.
Look maybe how often the commits are made. Try to commit more frequently  to 
see if you still get this error. I don't know what else to say.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wstools generate wrong array type class !

2006-05-23 Thread ericmacau
Any method I can return a set of Java objects ?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Where is the j2eetutorial14 directory?

2006-05-23 Thread visolvejboss
Hi,
The following link is to get the latest j2ee tutorial version.
1.  To get j2ee-1_4-doc-tutorial_7.zip file go to the following link.

Path: http://java.sun.com/j2ee/1.4/download.html

When you unzip the j2ee-1_4-doc_tutorial_7.zip file, it will create the 
j2eetutorial14 folder. 

2.  I hope that you have already downloaded   jbossj2ee-src.zip file from 
the following path.

Path:  http://docs.jboss.org/jbossas/getting_started/v4/

Using these two files, you can execute the Duke's bank application.

Thanks,
-VisolveJBossTeam


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - problem 'timing out' JAAS jboss login

2006-05-23 Thread afjochnick
Hello fellow coders, 

I have a problem with a Swing client connecting to jboss where I am using LDAP 
for credentials. 

What happens is the following: 
the client is setup to login with JAAS, using two loginmodules. The first is 
our own which connects to our LDAP server and authenticates the user. The 
second is JBOSS' clientloginmodule. 

our module stores the usr and pwd to use for the clientloginmodule in the 
common map shared by loginmodules. As you know, the jboss clientloginmodule 
then only sets the usr and pwd parameters so that they can be retrieved when 
actual calls are made against the jboss server. 

Everything 'works', but my problem is this: 

The usr and pwd is sent every time communication occurs with the jboss server.
The desired behavior is a http-like session, i.e. the usr and pwd is sent when 
logging in to JBOSS, the jboss server LDAP login is performed once, and then 
that 'session' is maintained just like a web session would be. 

I've tried for example to reduce the ldap timeout, but that of course only 
increased how often JBOSS did validation against the LDAP server... 

Any pointers are greatly appreciated!

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - How to recreate actions of an ended process instance

2006-05-23 Thread oduhart
Hello every body, 
 
We are in the process to evaluate jbpm for our client. One special requirement 
is to be able to recreate the list list of actions that occured in an ended 
process instance. Do you know if there is a simple way to do this ? I was 
thinking to a mere SQL request or a set of SQL request but since I don't know 
the structure of the database I don't how to do this. Any one to help me ? 
 
thanks. 
 
Olivier 


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Jboss clustering support in multitier application

2006-05-23 Thread kensky
Hei, 

I am soryy for my last email. Perhaps i asked questions that are   answered in 
jboss documentation. I am working on one project that has native xml embedded 
db and webservices on presentation layer. 


My question is if I use jboss to deploy webservices, probably wrapped with 
session beans. I asume that jboss does well support for clustering at session 
bean layer(webservices). How could I achieve clustering at xmldb level, though 
it provides replication api but without any support of communication and naming 
infrastructure. 

Conceretly, is it possible to add my replication logic at jboss level which 
controls all clustering of xml db replicas through jboss's powerful 
communication and naming mechanism.

I hope i described my problem clear, in case if not I can post it again. :)


Thanks in advance. 

Kensky

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Optimistic cache and PROPAGATION_REQUIRES_NEW

2006-05-23 Thread mraccola
Please disregard the part about the 2nd part about my confusion as to why the 
query was being stored in StandardQueryCache.  I found a bug in my code which 
was setting the the query to cachable programatically.  Now, I should be able 
to disable query caching on a query-by-query basis.

However, my question about PROPAGATION_REQUIRES_NEW is still outstanding.  
Thanks.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wstools-config.xml

2006-05-23 Thread [EMAIL PROTECTED]
You need to distinguish between 

#1 multiple service endoint beans or endoint interfaces (SEI)

#2 operations operation per endpoint

wstools does not support #1 and no other tool that I know of can do that. #2 is 
of course supported - we have doc/lit tests with many operations

I reopen 
http://jira.jboss.com/jira/browse/JBWS-949

and suggest you add a comment to the issue and show us your SEI and wstools 
config file in the issue



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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Understanding @Conversational

2006-05-23 Thread mirko27
Any ideas? Why does it report but does not take action

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - wsdl2java and JSR181

2006-05-23 Thread klaus_erber
Hello,

I have some understanding problems.

Is it possible to use a hand writed WSDL in conjunction with JSR181 annotations?

I have generate the endpoint interfaces, data classes and the 
jaxrpc-mapping.xml with wscompile and put the jaxrpc-mapping.xml file in 
META-INF of my ejb module.

The generated WSDL is different than my hand writed WSDL (other namespaces and 
sequences in schemas). Method calls produces exceptions like this:


  | javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: 
javax.xml.bind.JAXBException: Failed to parse source: Requested element 
jwsParam is not allowed in this position in the sequence. The next element 
should be {http://metadaten.ws.red.spiegel.de}auswahllisteTyp
  | at 
org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:307)
  | at 
org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233)
  | at 
org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103)
  | at 
org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117)
  | at 
org.jboss.ws.server.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.java:106)
  | at 
org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:118)
  | at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234)
  | at 
org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
  | ...
  | 

It seems that the jaxrpc-mapping.xml is not used to map the wsdl structures to 
the java types. So is this the completly wrong approach? Do we have to go the 
java2wsdl way?

Many thanks for your help
Klaus

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wsdl2java and JSR181

2006-05-23 Thread [EMAIL PROTECTED]
The jaxrpc-mapping.xml is not used - full stop.
It is a JSR109 artifact and does not enter the game with JSR181. With JSR181 
the required webservice meta data are obtained through annotations.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - change context path

2006-05-23 Thread shagy69
Hi all,
In the User guide its said that one can change the context only by changing the 
file local.properties found in $PORTAL_HOME/build/.
I have search that file inside all the Application server and I get 0 results 
in the search query. How can this be possible? there is another way of doing 
that.
thanx.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Understanding @Conversational

2006-05-23 Thread ElGamal
You should at least post the necessary code parts so we know what you are 
actually doing.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wstools-config.xml

2006-05-23 Thread RamcisJBOSS
I have multiple web service to compile. 
As I understand, I must compile each one separatly.
Here is an example, my structure of project seems like this :
src 
|Client
| |Interface
| | |ClientInterface.java
| |Impl
| | |ClientImpl.java
|Provider
| |Interface
| | |ProviderInterface.java
| |Impl
| | |ProviderImpl.java
Configuration
|wstools-config.xml

How should I process to compile this project.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: change context path

2006-05-23 Thread [EMAIL PROTECTED]
use build/etc/local.properties-example as example and copy it in the build 
directory.

(It gets copied if you compile once)

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Understanding @Conversational

2006-05-23 Thread mirko27
This is the code>


  | package ee.digizone.ejb;
  | 
  | import java.io.Serializable;
  | import java.util.List;
  | import java.util.Map;
  | import java.util.TreeMap;
  | 
  | import javax.ejb.Remove;
  | import javax.ejb.Stateful;
  | import javax.persistence.EntityManager;
  | 
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Begin;
  | import org.jboss.seam.annotations.Conversational;
  | import org.jboss.seam.annotations.Create;
  | import org.jboss.seam.annotations.Destroy;
  | import org.jboss.seam.annotations.End;
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Out;
  | import org.jboss.seam.annotations.RequestParameter;
  | import org.jboss.seam.annotations.Scope;
  | 
  | 
  | import ee.digizone.entity.Category;
  | import org.jboss.logging.Logger;
  | 
  | @Stateful
  | @Name("cateditor")
  | @Conversational(ifNotBegunOutcome="categorys")
  | public class CategoryEditorBean implements CategoryEditor,Serializable {
  | 
  | @In(create=true,value="digizoneDatabase")
  | EntityManager em;
  | 
  | @Out(required=false)
  | @In(required=false)
  | private Category category;
  | 
  | Logger logger = Logger.getLogger(CategoryEditorBean.class);
  | 
  | @RequestParameter
  | String catid;
  | 
  | Map categoryMap;   
  | List   categories;
  | 
  | 
  | public void loadData() {
  | logger.info("Stepped here");
  | categories = em.createQuery("from Category c")
  |  .setHint("org.hibernate.cacheable", true)
  |  .getResultList();
  | Map results = new TreeMap();
  |
  | for (Category category: categories) {
  |results.put(category.getName(),category);
  | }
  |
  | categoryMap = results;
  | }
  | 
  | public void create() {
  | em.persist(category);
  | }
  | public void save() {
  | em.refresh(category);
  | }
  | @Begin(join=true)
  | public void selectCreate() {
  | category = new Category();
  | 
logger.info(em.find(Category.class,Integer.parseInt(catid)).getName());
  | category.setHead(em.find(Category.class,Integer.parseInt(catid)));
  | 
  | }
  | @Begin(join=true)
  | public void selectModify() {
  | category = em.find(Category.class,catid);
  | }
  | 
  | @End
  | public String delete() {
  | category  = em.find(Category.class,catid);
  | em.remove(category);
  | return null;
  | }
  | 
  | public Map getCategories() {
  | return categoryMap;
  | }
  | public Category getCategory() {
  | return this.category;
  | }
  | 
  | @Destroy @Remove
  | public void destroy() {}
  | }
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Good practice???

2006-05-23 Thread babuchelat
I want to restrict no of elements in a Region. As far as I know 
we can only control no of nodes in one region ( Am I missing some thing here?)

So am planning to keep each element as separate node to control element count 
like

LRUPolicyTest.java:

 String rootStr = "/test/testdata";

 for (int i = 0; i < 10; i++)
 {
String str = rootStr + i;
Fqn fqn = Fqn.fromString(str);
try
{
   cache_.put(fqn, str, str);
} catch (Exception e)
{
   fail("Failed to insert data" + e);
   e.printStackTrace();
}
 }

Am not sure whether this is the right approach to restrict the elements count?
Can someone please verify this approach? Whats the performance overhead 
involved in this approach?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Eclipse core commands

2006-05-23 Thread kukeltje
http://www.catb.org/~esr/faqs/smart-questions.html

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Standalone client for JBoss hosted Web Service [using JBossW

2006-05-23 Thread vink
hello,

I'm using JBoss 4.0.4.GA & trying to deploy an ejb as an web service which was 
done.

But, now I want to communicate with that web service as a client which is not 
deployed on JBoss. How can I do this?

Does JBossWS provides support for this.
Is there any sample available to excercise it?

Looking forward to suggestions..

regards

Vinay


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Standalone client for JBoss hosted Web Service [using JB

2006-05-23 Thread Sonal Raj
Yes,

You can have a DII (Dynamic Invocation Interface) client or Static stub 
generated client .

'Jboss Getting started' is a good documentation for this,
http://docs.jboss.org/jbossas/getting_started/v4/html/ws.html#d0e1467

--
Sonal

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - XA recovery in JBossMQ

2006-05-23 Thread n9086822
Hello,

I noticed on the JBossTS forum the following posting:

[url]http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83316
[/url]

This posting is off-topic in the JBossTS forum and as such won't get a 
response. 

I would also like an answer to this query, can we discuss it here please?

Thanks,

Paul.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XA recovery in JBossMQ

2006-05-23 Thread n9086822
To make things easier, here is the origional posting:

anonymous wrote : In order to get proper crash recovery, I was advised to use 
JBoss Transactions in place of the built in JBoss transaction manager. But a 
colleague pointed out to me that the recover() method in SpyXAResource.java 
returns an empty list of xids.
  | 
  | public Xid[] recover(int arg1) throws XAException
  | {
  | if (log.isTraceEnabled())
  | log.trace("Recover arg1=" + arg1 + " " + this);
  | 
  | return new Xid[0];
  | }
  | 
  | Doesn't this mean that MQ will forget about any transactions that were left 
in the prepared state when a crash occurs? Will JBoss Transactions buy me 
anything. Our transactions span MQ (backed by Oracle) and Hibernate (also 
backed by Oracle).
  | 
  | Thanks 

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Any possibility to invoke EJB3 from 1.4 client?

2006-05-23 Thread silbunn
Presenly I solved this issue with 2.x session bean that acts as a proxy for any 
EJB3 beans. However I would really prefer a proper solution/support for this 
case...

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Complex types mapping

2006-05-23 Thread beep_beep
I did not find how to map complex types in new GA version of JBossWS..
Need to use annotations?
some mapping xml?
Please help!

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: structure of rolesQuery

2006-05-23 Thread yogendrarampuria
I would like the tomcat server to refer the auth policy (bound to some jndi 
name) defined in jboss.
I know that the jndi name is java:/jaas/ making it inaccessible from out 
side. what could be done?

one idea that i have is to write a login module(JAAS) and make sql query to the 
datasource same as being used by the jboss authentication policy.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - PersistenceUnitInfo.getNewTempClassLoader() is null.

2006-05-23 Thread armita
I am getting  this warning while deploying my aplication:

  | 2006-05-23 16:19:31,507 WARN  [org.hibernate.ejb.Ejb3Configuration] 
Persistence provider caller does not implements the EJB3
  | spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
  | 

Could you tell me what is this and how can I solve it?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Setting properties on injected bean

2006-05-23 Thread ido_tamir
Hello everybody,

I am now successfully using seam with pageflows for wizards :-) very nice.
I would like to be able to parameterize @Factory or what @DataModel returns 
from my bean dependent on the page/pageflow etc.. the bean was instantiated in.

What I am doing now is to have a bean that models the flow that is injected 
with one or more editors that display selectable items.
Depending on the Class the ItemEditor is injected into I would like to set 
members in the ItemEditor that influence the outcome of @DataModel.

Trying something like below results in (I tried to follow the debug output):
INFO  [ConversationInterceptor] no long-running conversation for 
@Conversational bean: itemEditor
then the criteria seem to be set
and afterwards the long running conversation starts, but without criteria.

thank you very much
ido


  | @Conversational
  | class PageFlowBean ...{
  |  
  |   @In (create=true)
  |   private ItemEditor itemEditor;
  | 
  |  @Begin(join=false,pageflow="editFlow1")
  |  public void createItem() {
  |  itemEditor.setCriteria("car");
  |   }   
  | }
  | 
  | @Name("itemEditor")
  | @Scope(ScopeType.CONVERSATION)  
  | @Stateful
  | class ItemEditorBean implements ItemEditor {
  | @PersistenceContext(type=PersistenceContextType.EXTENDED)
  | private  EntityManager em;
  | 
  | String criteria;
  | public void setCriteria(String criteria){
  |  this.criteria = criteria;
  | }
  | 
  | @DataModel(scope=ScopeType.PAGE)
  | private List itemList;
  | @DataModelSelection(value="itemList")
  | private Item item;
  | 
  | ..
  |
  | @SuppressWarnings("unchecked")
  | @Factory(value="itemList")
  | public void loadItems{
  | if( criteria != null){
  | itemList = em.createQuery("from Item as item where item = '"+ 
criteria + "'" );
  | }
  | }  
  | 
  | @Create
  |  public void initialize() {
  | 
  | }
  | 

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread Vandeplas
Is it possible that there is a problem with the spring deployer and jboss 
4.0.4GA. 

It used to work fine with rc2 but now with the GA version is doesn't inject the 
spring beans any more. 
It still deploys the name.spring jar and the  
"org.jboss.spring.factory.NamedXmlApplicationContext" is bound to the correct 
jndi name.

Has something changed or have I overlooked something?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBOSS and JSF Portlets (Sun RI)

2006-05-23 Thread peter.brueckler
Hi all,

 so after following several blogs I came to the solution that using JBoss 
Portal together with Sun Java Studio Creator 2 will only work by droping the 
Sun Faces RI and replace them with the MyFaces, is this correct?

Or is there meanwhile a new status?
@Roy: You started to do the necessary steps for integrate Sun Faces RI. Some 
new results?

THX & BR,
Peter

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Complex types mapping

2006-05-23 Thread Sonal Raj
I just give the mapping file(mapping.xml) for the complex types and it works 
fine for me.

--
Sonal.


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Where is the j2eetutorial14 directory?

2006-05-23 Thread stefarg
Thanks a million for that, I think I'm back on track now.  It seems that I had 
the wrong tutorial zip file from the java.sun.com website.

Thanks again,
Stef

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Jobss is shutting down

2006-05-23 Thread tekniklas
Same here with 4.0.3SP1. It shuts down like this:


  | 2006-05-23 04:50:53,849 DEBUG 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified 
to shutdown
  | 

Can you show us why?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Transition out of pageflow

2006-05-23 Thread ido_tamir
I don't know if I understood you completely.
I am doing something similar and at least the transition to the second flow 
works:
pageflow1 -> callenge.jsf -> pageflow2
the bean responsible for pageflow2 is injected from session scope with an 
entity that is outjected from a bean responsible for pageflow1.
Maybe there is a more elegant way to insert a property into the bean 
responsible for pageflow2.

pageflow1 ends with challenge.jsf.


  | 
  |
  |
  | 
  | 

I don't know if your pageflow code is the result of bug hunting,
but maybe it simply lacks:

  |  
  |   
  |
  |
  | 


best wishes
ido

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Complex types mapping

2006-05-23 Thread beep_beep
Sonal,
Ok, thanks.
But what serializer you have used?
could you, please send youe example xml?
Do you use axis BeanSerializerFactory or other?

It seems to me Jboss must have somthing different instead axis...




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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Understanding @Conversational

2006-05-23 Thread ido_tamir
And you do have a navigation rule defined for categorys?

best wishes 
ido

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Deployment of seam application fails on ejb-jar.xml

2006-05-23 Thread MmarcoM
hi all,
 i tried to write a very simple jboss-seam application.. 
i followed (almost copied) hte jboss-registration bean, and 
i included in my ejb.jar file the followign ejb-jar.xml


   
  
 *
 
org.jboss.seam.ejb.SeamInterceptor
  
   



and when i have deployed my .ear into jboss4.0.4.GA i got the following 
exception

13:35:07,750 ERROR [MainDeployer] Could not create deployment: file:/D:/Sw/jboss
-4.0.4.GA/server/default/tmp/deploy/tmp39483jboss-seam-test-1.0.ear-contents/ejb
3-app-1.0-SNAPSHOT.jar
org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right
 xml schema or define a valid DOCTYPE!
at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet
aData.java:339)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:541)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
rServiceMBeanSupport.java:238)
at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java
:99)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
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 $Proxy42.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
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 $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.

[JBoss-user] [JBoss Seam] - Re: Understanding @Conversational

2006-05-23 Thread mirko27
Yes I do, in faces-config like this:

categorys
/haldus/categorys.xhtml



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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: return/pass JavaBean ?

2006-05-23 Thread burrsutter
I'm working on an example for my own purposes. Perhaps we can work together...

I'm working on the Service side for now here is my attempt at returning a 
JavaBean/POJO as well as a List/collection of those POJOs 
Note: this isn't currently working but might help us move in the same direction:

@WebService(name = "POJOService", 
  | 
targetNamespace="http://com.burrsutter.jbossws/pojoservice";)@SOAPBinding(style 
= SOAPBinding.Style.RPC)
  | public class POJOService {
  |@WebMethod(operationName="GetPersonByID")
  |public Person getPerson(String id)
  |{
  |   System.out.println("Looking for " + id);
  |   Person somebody = new Person();
  |   somebody.setName("Burr Sutter");
  |   somebody.setAge(24);
  |   somebody.setBirthDate(new java.util.Date());
  |   return somebody;
  |}
  |@WebMethod (operationName="GetAllPeople")
  |public List getPeople() {
  |   List results = new ArrayList();
  |   Person a = new Person();
  |   a.setName("Burr Sutter");
  |   a.setAge(24);
  |   a.setBirthDate(new java.util.Date());
  |   results.add(a);
  |   Person b = new Person();
  |   b.setName("Thomas Diesler");
  |   b.setAge(23);
  |   b.setBirthDate(new java.util.Date());
  |   results.add(b);
  |   return results;
  |}
  | }
What do you think?

Burr
[EMAIL PROTECTED]

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Complex types mapping

2006-05-23 Thread Sonal Raj
In case of the DII(Dynamic Invocation Client) there is no need of any 
serializer,Usually the mapping.xml location is given.Here is how the service is 
created,

ServiceFactoryImpl serviceFactory = (ServiceFactoryImpl) 
ServiceFactory.newInstance();
Service service = serviceFactory.createService(wsdlURL, 
mappingURL,null, SERVICE_NAME, null);

But if you want the static client then the stubs(serializer and deserializer) 
can be generate using the wscompile tool.

--
Sonal

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - seam do no tdestroy conversation context

2006-05-23 Thread armita
I noticed that seam ( CVs version) do not destroy my  conversation context. I 
can see the conversations in the debug page after the timeout expires. Also 
trying to browse the debug page gives me this error message:

  | java.lang.IllegalStateException: No active application scope
  | at org.jboss.seam.core.Init.instance(Init.java:90)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:69)
  | at 
org.jboss.seam.jsf.SeamTransactionManagedPersistencePhaseListener.afterPhase(SeamTransactionManagedPersistencePhaseListener.java:65)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Can't use EJB3 MDB to retrieve messages one by one.

2006-05-23 Thread ManneF
Did you figure out why you got this message, because I'm getting the exact same 
problem with an MDB on 4.0.4RC1.

Looks like a bug in the SaxJBossXBParser, because this is obviously no session 
EJB. Is this a known issue?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Content-Transfer-Encoding for Attachment.

2006-05-23 Thread jacques.militello
Hello,

I''m trying to set the Content-Transfer-Encoding for a soap attachment to 
base64. I have noticed (in the class 
org.jboss.ws.soap.attachment.MultipartRelatedEncoder) that the code forced to 
set to binary :


  | protected void addAttachmentParts(MimeMultipart multipart)
  | throws SOAPException, MessagingException {
  | 
  | mimePart.setHeader("Content-Transfer-Encoding", "binary");
  | 
  | }
  | 

I have changed this code to 

  | protected void addAttachmentParts(MimeMultipart multipart)
  | throws SOAPException, MessagingException {
  | 
  | if(mimePart.getHeader("Content-Transfer-Encoding") == null)
  | mimePart.setHeader("Content-Transfer-Encoding", 
"binary");
  | else
  | mimePart.setHeader("Content-Transfer-Encoding", 
mimePart.getHeader("Content-Transfer-Encoding")[0]);
  | 
  | }
  | [/code]
  | 
  | is it right ?
  | 
  | Cheers
  | 

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: seam do no tdestroy conversation context

2006-05-23 Thread mirko27
If your using myfaces 1.1.3 then change myfaces bug flag to false in 
build.properties and if not then to true

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Problem while performing

2006-05-23 Thread paskal_sanil
Hi,

I am trying to deploy a simple java application consisting of  a Java class 
and a servlet. I created and defined the "web.xml". But when i try to run "Run 
Packaging" it says "Could not find the main class. Program exits". What could 
be the problem? 

Even if i add a main function (just for checking though), it seems to show the 
same error.

 Please help.

thanks in advance,
paskal

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Re: Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread alesj
What's the exception (it should be there I believe)?

It's possible that some ejb3 dependency failed - since ejb3 stuff changes a lot.

If you give me exact problem, I'll try to bild you a new Spring deployer budle.

Rgds, Ales

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - RPC/Encoded support

2006-05-23 Thread forkbomb
I understand that JBossWS is now installed as the default JAX-RPC stack in 
JBoss 4.0.4. I have seen several postings that RPC/Encoded web services are not 
supported in JBossWS. According to the JAX-RPC 1.1 spec: anonymous wrote : The 
JAX-RPC specification requires support for both encoded and literal 
representations of a SOAP message representing an RPC call or response. How can 
you replace the default JAX-RPC stack with one that removes functionality 
required by the specification? We both publish and consume RPC/Encoded web 
services with 3rd parties, and are unable to upgrade to JBoss 4.0.4, and there 
is basically no migration path. Our only option is to downgrade to ws4ee. I 
honestly don't care about the Basic Profile, which is not a J2EE spec; if you 
want to claim to be a J2EE application server, you need to support the J2EE 
specification. Are there any plans to fully support the JAX-RPC spec in JBossWS?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: problem 'timing out' JAAS jboss login

2006-05-23 Thread j2ee_junkie
afjochnick,

Every request (for a secured resource) to the JBoss server (even from the 
Tomcat server) needs to contain the username and password.  There is no 
http-like session.  What should happen is that the username and password is 
cached in JBossSX so each request is checked against the cache version versus 
always invoking the login process (which in your case means accessing your LDAP 
server.)  So if you are not seeing this behavior some things to check are...

1) the cache timeout settings for your security manager 

2) enable TRACE logging in JBossSX to see what the principal being check is as 
well as that the authentication cache contains.

3) you can also view the contents of the authentication cache for the security 
domain using the jmx-console (jboss.security:service=JaasSecurityManager)

hope this helps, cgriffith



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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Can't use EJB3 MDB to retrieve messages one by one.

2006-05-23 Thread bitl
"ManneF" wrote : Did you figure out why you got this message, because I'm 
getting the exact same problem with an MDB on 4.0.4RC1.
  | 
  | Looks like a bug in the SaxJBossXBParser, because this is obviously no 
session EJB. Is this a known issue?

Not yet.
Just have no time to dig it.
Currently I'm using ugly solution to synchronize onMessage method on static 
object.
Thus I no need to reprogram message reading but have something close to what I 
need.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss Rules

2006-05-23 Thread queffere
Hi everyone,
I'm trying to install JBoss Rules and i followed JBoss documentation, but 
nothing happen as it should. So I'm looking for someone who knows more about it.
First I installed Maven 2.0, which is not really hard to install, but i tried 
to compile the following files :
  - drools-compiler
  - drools-core
  - drools-ide
  - drools-jsr94
So I used the famous MS-DOS command "mvn install" and everything seems working, 
but instead having "BUILD SUCCESS" at the end, I've got "BUILD FAILURE". And 
apparently all classes are up to date and i just downloaded them yesterday.
After that, I tried to generate the documentation through Ant. But I've got the 
same problem as Maven "BUILD FAILED".
And finally i kept going and I tried to generate the eclipse plugin... And i 
let you guess what happened... Eclipse can't find org.drools.ide_0.0.0...
So after 3 days, I'm a bit desperate.
If someone has any idea or more informations about JBoss Rules installation, 
that's will be great and helpfull. 
If you need more details just let me know.
If anyone knows where i can find another forum dedicated to JBoss Rules and its 
installation, I'll be really thanksfull.
Thanks for your help.
Régis

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Transition out of pageflow

2006-05-23 Thread petemuir
Ok, I'll try to explain better ;)

I want to do pageflow -> decision -> JSF outcome (dependent on user selected 
option from list).

You can get around it by entering each possible outcome from the decison as a 
page:


  | 
  | 
  |   
  |  
  |  
  | 
  | 
  | 
  |
  |
  | 
  | 
  |
  |
  | 
  | 
  |
  |
  | 
  | 

But thats pretty ugly and requires you to remember to update each pageflow when 
changing a outcome/viewid mapping.

My problem is that jPDL transitions don't accept JSF outcomes as valid 'to' 
targets (AFAICT) - I think its a feature that should be added to Seam.  I'm 
going to work on it next and then I'll see if Gavin will accept it ;)

Unless you've somehow managed to move the 'decison' about where to go next to 
your challenge.jsf page?

Let me know if I'm not clear here!

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: PersistenceUnitInfo.getNewTempClassLoader() is null.

2006-05-23 Thread sunilbabu
I have the same problem and I don't know how to fix it.

Chek this post
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83204



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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: exception=java.io.OptionalDataException when running the

2006-05-23 Thread claudiobosticco
Same here, JBoss 4.0.4.GA, Windows XP

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ DatabaseServerLoginModule

2006-05-23 Thread j2ee_junkie
Thanks yogi,

I will make one small adjustment to your last statement.  The second column 
must be a constant value of 'Roles' for all the roles you want JBoss to use for 
container managed security.  However, there is no restrictions other than that. 
 So you could potentially have more than one role group.  The key is that those 
would not be used by JBoss.  I am not sure if you could use any roles not 
having a role group name of 'Roles' elsewhere in your app.

enjoy, cgriffith

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - LDAP users unable to login with case-insensitive login names

2006-05-23 Thread infa_bangalore
Hi,
I am using JBoss LDAP authentication module for LDAP authentication for my 
application. If i enter the username with incorrect case , i am not able to 
authenticate...The issue here is that JBoss authentication passes but it 
returns the user name entered and not the retrieved user name from the 
repository. 

In Weblogic we have some thing called as 
Go to Security > Realms > Providers > Authentication 
Click the LDAP authenticator. Click Configuration > Details.
Select "Use Retrieved User Name As Principal" checkbox.
If we check this box it returns the Reteived user name as principal and 
authentication passes successfully...

Do we have the same in Jboss 3.2.1 


Thanks in Advance
Debra 



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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Deployment of seam application fails on ejb-jar.xml

2006-05-23 Thread MmarcoM
hello
 i think i have found problem.. it has to do with ejb3 libraries included in 
4.0.4.GA
i'll check it and come back if i am still in trouble

thx
 marco

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Re: Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread Vandeplas
There isn't realy an exception I get a null pointer when i use the bean because 
it isn't injected.


  | 15:19:38,946 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 15:19:38,946 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200
  | 605151000)
  | 15:19:38,956 INFO  [Server] Home Dir: C:\jboss-4.0.4.GA
  | 15:19:38,956 INFO  [Server] Home URL: file:/C:/jboss-4.0.4.GA/
  | 15:19:38,956 INFO  [Server] Patch URL: null
  | 15:19:38,956 INFO  [Server] Server Name: default
  | 15:19:38,956 INFO  [Server] Server Home Dir: 
C:\jboss-4.0.4.GA\server\default
  | 15:19:38,956 INFO  [Server] Server Home URL: 
file:/C:/jboss-4.0.4.GA/server/default/
  | 15:19:38,966 INFO  [Server] Server Log Dir: 
C:\jboss-4.0.4.GA\server\default\log
  | 15:19:38,966 INFO  [Server] Server Temp Dir: 
C:\jboss-4.0.4.GA\server\default\tmp
  | 15:19:38,966 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 15:19:39,467 INFO  [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
  | 15:19:39,467 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_06-b05,Sun Microsystems In
  | c.
  | 15:19:39,477 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 15:19:40,048 INFO  [Server] Core system initialized
  | 15:19:43,453 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 15:20:39,013 WARN  [Ejb3Configuration] Persistence provider caller does not 
implements the EJB3 spec
  |  correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
  | 15:20:47,595 WARN  [Digester] 
[NavigationRuleRule]{faces-config/navigation-rule} Merge(/generic/Item
  | UserView.jsp)
  | 15:20:50,399 ERROR [ExceptionFilter] INIT Filter
  | 15:21:01,495 WARN  [MethodInvokingJobDetailFactoryBean$MethodInvokingJob] 
Could not invoke method 'r
  | un' on target object [RssGeneratorFeederTaskPandoraImpl]
  | javax.ejb.EJBTransactionRolledbackException: java.lang.NullPointerException
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor
  | .java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.jav
  | a:78)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:1
  | 06)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:225)
  | at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:55)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
  | at $Proxy128.createRSSFeed(Unknown Source)
  | at 
be.jcs.pandora.rss.RssGeneratorFeederTaskPandoraImpl.createFeedForCategory(RssGeneratorFe
  | ederTaskPandoraImpl.java:86)
  | at 
be.jcs.pandora.rss.RssGeneratorFeederTaskPandoraImpl.run(RssGeneratorFeederTaskPandoraImp
  | l.java:73)
  | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor
  | .java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedE
  | ntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNex

[JBoss-user] [JBossWS] - Re: RPC/Encoded support

2006-05-23 Thread Dust_Puppy
i have a similar question
i need to use a 3 party rpc/encoded webservice, so this cant be done in jbossws 
? 
what is your suggested solution to this problem ?

/Dust

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Deployment of seam application fails on ejb-jar.xml

2006-05-23 Thread [EMAIL PROTECTED]
I don't know what's wrong, i've seen people complaining about this on the EJB3 
forum as well, i didn't face that problem with the booking example.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Unable to locate UserTransaction in 4.0.4GA

2006-05-23 Thread smatijasevic
After migration from 4.0.4RC1 to 4.0.4GA I get TransactionException for simple 
entityManager.createQuery("FROM Foo.class") in a stateless session bean.

Here is the stack trace:
org.hibernate.TransactionException: Unable to locate UserTransaction to check 
status
  | at 
org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:86)
  | at 
org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:180)
  | at 
org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:158)
  | at 
org.hibernate.impl.SessionImpl.checkTransactionSynchStatus(SessionImpl.java:1850)
  | at org.hibernate.impl.SessionImpl.isOpen(SessionImpl.java:322)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:407)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.postInit(AbstractEntityManagerImpl.java:70)
  | at org.hibernate.ejb.EntityManagerImpl.(EntityManagerImpl.java:36)
  | at 
org.hibernate.ejb.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:37)
  | ...

Please advise!
Thanks, Stjepan


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Re: Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread alesj
Did you fix ejb3-annotations-aop.xml?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Re: Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread alesj
Or are you using Interceptors?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Remoting] - Re: ?dcm4jboss

2006-05-23 Thread [EMAIL PROTECTED]
This is the wrong forum to post to.  Not even sure which one would be correct 
(never heard of dcm4jboss).

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: change context path

2006-05-23 Thread poyge394
so i most compile the portal from the src to change contex path ? cant i change 
the context path in a binary version ?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: PersistenceUnitInfo.getNewTempClassLoader() is null.

2006-05-23 Thread [EMAIL PROTECTED]
this is not implemented yet.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - [newbie] ant file needed

2006-05-23 Thread adamzrk
Hi
  
  I have downloaded JbossWS examples and build them. My question is: can anyone 
show me ant file which build only one web service and deploy it on jboss - 
something like ant files in ejb3 tutorial from jboss - I am not ant expert - 
the ones in ejb tutorial were great for me and I wish i had something like them 
for JbossWS.
Another question is - do I have to write wsdl file myself - would java2wsdl 
from axis be helpful? Which files i have to write to deploy ws? 

Thanks in advance,
Adam

sorry for my English ;]


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Re: Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread Vandeplas
It works great now.
I forgot the 


  |  
  | 

in the ejb3-interceptors-aop.xml.

Sorry that I wasted your time with this stupid mistake.


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: change context path

2006-05-23 Thread [EMAIL PROTECTED]
I was answering shagy69 who is obviously using the sources...

For the binary version, just edit that file:
jboss-portal.sar/portal-server.war/WEB-INF/jboss-web.xml

Change context-root to whatever you want. 
See the other thread in that forum if you have difficulties.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB3 Facade Design

2006-05-23 Thread echon
Hi,

i am currently working on something like a portal-system. One of the
demands is a facade to the persistence layer, because the use cases of
the modules (portlets) can not be foreknown. I also want to give out peristent 
(NOT detached) EntityBean (POJOs) i could work
without LazyExceptions. Because of this i cannot use (unfortunatelly) Seam, 
because Seam uses Statefull SessionBeans for each UseCase and so it is not 
possible to implemt my demands with Seam.

In caveatemptor (Hibernate) i found a nice Pattern for EJB3.0 DAOs which 
i really like. In my case i anotate the for example UserDAOImpl with @Stateful 
and give the bean an ExtendedEntityManager to have long Transactions and so 
give the controll when to start (loockup Bean) and stop (call a DAO method with 
@Remove) the transaction over to the web-app. 

This works fine, but creates a very unlovely problem i want to demonstrate on 
an example:



  | // Get a UserDAO and GroupDAO Statefully SessionBeans
  | UserDAO udao=DAOFactory.getUserDAO();
  | GroupDAO gdao=DAOFactory.getGroupDAO();
  | 
  | .. make changes to some changes to persistent Group Entities 
  | .. make changes to some changes to persistent User Entities 
  | 
  | udao.remove();
  | gdao.remove();
  | 

Problem here is that udao and gdao have their own EntityManager and
their own Transation so each remove() is atomar, but both remove() are not 
atomar, because they do not share the EntityManager.

A really cool way would be to bind the EntityManger (and the Transaction 
behind) to something like a Context as used in Seam. The conclusion of this 
would be something like a Manager for the EntityManager and share the 
EntityManager for DAOs in the same Context.

Is this a good idea and how could this be implemented?

Regards

Peter


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: structure of rolesQuery

2006-05-23 Thread j2ee_junkie
Yogi,

In the past, I may have thought this was possible, but now I do not think there 
is any means already to do that.  I do know that if you could access JBoss's 
mbean server, you could get the SecurityMangerServiceMBean and defer 
authentication to it.  Sorry, I could not be of more help as I have never tried 
this.  I hope someone else in this forum could add to this.

cgriffith

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Seam component hides managed bean

2006-05-23 Thread g.tomassoni
What does it mean?

I got many of this, in example:

2006-05-23 15:55:59,695 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2006-05-23 15:55:59,695 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2006-05-23 15:55:59,695 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: cp
  | 2006-05-23 15:55:59,695 DEBUG [org.jboss.seam.Component] seam component not 
found: cp
  | 2006-05-23 15:55:59,695 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: cp
  | 2006-05-23 15:55:59,695 DEBUG [org.jboss.seam.Component] seam component not 
found: cp
  | 2006-05-23 15:55:59,696 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2006-05-23 15:55:59,696 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2006-05-23 15:55:59,696 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: idCat
  | 2006-05-23 15:55:59,696 DEBUG [org.jboss.seam.contexts.Contexts] found in 
event context: idCat
  | 2006-05-23 15:55:59,696 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: idCat
  | 2006-05-23 15:55:59,696 DEBUG [org.jboss.seam.contexts.Contexts] found in 
event context: idCat
  | 2006-05-23 15:55:59,697 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to seam component
  | 2006-05-23 15:55:59,697 WARN  [org.jboss.seam.jsf.SeamVariableResolver] 
Seam component hides managed bean with same name
  | 2006-05-23 15:55:59,697 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to seam component
  | 2006-05-23 15:55:59,698 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: cp
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.Component] seam component not 
found: cp
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: cp
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.Component] seam component not 
found: cp
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: cp
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.Component] seam component not 
found: cp
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: cp
  | 2006-05-23 15:55:59,699 DEBUG [org.jboss.seam.Component] seam component not 
found: cp
  | 

I don't have a seam component named 'cp': it is defined in a jsf file as a 
 var. And 'idCat' is a seam component as a bean with a @Name. Is 
this a managed bean? Why the warning?

Someone knows?

Regards,

giampaolo

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3 Facade Design

2006-05-23 Thread [EMAIL PROTECTED]
I like your idea of a context, post on the seam dev forum about this.  Seems 
there should be a transactional context that you can add/remove things from.

In the meantime, something you might want to think about:

@Stateful
public class MyBean ... {

   @PersistenceContext(unitName="mypu", type=EXTENDED) myPC;

   @EJB AnotherStateful nested;

}

@Stateful
public class AnotherStatefulBean implements AnotherStateful {
   @PersistenceContext(unitName="myPU", type=EXTENDED) myPC;
}



Since MyBean.nested is injected into MyBean these two stateful beans are 
married to eachother and share the same lifecycle and same persistence contexts!

Bill

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Repeating errors in log with session replication

2006-05-23 Thread jvandusen
Here's the snippet.

  
  |   
  |   
  | 
  |   
  |  jboss:service=DefaultPartition
  | 
  | DefaultPartition
  | 
  | ${jboss.bind.address}
  | 
  | 0
  | 
  | 1100
  | 
  | 50
  | 
  | 
  | 230.0.0.4
  | 1102
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  |   
  |  ${jboss.bind.address}
  | 
  |   

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - NullPointer JasperLoader.loadClass

2006-05-23 Thread ryandavid
Environment: Linux RedHat
J2SE 1.4.2_07
JBoss 3.2.3


I have Jboss server in production where it has to work always.
Sometimes I get the following exception calling some jsp of some web 
application (jsp and application are choosen random)

2006-05-23 15:12:02,880 ERROR [org.jboss.web.localhost.Engine] 
StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at 
it.senato.menu.web.ProfilingFilter.doFilter(ProfilingFilter.java:51)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at 
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
   

[JBoss-user] [Beginners Corner] - NullPointerException JasperLoader.loadClass

2006-05-23 Thread ryandavid
 Environment: Linux RedHat
J2SE 1.4.2_07
JBoss 3.2.3


I have Jboss server in production where it has to work always.
Sometimes I get the following exception calling some jsp of some web 
application (jsp and application are choosen random)

2006-05-23 15:12:02,880 ERROR [org.jboss.web.localhost.Engine] 
StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at 
it.senato.menu.web.ProfilingFilter.doFilter(ProfilingFilter.java:51)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at 
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  

[JBoss-user] [JBoss Portal] - Re: change context path

2006-05-23 Thread poyge394
strange
i remove root.war. and when i change it to:
 /
it dont work

if i change it to 
 test
i can access it with:
http://localhost:8080/test

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XA recovery in JBossMQ

2006-05-23 Thread [EMAIL PROTECTED]
Unfortunately the original post is not very useful without the response(s) that 
followed. Interested parties should read all of the original thread.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss webserver port number lookup

2006-05-23 Thread alfredthomas
Hi

Can anyone give me an indication on how to programmatically lookup the JBoss 
web server port number (default 8080) on which JBoss listens for Http 
connections. For instance is there any JBoss API call I can use the get the 
port number?

Regards
Alfred

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: change context path

2006-05-23 Thread IvanLatysh
Make sure that you don't have :
jbossweb-tomcat55.sar/ROOT.war

If you do, remove it.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: change context path

2006-05-23 Thread poyge394
already removed

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - @ManyToOne or @OneToOne using @JoinTable and @Inheritance ca

2006-05-23 Thread ariggz
I have experence a problem while mapping a legacy database when I am attempt to 
use @ManyToOne using @JoinTable and the parent class is declaired with 
@Inheritance(strategy=InheritanceType.JOINED). Here is a simplified version of 
what I am attempting:
@Entity
  | @Inheritance(strategy=InheritanceType.JOINED)
  | @Table(name = "baseclass")
  | public abstract class Baseclass implements java.io.Serializable {
  | 
  | private String internalid;
  | 
  | @Id
  | @Column(name = "INTERNALID", unique = true, nullable = false, 
insertable = true, updatable = true, length = 34)
  | public String getInternalid() {
  | return this.internalid;
  | }
  | public void setInternalid(String internalid) {
  | this.internalid = internalid;
  | }
  | }   
@Entity
  | @Table(name = "parent")
  | public class Parent extends Baseclass
  | {
  | 
  | private String name;
  | 
  | public String getName(){
  | return this.name;
  | }
  | public void setName(String name){
  | this.name = name;
  | }
  | }
@Entity
  | @Table(name = "child")
  | public class Child implements java.io.Serializable {
  | 
  | private String internalid;
  | private String name;
  | private Parent parent;
  | 
  | @Id
  | @Column(name = "INTERNALID", unique = true, nullable = false, 
insertable = true, updatable = true, length = 34)
  | public String getInternalid() {
  | return this.internalid;
  | }
  | public void setInternalid(String internalid) {
  | this.internalid = internalid;
  | }
  | 
  | public String getName(){
  | return this.name;
  | }
  | public void setName(String name){
  | this.name = name;
  | }
  | 
  | @ManyToOne(cascade = {CascadeType.PERSIST, CascadeType.MERGE})
  | @JoinTable(name="hierarchy",
  | joinColumns = @JoinColumn( name="childinternalid"),
  | inverseJoinColumns = @JoinColumn( name="parentinternalid")) 
  | public Parent getParent(){
  | return this.parent;
  | }
  | public void setParent(Parent parent){
  | this.parent = parent;
  | }
  | }

When I try this in JBOSSAS4.0.4GA I receive the following error:

14:24:09,268 ERROR [AssertionFailure] an assertion failure occured (this may 
indicate a bug in Hiber
  | nate, but is more likely due to unsafe use of the session)
  | org.hibernate.AssertionFailure: Table hierarchy not found
  | at 
org.hibernate.persister.entity.JoinedSubclassEntityPersister.getTableId(JoinedSubclassEntityPers
  | ister.java:444)
  | at 
org.hibernate.persister.entity.JoinedSubclassEntityPersister.(JoinedSubclassEntityPersister.java:225)
  | at 
org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:58)
  | at 
org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:223)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631)
  | at 
org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760)
  | at 
org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:3
  | 50)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.
  | java:119)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)
  | 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)
  | 
  | ... 
  | 


If I switch the association to @OneToMany on the parent side there is no error.

I have also experenced this same error using bidirectional @OneToOne with an 
association table where either end is using 
@Inheritance(strategy=InheritanceType.JOINED), and if I make it unidirectional 
on the end without @Inheritance(strategy=InheritanceType.JOINED) it does not 
throw the error.

I'm not sure what I am doing incorrectly.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lis

[JBoss-user] [EJB/JBoss] - Re: @OneToMany using @JoinTable with Joined Inheritance

2006-05-23 Thread ariggz
Sorry I posted in the wrong forum.  I "moved" post to: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83530[/url]

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   4   >