[JBoss-user] [JBoss Portal] - Re: Single Sign on in JBoss Portal 4.0.2

2005-12-28 Thread danial79
"richiewalsh" wrote : Hi,
  | Did you manage to find a solution to this problem.
  | thanks,
  | Richie.

If you manage to find the solution to SSO, please let everybody knows.. :D

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to setup Hibernate 3.1 using Eclipse

2005-12-28 Thread [EMAIL PROTECTED]
Or, in the Hibernate Console perspective:

File > New > Hibernate Console Configuration


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to setup Hibernate 3.1 using Eclipse

2005-12-28 Thread [EMAIL PROTECTED]
In the Hibernate Console perspective, in the Hibernate Configurations view (LHS 
of the screen).

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to setup Hibernate 3.1 using Eclipse

2005-12-28 Thread norhaida
Where to find the Hibernate console configuration dialog?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3, JUnit, Maven 2

2005-12-28 Thread fcrabus
...or has anyone a list of dependencies that is currently needed to run JUnit 
tests? 
...or an idea why I get an NPE here? I've dug a bit in the code to no avail.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Newbie: Verification of Enterprise Beans failed

2005-12-28 Thread the-gtm
Your jdom.jar library must be declared in your application.xml, not in in the 
manifest.


  | 
  | jdom.jar
  | 
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - does the user transaction is shared in clustered environment

2005-12-28 Thread jbaiju
Hi all,

In a clustered enviroment how does the transaction works, the user begins the 
transaction in one server and it is not necessary that the next request in the 
transaction shall come to the same server... how does this works ... please 
explain

thanks in advance 

baiju

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM 3.1 alpha2: Could not deserialize a Serializable va

2005-12-28 Thread priya121083
can u please post u r code

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB QL generates wrong SQL with pagination (MySQL 5.0.16 + J

2005-12-28 Thread DanielYWoo
I have a very simple query with pagination like this

  | Query query = em.createQuery(ql);
  | query.setFirstResult(currentPage * itemsPerPage);//start rows
  | query.setMaxResults(itemsPerPage);//return rows
  | query.setParameter("searchValue", searchValue);//search criteria
  | return query.getResultList();   
  | 
it should genrate a SQL like 

  | select ... from table where ... limit 30, 10
  | 
but it always generates wrong SQL and hence throws out an exception:

  | Caused by: java.sql.SQLException: You have an error in your SQL syntax; 
check the manual that correspondsto your MySQL server version for the right 
syntax to use near 'limit 15 15 customer0_.ID as ID13_, customer0_.address as 
address13_, c
  | ustomer0_' at line 1
  | 
Why the "limit" keyword does not work?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Spring mvc portlet examples not working in JBoss portal

2005-12-28 Thread ervikas
Hi

 I hope u can help me. I am not able to get the jboss portal 2.2 running on the 
jboss AS 4.0.3sp1. I am using the oracle 9i database. I installed the portal 
and the portal-oracle-ds.xml file with the correct ds configuration. But hwen i 
request it from browser through http://localhost:8080/portal i am getting the 
message that "the resource is not available". When i give the URL as 
http://localhost:8080/portal it is displaying the login page.

Can u suggest what's wrong
Any help is greatly appreciated
Thanks in advance

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - composite PK/FK

2005-12-28 Thread danjourno
I am trying to build a entity structure where I have a country table that uses 
ISO 3166 country codes as their PK, and a region table which also uses ISO3166 
codes as a composite PK. For example.. a record in the country_region table 
that refers to New South Wales in Australia will have a primary key of:

country_code_1 = AU (FK value for country table)
region_code = NS


So in summary I have a CountryRegion table that has a many(regions) to 
one(country) relationship with a Country table. The key for the CountryRegion 
table is a composite of the country code and the region code. 

I have referred to the wiki for this but am still a bit stuck on how to make 
this work.

I'll paste my code below.. If anyone could please look over an give me pointers 
as to where I'm going wrong I would be very grateful.

I have a Country entity, a CountryRegion entity, and an embeddable PK object 
called CountryRegion


The CountryRegion entity:

  | import java.io.Serializable;
  | import javax.persistence.EmbeddedId;
  | import javax.persistence.Entity;
  | 
  | import javax.persistence.*;
  | 
  | //import java.util.List;
  | 
  | @Entity
  | @Table(name = "country_region")
  | public class CountryRegion implements Serializable {
  | 
  | java.lang.String name;
  | 
  | java.lang.String description;
  | 
  | CountryRegionPK pk;
  | 
  | public CountryRegion() {
  | }
  | 
  | @EmbeddedId
  | @AttributeOverrides({
  |  @AttributeOverride(name = "regionCode", column = @Column(name = 
"region_code")),
  |  @AttributeOverride(name = "country", column = 
@Column(name="country_code_1"))
  |})
  | public CountryRegionPK getPk() {
  | return pk;
  | }
  | 
  | public void setPk(CountryRegionPK pk) {
  | this.pk = pk;
  | }
  | 
  | @Column(name = "description")
  | public java.lang.String getDescription() {
  | return description;
  | }
  | 
  | public void setDescription(java.lang.String description) {
  | this.description = description;
  | }
  | 
  | @Column(name = "name")
  | public java.lang.String getName() {
  | return name;
  | }
  | 
  | public void setName(java.lang.String name) {
  | this.name = name;
  | }
  | 
  | }
  | 

The Country entity:


  | import java.io.Serializable;
  | 
  | import javax.persistence.*;
  | 
  | @Entity
  | @Table(name="country")
  | public class Country  implements Serializable {
  | 
  | java.lang.String countryCode1;
  | 
  | java.util.List locations;
  | 
  | java.util.List countryRegion;
  | 
  | @Id
  | @Column(name="country_code_1")
  | public java.lang.String getCountryCode1() {
  | return countryCode1;
  | }
  | 
  | public void setCountryCode1(java.lang.String countryCode1) {
  | this.countryCode1 = countryCode1;
  | }
  | 
  | 
  | @OneToMany(fetch=FetchType.LAZY,mappedBy="country")
  | public java.util.List getLocations() {
  | return locations;
  | }
  | 
  | public void setLocations(java.util.List locations) {
  | this.locations = locations;
  | }
  | 
  | @OneToMany(fetch=FetchType.LAZY,mappedBy="country")
  | public java.util.List getCountryRegion() {
  | return countryRegion;
  | }
  | 
  | public void setCountryRegion(java.util.List 
countryRegion) {
  | this.countryRegion = countryRegion;
  | }
  | 
  | 
  | 
  | 
  | }
  | 

The Embedded primary key object:



  | 
  | import javax.persistence.Embeddable;
  | 
  | 
  | @Embeddable
  | public class CountryRegionPK implements java.io.Serializable{
  | 
  | 
  | 
  | private Country country;
  |private String regionCode;
  | 
  |public CountryRegionPK() {
  | super();
  | // TODO Auto-generated constructor stub
  | }
  | 
  |public CountryRegionPK(String regionCode, Country country)
  |{
  |   this.regionCode = regionCode;
  |   this.country = country;
  |}
  | 
  |public Country getCountry()
  |{
  |   return country;
  |}
  | 
  |public void setCountry(Country country)
  |{
  |   this.country = country;
  |}
  | 
  |public String getRegionCode()
  |{
  |   return regionCode;
  |}
  | 
  |public void setRegionCode(String regionCode)
  |{
  |   this.regionCode = regionCode;
  |}
  | 
  |public int hashCode()
  |{
  |   return (int) country.hashCode() + regionCode.hashCode();
  |}
  | 
  |public boolean equals(Object obj)
  |{
  |   if (obj == this) return true;
  |   if (!(obj instanceof CountryRegionPK)) return false;
  |   if (obj == null) return false;
  |   CountryRegionPK pk = (CountryRegionPK) obj;
  |   return pk.country.equals(country) && pk.regionCode.equals(regionCode);
  |}
  | 


An example of a referr

[JBoss-user] [EJB 3.0] - Re: Cancel a Rollback

2005-12-28 Thread redijedi
Again, unfortunately find is not an option because I use native sql. I have 
moved an existance check into my stored proc and it works fine now. It is not 
ideal, but it works.

Thanks

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to setup Hibernate 3.1 using Eclipse

2005-12-28 Thread [EMAIL PROTECTED]
Just put it in *some* lib directory and browse to it in the Hibernate console 
configuration dialog.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - How to setup Hibernate 3.1 using Eclipse

2005-12-28 Thread norhaida
I would like to know the step by step how to setup hibernate 3.1 using Eclipse. 
Actually i'm having a problem on finding a JDBC driver .jar file. Where does i 
have to put the .jar file after that. wheter in the hibernate lib directory or 
lib project directory. http://www.hibernate.org/hib_docs/tools/eclipse/#gen10
http://www.hibernate.org/hib_docs/tools/ant/#gen8
We refer the above url to do the Reverse engineering.I'm actually new user and 
not very familiar with Hibernate. Please guide me!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Reading a properties file from a class deployed in Jboss

2005-12-28 Thread dhanyakairali
How can I read a properties file from a class deployed in Jboss? 
The admin guide says scary things abt the Classloader. 
If all I want to do is read a properties file or some other file thats deployed 
along with my jar what should I do? 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Where can I find the JBOss examples mentioned in the adm

2005-12-28 Thread dhanyakairali
got it. thanks!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Not able to lookup the datasource in jboss

2005-12-28 Thread jkk
Can you help me by sending some sample example about how to lookup datasource?


Thanks in advance
Shrimon

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: install jboss portal

2005-12-28 Thread danial79
"pedrosacosta" wrote : Thanks anders.hedstrom. I've installed jboss portal 
sucessfully.

can you atleast.. provides what anders.hedstrom gave you so that we can see the 
solutions.. tq

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: CMS Service Failed

2005-12-28 Thread pflirae
Thanks Roy, this solved the problem.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to call bean in another ear file in Jboss?

2005-12-28 Thread selpiso
 I can do what as your said. i can put the package just in 1 ear file. But it 
requirement.
 
This is example of one my ear file.  
Now i have show you my deployment desciptor;
jboss.xml





 honda
 honda



 

ejb-jar.xml

http://java.sun.com/dtd/ejb-jar_2_0.dtd";>

 
 Generated by XDoclet




honda
honda
honda
com.Honda.honda.HondaHome
com.Honda.honda.Honda
com.Honda.honda.HondaBean
Stateless
Container



 
 
   


///
May be i can modify my deployment descriptor to import bean from another ear, 
But I dont know.

How to can I call another ear-file? Can you show me the solution?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Urgent help

2005-12-28 Thread defkewl
You just need to install JBoss/Tomcat on your PC and deploy it.

Still I don't understand what you're trying to achieve.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Eviction for keys

2005-12-28 Thread [EMAIL PROTECTED]
I think using just one node in treecache kind of defeats the purpose. you 
should consider putting it under different nodes. Concurrency will be much 
better that way. If you really cant, consider hash your keys to dividie them 
into different buckets, for example.

Cuurrently we don't support key based eviction, although there is a jira issue 
for it.

-Ben

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] [JBossCache] - Re: XML Schema for JBoss Cache xml configuration file

2005-12-28 Thread [EMAIL PROTECTED]
No, we don't have one now. But it'd be nice to have. Any volunteer? :-)

-Ben

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JDBC persistance with pojo cache and performance issue

2005-12-28 Thread [EMAIL PROTECTED]
Do you have the Jira issue at hand? I can't seem to locate it under JBCache 
jira. :-)

-ben

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-12-28 Thread vmarco
Ok, so it seems I need a NavigationPortlet to provide the tabs.  How do I add 
this.  I tried inside a window, but that doesn't look right.  Can I add it at 
the portal level of the descriptor?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Cancel a Rollback

2005-12-28 Thread [EMAIL PROTECTED]
that won't work either as you won't have the same persistence context and the 
returned entity won't be managed anymore.

I fhink you need to rearchitect your API as suggested above.

BTW, your scenario is exactly the reason why the spec has

find() which returns null
and getReference() which throws an ENFE.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2005-12-28 Thread enazareno
I am also thinking about this problem. I hope somebody will have a good 
solution for this. I will try to keep watch on this issue.

Regards,

Elmo



   

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Feedback requested

2005-12-28 Thread [EMAIL PROTECTED]
Actually we are already working on this stuff. (It was part of the original 
vision of Seam that we mapped out almost a year ago. Christian Bauer was 
especially keen on this stuff, for several years.)

jBPM already runs in pure in-memory mode, all we really need to do is write the 
JSF navigation handler.

The language looks like this:

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


So the idea is that you will use the same workflow language for orchestrating:

(1) the persistent, multi-user, longrunning PROCESS 
(2) the pure-in-memory, single-user CONVERSATION

Yes, I would like to make this more pluggable in future. You should be able to 
integrate any workflow engine you like into Seam.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Cancel a Rollback

2005-12-28 Thread redijedi
That's unfortunate for me. How can you use find with a native SQL query? I 
think that using @ApplicationException(rollback=false) will not be so great for 
me because the Exception I am raising should rollback transactions under 
certain circumstances. I know I could create two different exceptions, but that 
doesn't feel right. 

If I demarcate the first operation as requiring a new transaction, thereby 
nesting the transaction, and then it throws an exception that I catch will the 
parent trans rollback?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: When will JBoss 4.0.4 be released

2005-12-28 Thread gfzhang
JBAS-2483, jboss.system:type=Server (exit|halt) 10 doesn't restart jboss

We are using JBoss 3.2.5. We plan to base our application on JBoss 4 next 
release.

thank you.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJBException vs. RemoteException

2005-12-28 Thread redijedi
This does help. I will use the annotation specified. Thank you.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to design multiple sub-processes

2005-12-28 Thread enazareno
Hi Britt,

anonymous wrote : 
  | Hmm...perhaps you can simply not use sub processes at all

 I seem to like your first suggestion that each candidate should be a 
subprocess. Anyway, I was thinking long about it last night and I thought the 
key for it to work was to make child tokens to bind to the subprocess or 
probably create task instances to bind the subprocess. 

I looked up the posts regarding how to create child tokens but it seems the 
wiki custom fork was already very outdated. I also checked the manual on 
leaving transitions (decision) also it was outdated. Last resort was to dig up 
the code and do trial and error. I seem to come up with a better solution. The 
new solution has much natural design bec. it has the proper connections and 
transitions unlike the first. Workarounds are very hard to remember but quite 
easy to forget. ;) 

Here is my new process defintion. The fork-join is quite important so that 
the sub processes will know where they will meet when they end.

 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | candidate-process
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | print( "ENTERING SUBPROCESS ... TOKEN: " + 
token.getName() );
  | 
  | 
  | print( "ENDING SUBPROCESS ... TOKEN: " + 
token.getName() );
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Here are the custom actions. I don't know if I've done this correctly.


  | public class CreateNewToken implements ActionHandler {
  | 
  | String leavename;
  | 
  | public void execute(ExecutionContext executionContext) throws Exception 
{
  | Token childToken = new Token( executionContext.getToken(), "TK" 
+ (new UID()) );
  | ExecutionContext newctx = new ExecutionContext(childToken);
  | executionContext.getTransitionSource().leave(newctx, leavename 
);
  | }
  | 
  | }
  | 

In order for it to work, you must provide a token name. I found about it the 
hard way. I think we can use the id here of the candidate, the name must be 
unique. 

Here is the sub process clean up. 

 
  | public class SubProcessKiller implements ActionHandler {
  | 
  | public void execute(ExecutionContext executionContext) throws Exception 
{
  | System.out.println( "START THE STOPPING PROCESS...");
  | int i = 0;
  | Map m = 
executionContext.getProcessInstance().getRootToken().getActiveChildren();
  | System.out.println( "NO. OF ACTIVE CHILDREN " + m.size() );
  | Iterator iter = m.values().iterator();
  | while( iter.hasNext() ) {
  | Token t = (Token)iter.next();
  | System.out.println( "end token name " + t.getName() );
  | if( t.getSubProcessInstance()!=null) {
  | System.out.println( "ending subprocess");
  | t.getSubProcessInstance().end();
  | i++;
  | }   
  | }   
  | System.out.println( "SUBPROCESSES CLEANED UP. NO. OF SUBPROCESS 
CLOSED " + i );
  | }
  | 
  | }
  | 

Anyway all seems to work this time and my design requirements are satisfied. I 
seem to prefer declarative programming as much as possible. Its 
self-documenting and we do not have to dig up code to remember things. 

If you or anybody has a much better design regarding handling of multiple 
subprocesses, I'd very much like to hear it.  Thanks a lot for your help and 
have a happy new year. :)

Regards,

Elmo



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Feedback requested

2005-12-28 Thread rdewell
Regarding conversations, JBPM, workflow annotations, etc..

While appreciate that Seam is (hopefully just initially) standardizing on JBPM 
for most workflow functionality, what I would LOVE to see is Seam also support 
a more lightweight workflow engine that is geared towards a non-persistent 
workflow -- workflow conversations that are only dealing with a web-RUNTIME 
lifespan.

I see a couple of opportunities here:

1) Perhaps this "engine" could be implemented directly in Seam itself.  The 
excellently flexible yet simple Spring WebFlow would be a natural design 
starting point.

http://opensource.atlassian.com/confluence/spring/display/WEBFLOW/Home

2) Abstract Seam's conversation state / transition annotations into something 
that is pluggable.  Then, we can plug in our own conversation handling as 
service providers.

3) Both 1 and 2...

A little off topic, but perhaps something to keep in mind while working on JBPM 
integration, if you're not already.

Ryan



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Feedback requested

2005-12-28 Thread [EMAIL PROTECTED]
anonymous wrote : First, it looks like the transition object is only @In, not 
@In @Out. But it's pretty clear that myActionListener is trying to communicate 
some state outwards to the conversation. So why not @Out also? Or is @Out only 
for cases where new contextual objects might be outjected (as opposed to just 
side-effecting existing ones)?

Right, this is a byvalue/byreference question. You can change the state of an 
@In-jected object by calling its method. This is not side-effecty. It is how 
any variable in Java works :-)

anonymous wrote : Second, is it assumed that there is only one unique @In 
Transition field in the bean? Is that always a good assumption? It seems a 
little fragile.

By definition, there is a unique instance of the Seam component named 
"transition" in your conversation context. It don't matter how many times you 
inject it, it will always be the same one. Until you switch conversations, that 
is ;-)



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Exception in UsersRolesLoginModule when jboss installed

2005-12-28 Thread jncoign
Phillip, 

Did you ever find a solution to this problem. I am having the same problem and 
would prefer not to upgrade as out JBoss install is part of Quality Center and 
I would like to stay on the supported platform of 3.2.5.

Thanks,
Jon

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Securing web-console => login failure

2005-12-28 Thread jncoign
I still cannot seem to get this working. My file names are unique and I have 
even tried renaming them and fully qualify the path. I have read in a couple of 
places that there is a problem with 3.2.5 loading the Properties files if there 
is a space in the installation folder. Have you found this to be the case? Are 
there any workarounds to this without having to upgrade JBoss. Our installation 
is part of our quality center install and I would prefer to not have to upgrade 
JBoss so we can stay on a supported platform. 

Thanks,
Jon

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Feedback requested

2005-12-28 Thread RobJellinghaus
Hm.  The second version confuses me in two ways.  First, you have this:
@In Transition transition;
  | 
  | @EndTask
  | public String myActionListener() {
  |transition.setName("approved");
  |return "success";
  | }
First, it looks like the transition object is only @In, not @In @Out.  But it's 
pretty clear that myActionListener is trying to communicate some state outwards 
to the conversation.  So why not @Out also?  Or is @Out only for cases where 
new contextual objects might be outjected (as opposed to just side-effecting 
existing ones)?

Second, is it assumed that there is only one unique @In Transition field in the 
bean?  Is that always a good assumption?  It seems a little fragile.

Your first alternative seems like it's using fine-grained (primitive-valued) 
fields, one per piece of conversational / jBPM state, with distinct annotations 
per field.  Your second alternative encodes the state information into objects, 
which are not really annotated at all, and apparently are expected to be unique 
in their bean.  There might be a hybrid approach.  Perhaps there's a JBPMState 
object, with transition and actorId properties, and you have
@JBPM JBPMState jBPMState;
  | @ConversationState ConversationState convState;
It's a little redundant, but it's trying to avoid the "explosion of 
annotations" problem without creating hardcoded type-based assumptions that an 
@In Transition field is always used to control the current jBPM flow.

Cheers!
Rob

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: JNDI problem

2005-12-28 Thread galderz
Are you refering to the same problem you posted here?

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74343

Please, avoid posting the same question several times. If you want to give 
further information about the problem, use the original post.

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

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: NoEJB example: log.info not visible

2005-12-28 Thread [EMAIL PROTECTED]
I think I managed to make it work by just throwing a log4j.properties into 
resources/WEB-INF/classes.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Feedback requested

2005-12-28 Thread [EMAIL PROTECTED]
In the beta 1 release of Seam, I fussed and worried about what was the best way 
to specify a jBPM transition. Eventually I settled on the @Transition 
annotation, like so:

@Transition
  | private String transition;
  | 
  | 
  | @EndTask
  | public String myActionListener() {
  |transition = "approved";
  |return "success";
  | }

In beta 2, I've discovered a few other things which are kinda similar. We need 
ways to:

(1) Set the jBPM actorId
(2) Set the conversation description and outcome for conversation switching
(3) Set the conversation timeout


And I'm quite sure new things like these will pop up as we evolve.

Rather than introducing annotations for all these things, I'm now inclined 
toward a pattern like this:

@In Transition transition;
  | 
  | @EndTask
  | public String myActionListener() {
  |transition.setName("approved");
  |return "success";
  | }


And:


@In Actor actor;
  | 
  | public String login() {
  |...
  |actor.setId( user.userName() );
  |return "success";
  | }


And so I've removed the @Transition annotation from CVS.

One advantage of this is it lets me group related things (eg. converstaion 
switching stuff) into a single API, instead of spreading them across multiple 
annotations.

Does anyone object to this, or think the previous approach was much better?


P.S. Because I noticed that it was *very* common for people to make @EndTask 
methods which always resulted in the same transition, I'm also supporting the 
following:

@EndTask(transition="approved")
  | public String myActionListener() {
  |return "success";
  | }


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to call bean in another ear file in Jboss?

2005-12-28 Thread galderz
why don't you put the jar file(s) containing your beans in just one ear? Is 
there any requirement that stops you from putting your beans in the same ear?

you should be able to reference the second one from the first using ejb-ref 
element and doing the necessary jndi lookup.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - NoEJB example: log.info not visible

2005-12-28 Thread RobJellinghaus
When I run the noejb example in Tomcat 5.5, the log.info statements in Seam 
itself and in the noejb example code do not appear in the Tomcat log (at least, 
not the log that I see in the standard Catalina window).

Any tips on getting Seam logging to show up in a Tomcat/noejb deployment?

This might be more like a JBoss microcontainer question, but I know this forum 
is much higher signal/noise than any other I am likely to find... but if 
there's a better place to ask this, please let me know.

Thanks!
Cheers,
Rob

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Running noejb tests w/o JBoss?

2005-12-28 Thread [EMAIL PROTECTED]
An unfortunate thing about user forums is that once the traffic reaches a 
certain point, it is impossible to really keep up, and the only people who are 
really able to get attention are the obnoxious ones. 

Plus, the early adopters tend to be the more patient and considerate, and more 
able and willing to help solve their own problems. 

Of course, it also helps that developers tend to be more patient with questions 
they have not seen 1000 times before, and with suggestions when the tech is 
still experimental and we havn't fully explored all the options.

I really missed the early days of Hibernate, which were truly great fun, and 
I'm really enjoying the small community we are growing here. 

The paradox is that we certainly *do* want to see this community grow quickly, 
even though we will probably bitch and moan when it does ;)



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-28 Thread [EMAIL PROTECTED]
@DataModelSelection is working perfectly for me in the demo apps in CVS. It may 
not have been working in the 1.0 beta 1 release.

See, for example, BookingListAction in the booking demo.

The reason why @Factory is sometimes needed, and sometimes not is that.

(1) Sometimes we are processing a faces postback (ie a action listener 
invocation), so the action listener prepares the data in the DataModel.

(2) Sometimes we are processing non-faces HTTP GET request, and so no action 
listener has been invoked and we need to prepare the data during the 
RENDER_RESPONSE phase.


In case (1), all you need is an action listener marked @Begin. In case (2) you 
need an @Factory @Begin method.

Hope that is clear.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Not able to lookup the datasource in jboss

2005-12-28 Thread galderz
Are you trying to do the lookup from outside JBoss? Home references for session 
beans can be retrieved remotely via JNDI, however, datasources (*-ds.xml) and 
in general items bound at "java:" cannot be retrieved remotely (check JCA 
specification).

Hope this helps :-)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Can portlets be put in header?

2005-12-28 Thread vmarco
Is it possible to position a portlet window at the portal level so that it is 
positioned in the header instead of on a specific page?

This is often done with a login portlet, so that users can login/logout 
regardless of which page they are on, and can have feedback as to their login 
status.

Thanks in advance.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - JNDI problem

2005-12-28 Thread maruthiravuri
This occurs very intermittently and it not consistent (in the production 
environment ).This is deployed in JBOSS -4.0.2.Happened once on 11-22 and again 
a couple of days back


When we try to do a JNDI look up and try to communicate with the message queue 
we get an exception and the bean gets undeployed.

" JNDI lookup failed: javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectIOException: error during JRMP connection establishment; nested 
exception is: 
java.io.EOFException]"




This is the server log ---

2005-11-22 15:53:16,988 DEBUG [org.jboss.webservice.server.ServerEngine] 
invoke: [EMAIL PROTECTED]
2005-11-22 15:53:16,988 DEBUG [org.jboss.webservice.server.ServerEngine] 
TransportHandler: http
2005-11-22 15:53:16,988 DEBUG [org.jboss.webservice.server.InvokerProviderJSE] 
makeNewServiceObject: class=com.***.cwp.acceptor.CWOrderStatusPush
2005-11-22 15:53:16,999 DEBUG 
[org.jboss.webservice.handler.HandlerChainBaseImpl] Enter: doHandleRequest
2005-11-22 15:53:16,999 DEBUG 
[org.jboss.webservice.handler.HandlerChainBaseImpl] Exit: doHandleRequest with 
status: true
2005-11-22 15:53:16,999 DEBUG [org.jboss.webservice.server.InvokerProviderJSE] 
Invoke JSE: public abstract java.lang.String 
com..cwp.acceptor.CWOrderStatusPush.getResponse(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
 throws java.rmi.RemoteException
2005-11-22 15:53:16,999 DEBUG [com.***.cwp.acceptor.Cworderstatuspushimpl] 
Inside get Response method in the SEI Cworderstatuspushimpl:
2005-11-22 15:53:16,999 DEBUG [com.***.cwp.common.CWPushProperties] 
CWPushProperties(CWPush)
2005-11-22 15:53:16,999 DEBUG [com.*.cwp.common.CWPushProperties] 
CWPushProperties.loadProperties()
2005-11-22 15:53:17,000 DEBUG [com.***.cwp.common.CWPushProperties] 
CWPushProperties.getString(localhost)
2005-11-22 15:53:17,001 DEBUG [com..cwp.common.CWPushProperties] 
CWPushProperties.getString(jboss_cport)
2005-11-22 15:53:17,001 DEBUG [com.***.cwp.acceptor.Cworderstatuspushimpl] The 
provider url is :jnp://localhost:1099
2005-11-22 15:53:17,008 DEBUG [com..cwp.acceptor.Cworderstatuspushimpl] 
JNDI lookup failed: javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectIOException: error during JRMP connection establishment; nested 
exception is: 
java.io.EOFException]
2005-11-22 15:53:17,008 DEBUG [com..cwp.acceptor.Cworderstatuspushimpl] 
Trying to send a message in the Cworderstatuspushimpl class:
2005-11-22 15:53:17,008 DEBUG [com.*.cwp.acceptor.Cworderstatuspushimpl] 
Exception occurred in the CW Implementation web service class which actually 
drops a message into the queueu: java.lang.NullPointerException
2005-11-22 15:53:17,008 DEBUG 
[org.jboss.webservice.handler.HandlerChainBaseImpl] Enter: handleResponse
2005-11-22 15:53:17,008 DEBUG 
[org.jboss.webservice.handler.HandlerChainBaseImpl] Exit: handleResponse with 
status: true
2005-11-22 15:53:21,639 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:53:26,649 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:53:31,660 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:53:36,670 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:53:41,680 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:53:46,690 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:53:51,700 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:53:56,710 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:54:01,721 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:54:06,731 ERROR 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning 
failed; continuing
java.lang.NullPointerException
2005-11-22 15:55:41,913 WARN  
[org.jboss.axis.encoding.DeserializationContextImpl] Ignoring invalid namespace 
mapping: [prefix=,uri=]
2005-11-22 15:55:41,913 WARN  
[org.jboss.axis.encoding.DeserializationContextImpl] Ignoring invalid namespace 
mapping: [prefix=,uri=]
2005-11-22 15:55:41,913 WARN  
[org.jboss.axis.encoding.Des

[JBoss-user] [JBoss Getting Started Documentation] - Re: Failed to Deploy Duke's Bank org.jboss.deployment.Deploy

2005-12-28 Thread dvasu
This version works fine for me. 

J2EE 1.4 Tutorial Update 2 (for Sun Java System Application Server Platform 
Edition 8 Update 1) June 22, 2004 


DO NOT USE the following LATEST J2EE Tutorial update
J2EE 1.4 Tutorial Update 6 (for Sun Java System Application Server Platform 
Edition 8.1 2005Q2 UR2) September 15, 2005 

I think its a good idea to include a link to this tutorial (Update 2) from the 
JBoss Tutorial page. Folks are spending a lot of time in trying to figure out 
whats going on.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Stronger complier capabilities

2005-12-28 Thread moonusamy
I need to be able to generate byte code from java source generated in memory. 
The problem I have using Javassist is that the compiler is not strong enough to 
flag compilation errors with line numbers and well-defined reasons.  I don't 
want to use javac or Eclipse JDT because they require files to be written to 
disk - all my code is in memory and can't be written to disk. I realize 
Javassist is probably not the right tool for what I want to do. Anyone on this 
forum suggest any alternatives?

Thanks
Vijay


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Portal URLs

2005-12-28 Thread vmarco
I am new to JBoss Portal, but am very fluent with Weblogic Portal and JSR-168.  
I am using JBoss Portal 2.2 and JBoss 4.0.3 (the jboss portal 2.2 bundle), 
along with MySQL 5.

I deploy demoportal.ear (which I created through descriptors), which contains 
the HelloWorldPortlet, along with 5 pages (all empty except the Home page).

When I use the URL: http://localhost:8080/portal  I do get the default portal, 
with tabs, windows, etc.

Following the pattern in the examples and the default I try to access
http://localhost:8080/portal/portal/demoportal however, I do not see any tabs 
instead I see the default portal default page.

If I use http://localhost:8080/portal/portal/demoportal/Home it does access the 
page, but no tabs show up.

Are my URLs off for accessing a deployed portal?  I see no errors in the server 
console, I just cannot access my portal.  Help.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Uploading files

2005-12-28 Thread sy62k
Hi,
   I am using commons upload library to upload files. I would like to be able 
to upload files to a directory in myapplication.war. When I try to set the 
destination directory below deploy directory, a NullpointerException is being 
thrown. If the destination directory is deploy it self then theres no error. 

Could any one please tell me how I can avoid this problem?

Thanks
HeMan

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Missing TaskInstance.setDescription

2005-12-28 Thread kukeltje
Tony,

afaik, there is something in the JIRA on this. Please look it up and vote for 
it.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Correlation

2005-12-28 Thread kukeltje
Pedro, 

The async functionality has something, but I'm not sure if that is what you 
need. Since the way a mapping/correlation needs to be done, it is best to do 
this outside jBPM or use a variable to store the relevant info and retrieve 
process instances based on this variable and its value (see the web ui in cvs 
for an example of this)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Token splitting?

2005-12-28 Thread kukeltje
If case one is like 
http://is.tm.tue.nl/research/patterns/download/swf/pat_14.swf, it is possible. 
Look at the testcase to see an example of pattern 14
case 2 is possible but would take some work of yourself. e.g. some 
businessrules (drools ;-0)) to define the decsisions and a custom fork

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to add tasks

2005-12-28 Thread kukeltje
see the example in the sourcecode, or the testcases.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Injection on server startup

2005-12-28 Thread dittup
Hi,

I am using ejb3. I need to inject references of delegate classes into the ejb 
so that it can call methods in the delegate. I need this to happen when jboss 
server start's up.

Is there any way I can do? I have all my bean definitions in a xml file named 
beans-ejb.xml. 

I do not use tomcat as the webserver. Jboss is independent and acts as only a 
applicatiopn server. A beans.ejb3 file with the ejb's, delegates, dao and 
hibernate mapping files.

Thanks,
Aditya.P

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: ClassNotFoundException when using resin, jboss and EJB3

2005-12-28 Thread dittup
Thank you. It is my problem. One of the classes I has is an olderversion.

Thanks again,
Aditya.P

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: TreeCache error when node leaves network

2005-12-28 Thread knatarajan
Brian, Thanks a lot !

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-28 Thread marobashi
Why is the factory annotation required on the DataModel here but not when 
filling the hotels DataModel in the booking example?  Is it because of a 
difference in the application deployment context, how the find() method is 
initially invoked, or something else?

... batting 1000 today... if these problems were pinatas, I'd be going home 
with no candy.

Any feedback would be welcome.

Thanks,
Eric

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Custom authentication or JAAS?

2005-12-28 Thread aspa
hi

I'm working on implementing authentication mechanisms for a web application. 
The web tier components will be accessing business objects implemented as EJBs 
(mainly session beans). The business objects will also be accessed by remote 
systems through RMI as well as using web service protocols. I've been trying to 
figure out whether JAAS would be the right framework for implementing the 
authentication mechanism requirements that have been identified.

I'm a bit new to JAAS, so I'd appreciate feedback on whether JAAS is the right 
choice in this case as well as some pointers on how the requirements can best 
be implemented.  Here're some of the requirements that gathered so far:

- I need to be able to support different authentication mechanisms for the 
protected resources simultaneusly. I need to support at least the following 
mechanisms: HTTP basic authentication, form based (username & password + 
session cookie) and MS NTLM. Can JAAS support different authentication 
mechanisms simultaneously for different users?

- User authentication information can be stored in different places: MS 
Activedirectory or Apache htpasswd files.

- user's can have different group memberships in different workspaces in the 
application. Users are not re-authenticated when they navigate from one 
workspace to another. How do I set group memberships dynamically with JAAS for 
the user, so that group memberships are automatically updated when switching 
between workspaces?

- how portable are JAAS login modules? Can I run a database login module on 
different application servers?

- access control is data object based (vs. web resource based), for each data 
object there's a list of groups and operations that each group can perform on 
the object. There can be millions of data objects so access should be 
authorized in a database query (performance will hurt if e.g. 5 million objects 
are loaded from the database and isUserInRole() is called for each). How do I 
get a list of roles which the user currently has so that I can include that 
list in the database query for authorization purposes?

br. aspa

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Spring mvc portlet examples not working in JBoss portal 2.2

2005-12-28 Thread mackcom
I hope someone here can help, I've also posted to the Spring forums looking for 
help as well...
I've been having problems getting the spring-portlet-sample, books example to 
work in JBoss portal 2.2. I've tried with the older set of samples and with the 
new (as of today) set of samples that are refactored to work with Spring 2.0m1. 

My environment:
JBoss AS 4.0.3SP1 with JBoss Portal 2.2
Sun Java 1.5.0_05
Spring 2.0m1
Spring-portlet-sample (current version just downloaded today).

This is what I'm experiencing:
I can view all the pages in the books sample with out any problems. The issue 
occurs with I submit any of the forms (edit book details, add new book) in this 
example, or click on any of the ?update? icons (from book inventory, Increase 
count, descrease count, or delete book). When I submit any of these actions I 
get the following exception:


  | 15:10:50,149 ERROR [InvokeWindowActionCommand] An portlet exception occured 
in portlet /spring-portlet-sample.books
  | java.lang.NullPointerException
  | at 
org.jboss.portal.portlet.impl.ActionRequestImpl.getPortletMode(ActionRequestImpl.java:45)
  | at 
org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:448)
  | at 
org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:399)
  | at 
org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:470)
  | at 
org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:411)
  | at 
org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:66)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
  | at 
org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:59)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:37)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:63)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:154)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:38)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:32)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:36)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:71)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:116)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:88)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173

[JBoss-user] [Installation, Configuration & Deployment] - Re: Newbie: Verification of Enterprise Beans failed

2005-12-28 Thread Strunker
No idea?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: TreeCache error when node leaves network

2005-12-28 Thread [EMAIL PROTECTED]
In the /server/all/deploy directory there is a cluster-service.xml file with a 
section that configures the JGroups protocol stack.  It has a UDP element with 
attributes mcast_addr and mcast_port (multicast address and port). If different 
machines on the network have the same mcast_addr and mcast_port, your JGroups 
channel will see messages from the other machines. JGroups will see that the 
packets are intended for a cluster with a different name and will discard them, 
but it will complain about it. It's best to use a different mcast_addr and 
mcast_port for machines that are not meant to be part of the same cluster.

When I was working in a team environment we generally gave each developer their 
own port number to use.

This can be a bit of a pain if you have to edit the cluster-service.xml file to 
give each developer their own port.  I've used system property substitution to 
manage this in 4.0.1SP1 and later; haven't tried it in 4.0.1.  Looks like this:

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914625#3914625

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-12-28 Thread geekgurl
"ameisinger" wrote : Hi to everyone!
  | 
  | I made some attempts with complex types. Now they're working after 
inserting the corresponding typeMapping.
  | 
  | I tried a new method: String setStrings(String[]) and there is the same 
error like before: 
  | 
  | No deserializer defined for array type 
{http://www.w3.org/2003/05/soap-encoding}string.
  | 
  | My ws4ee-deployment.xml looks like
  | 
  |   | 
  |   | 
  |   | ...
  |   | 
  |   | http://schemas.xmlsoap.org/soap/encoding/";
  |   | />
  |   | ...
  |   | 
  | 
  | My wsdl file:
  | 
  |   | 
  |   |   
  |   | 
  |   |   http://schemas.xmlsoap.org/wsdl/"; 
/> 
  |   | 
  |   |   
  |   | 
  |   | 
  | 
  | The method String[] getStrings() works without the typeMapping. 
  | 
  | 
  | Is there any solution available for this problem?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: ActiveMQ + EJB3 MDB Integration failure

2005-12-28 Thread rtselvan
Thanks for the response.

Does this configuration work on the EJB3 RC3 release or do I build from the 
source?

Thanks again

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Building a standalone JBoss Messaging server

2005-12-28 Thread [EMAIL PROTECTED]
The error messages show you're trying to install and deploy JBossMQ, which soon 
will be deprecated and replaced by JBoss Messaging.

JBossMQ: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQ
JBoss Messaging: http://www.jboss.com/products/messaging

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem with ejb deployment!

2005-12-28 Thread newbeeuser
hi, is there any body out there who knows what is wrong?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem with ejb deployment!

2005-12-28 Thread newbeeuser
"newbeeuser" wrote : hi, is there any body out there who knows what is wrong?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Deploy Problem Webservice

2005-12-28 Thread asbin88
I'm trying to use a very simple EJB Bean as Webservice. When deploying the Bean 
everything goes ok, but after adding support for a WebService i get following 
Error.


  | 20:00:53,118 INFO  [EjbModule] Deploying UserManager
  | 20:00:53,619 INFO  [EJBDeployer] Deployed: 
file:/home/andre/KP/jboss-4.0.3SP1/server/default/deploy/Server.jar
  | 20:00:53,983 ERROR [ServiceDeployer] Cannot startup webservice for: 
Server.jar
  | java.lang.ClassCastException: org.jboss.metadata.ApplicationMetaData
  | at 
org.jboss.webservice.ServiceDeployer$ServiceLocationResolver.getServiceLocation(ServiceDeployer.java:558)
  | at 
org.jboss.webservice.metadata.WebserviceDescriptionMetaData.replaceAddressLocations(WebserviceDescriptionMetaData.java:304)
  | at 
org.jboss.webservice.metadata.WebserviceDescriptionMetaData.updateServiceAddress(WebserviceDescriptionMetaData.java:253)
  | at 
org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:207)
  | at 
org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:110)
  | at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
  | at $Proxy31.handleNotification(Unknown Source)
  | at 
org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
  | at 
org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:95)
  | at 
org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:325)
  | at 
org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:293)
  | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:642)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy29.start(Unknown Source)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy6.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  | at 
org.jboss.system

[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-28 Thread marobashi
Shinerella, what are you seeing as output?

1) Table headings and empty boxes where the data should be.
2) Table headings but no rows
3) No table at all

If 3, do you have any other output on the page, and are you seeing that? (Like 
a Here are your CAROGroups: before the dataTable snippet you sent...)

Also, the example HotelBookingAction doesn't use @DataModelSelection... just 
@DataModel and @DataModelSelectionIndex.  I attempted to duplicate what you're 
doing in a working application that I have, by adding a @DataModelSelection tag 
and associated object.  My table showed up ok, but when I attempted to click 
any of my subsequent conversation methods (or even cancel, to end the 
conversation) I received an error.

This very well could be due to my own stupidity somewhere in my code, but when 
I removed @DataModelSelection and the defined object, my application started 
working again.

Again, this doesn't seem to explain why your data isn't showing up... but I'd 
be curious to see what happens if you remove that DataModelSelection tag.

You'd have to change your setCaroGroup to:


  |public String setCaroGroup() {
  |group = groups.get(groupsIndex);
  |return "success";
  |}
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: TreeCache error when node leaves network

2005-12-28 Thread knatarajan
I am posting the solution that I have put in for the problem posted here. I 
changed the cluster config to use  instead of  and am no longer 
experiencing the timeout issue. 
The cluster documentation mentions that when FD_SOCK is used, a member is 
declared dead only when socket is closed. This was the reason why when a node 
was "unplugged" from the network without graceful shutdown, we were 
experiencing problems on the other nodes. By using , heart beat messages will 
be used for failure detection and hence node exits can be detected even without 
graceful shutdown.

My config entry now uses :


Bela, I am still interested in finding out what I am missing in terms of the 
clusters not being separate. Really appretiate any pointers you may have on 
that regard.

Thanks!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - ejb deployment problem

2005-12-28 Thread newbeeuser
Hi, 
I am trying to deploy a simple hello bean ejb on jboss 4.0.3 sp1. I am getting 
following exception 

17:26:30,281 ERROR [MainDeployer] Could not create deployment: 
file:/C:/software 
s/jboss-4.0.3SP1/server/default/deploy/hellobean.jar 
org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the 
right 
xml schema or define a valid DOCTYPE! 

- 
The ejb-jar.xml is given below 
 
http://java.sun.com/dtd/ejb-jar_2_0.dtd";> 
 
 

HelloBean 
HelloHome 
Hello 
HelloBean 
 Stateless 
Bean 

 
 
=== 
Please suggest how can the error be removed. 

Any help will be highly appreciated. 
Thanks a lot 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - ejb deployment problem

2005-12-28 Thread newbeeuser
Hi, 
I am trying to deploy a simple hello bean ejb on jboss4.03 sp1
I am getting following exception 

17:26:30,281 ERROR [MainDeployer] Could not create deployment: 
file:/C:/software 
s/jboss-4.0.3SP1/server/default/deploy/hellobean.jar 
org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the 
right 
xml schema or define a valid DOCTYPE! 

- 
The ejb-jar.xml is given below 
 
http://java.sun.com/dtd/ejb-jar_2_0.dtd";> 
 
 

HelloBean 
HelloHome 
Hello 
HelloBean 
 Stateless 
Bean 

 
 
=== 
Please suggest how can the error be removed. 

Any help will be highly appreciated. 
Thanks a lot 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-28 Thread Shinerella
And finally my problem solution is: 

The @Factory anotation is needed, this is not found in the old doc, i guess..

@Begin
  | @Factory("groups")
  | public String findCaroGroups() {
  | groups = session.createCriteria(caroTypeGroup.class).list();
  | return "success";
  | }

thanks ivan :)



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Token splitting?

2005-12-28 Thread dhartford
Hey all,
Not even sure if the subject is the right idea, but the business use-cases are 
as follows:

*A multipage fax comes in as an individual fax token.  A user looks at the fax 
and may want to split it into several new faxes before continuing the rest of 
the process.  Each of the new faxes should become their own tokens to follow 
the process (and, if possible, relate to the orginal token).

*An order comes in with 2 items.  It so happens that the order 'token' has 
these two items that need to be processed differently (one item was a piece of 
software, another might be the AMP/Maintanence agreement on that software).  
The individual items need to follow their own processes independently of each 
other but need to be aware of their parent order token to later be joined 
together to complete the order.

Is this something jBPM/jPDL can handle?

thanks,
-D


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Running noejb tests w/o JBoss?

2005-12-28 Thread RobJellinghaus
Yes, I know, I was just trying the toplevel tests as a sanity check (to avoid 
any issues of the multiple build.xml files).  examples / noejb / "ant 
testexample" works great now :-)

I must say it's a pleasure being back on a forum that's got a timely Gavin on 
it!  I was on the Hibernate forums in early 2004 and got a bunch of great 
responses from you.  But then the newbies arrived in force.  Here's hoping SEAM 
doesn't get that popular in the next two months :-)

Cheers!
Rob

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Hacked solution for OutOfMemoryError on opening zip file

2005-12-28 Thread AndrewGoedhart
Make that a heap size of 2 GB not 2 MB

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-28 Thread Shinerella
Marobashi 

* Into my  groups this is what I have in running Time:
(setting a breakpoint on the following return statement  and inspecting what 
"groups" contents after the session.createCriteria)

 groups = ArrayList
- elementData=Object[10]
- CAROTypeGroup
+ code="NAME001"
+ subTypes=PersistenceSet(id 602)
+ description="description 1"
+ id="id001"

- CAROTypeGroup
+ code="NAME002"
+ subTypes=PersistenceSet(id 603)
+ description="description 2"
+ id="id002"
... etc 

So As u can see... I have a list of caroTypegroup, and those objects have 
atributtes like "code",  "description", etc... 

What I think is may be that somehow the variables are no longer in Scope so 
that's why them cannot be resolved... but why? 

I already changed the "Begin" of the conversation to the Method 
findCaroGroups()  where I set the value to groups ... but anyway... not good 
results yet

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JDBC persistance with pojo cache and performance issue

2005-12-28 Thread jlukar
I just created Jira issue.

I have created a test case with dummy business objects and associated 
class/interfaces that showcases the slowness of this scenario.  There is a 
build.xml that does the whole thing after configuring the jdbc parameters in 
the service xml file.

I'd appreciate any feedback later on when you have a chance to look at it.  

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Hacked solution for OutOfMemoryError on opening zip file on

2005-12-28 Thread AndrewGoedhart
I am writing this partly to help those who experience the problem at least have 
a way out and also to ask if there is another better way to solve this problem

I am using release 4.03 SP1 and a 64 bit linux jvm with 4 GB memory  and heap 
set at 2MB max. Sometimes on startup the jboss crashes with an OutOfMemoryError 
while trying to open a zip file. This can happen on a clean install and no apps 
loaded. When it happens the only solution is to restart the machine and hope. 
The first load normally works.

In Jira the Jboss team says this is a jvm bug, It was supposed to be fixed in 
403Sp1 but it seems that it isn't.  The Jboss team seem to think that this is a 
jvm problem and not really their problem. Accoring to them Java should not run 
out of system  memory opening an invalid jar or xml file. This problem really 
is a result of the jvm using memory mapped files for opening zip files, and 
this looks unlikely to change (its been discussed since jdk V1.3 on the bug 
tracking system).  Unfortunately this make JBOSS unusable on a 64bit machine or 
where you need more then about 1.5 mB of memory.  problem has been around since 
jdk1.3 and it looks like it won't change.  

I spent a very fustrating few weeks trying to find a solution for the problem 
and couldn't. I tried rejaring all the files in the lib directory, making sure 
I had enough heap space and system memory etc. Nothing worked 

Eventually I patched the  RepositoryClassLoader.java file to ignore the 
EOutOfMemoryError. This works, the server loads now and does not crash. The 
services seem to be unaffected. Everything on our machines still run as per 
normal. 

My currently hacked solution is to download the source, patch the 
RepositoryClassLoader.java file with the patched method below and rebuild the 
jboss-jmx.jar and place the new jboss-jmx.jar file in the jboss/lib directory.

If you would rather have the already patched  jboss-jmx.jar please mail me on 
duosp.co.za (at) andrew.  

/---snip /
  |   /**
  |* Provides the same functionality as [EMAIL PROTECTED] 
java.net.URLClassLoader#getResource}.
  |*/
  |public URL getResourceLocally(String name)
  |{
  |   URL resURL = (URL) resourceCache.get(name);
  |   if (resURL != null)
  |  return resURL;
  |   if (isResourceBlackListed(name))
  |  return null;
  |   try {
  | if( log.isTraceEnabled()){
  |   log.trace("getResourceLocally("+this+"), name="+name+", 
resURL:"+resURL);  
  | }
  | resURL = super.getResource(name);
  |   } catch( OutOfMemoryError e){
  | resURL = null;
  | log.error("OutOfMemoryError (sporadic error on AMD64 when opening 
zip files) for getResourceLocally("+this+"), name="+name+", resURL:"+resURL);   
   
  |   }
  |   if (resURL == null)
  |  addToResourceBlackList(name);
  |   else
  |  resourceCache.put(name, resURL);
  |   return resURL;
  |}
  | /-snip -/
  | 

I still feel slightly uneasy about this hack, suffficiently so that i did not 
put it in the Jira. Unfortunately no one else seems to have any solution and I 
can't believe I am the only one who is getting this. It was happening on a 
virgin JBOSS install on some of our machines in the cluster.   

I hope this helps someone else with the same problem 
Any comments on how to solve the problem properly would be welcome.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: possible bug in portal 2.2

2005-12-28 Thread danch
"mpurdy1973" wrote : how would you marshall it into a render parameter?
  | 

Either decompose it into constituent properties then convert those to strings, 
or use something like CastorXML to convert to/from XML. The first would really 
only be workable for a pretty simple, flat bean.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: When will JBoss 4.0.4 be released

2005-12-28 Thread AndrewGoedhart
What feature is it?
If you need a temporary patch to get Jboss working on linux AMD64 without 
crashing on startup due to problems with opening zip files in the 
RepositoryClassLoader see: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74634


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Bus error occurring on during ejbRemove() on JBoss 3.2.7 on

2005-12-28 Thread beamer908
At the very end of my ejbRemove() method before the method returns to the 
caller (bean.remove() ), I'm getting a bus error that kills the JVM process. Is 
this a known problem with jboss 3.2.7 on Mac OS X? I've never seen anything 
like this on a Windows or Linux machine, but this very reproducible. 

I'm assuming this either has to be a problem with JBoss or the underlying Apple 
JVM (1.4.2_09). 

This problem is very reproducible when removing this particular entity. I have 
run it through Eclipse IDE and was able to locate the point of failure 
described above.

Thoughts, suggestions, words of encouragement?

Bradley

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - limiting session creation on a per application basis

2005-12-28 Thread ptomsic
is it possible to say, deploy war(a) and war(b) to the same jboss instance, but 
limit session creation to only war(a) and have no sessions created on war(b)

?

thanks


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Remoting] - Example service.xml with 1.4.0 beta

2005-12-28 Thread Tyler Black
Hello,

Recently downloaded 1.4.0 beta, and I'm having a lot of fun with remoting.  I 
noticed a typo in the example-service.xml file that is packaged with the beta 
release.  The package name for the CallbackStore class is incorrect.

The example-service.xml points to org.jboss.remoting.CallbackStore

It should point to org.jboss.remoting.callback.CallbackStore

Thanks a bunch.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - sending a mail from a bean

2005-12-28 Thread razel
I'm developing an application using EJB 3.0 on JBoss 4.0.3. I would like some 
hints on how to send e-mails from inside a bean, configure and use the jboss 
mail API implementation.

thanks 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Multiple Session Bean Instances

2005-12-28 Thread hasijutu
Is someone working on this issue?

http://jira.jboss.com/jira/browse/EJBTHREE-352

The issue status seems to be 'Open'.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMP2.x jdbc2 pm configuration and version fields

2005-12-28 Thread ereze
I would like to use the new "Cmp2.x jdbc2 pm".

I set the entity to use optimistic locking with version fields.
The application starts up and throws complains that the entity is missing the 
version field. This did not happen in other container configuration like the 
"Standard CMP2.x Entity". Is this a bug in the new "Cmp2.x jdbc2 pm" or should 
I declare those fields like any other CMP field in my entity?

Thanks,
Erez

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to design multiple sub-processes

2005-12-28 Thread brittm
Hmm...perhaps you can simply not use sub processes at all.  Rather that think 
of the 'candidate' process as a sub process, just consider it as a stand-alone 
process.  Start as many as necessary  like you are now, with an ActionHandler, 
and set a process variable to link it back to your 'parent' process--perhaps a 
variable called "parentProcessInstanceId".  You would have to write a Hibernate 
query to return all 'candidate' processes with a given parentProcessInstanceId 
process variable, and then you could iterate through them, canceling (and 
ending) each one as appropriate.

The nice thing about jBPM is that its so open that there always seems to be a 
way to solve a problem. :)

-Britt

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Does CMP2.x jdbc2 pm supports optimistic version fields?

2005-12-28 Thread ereze
Does the Configuration "CMP 2.x jdbc2 pm" in 3.2.6 supports the optimistic 
locking version fields? Does it update them correctly?

Thanks,

Erez

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: problem in creating j2ee project with jbossIDE

2005-12-28 Thread mconley99
I had a similar problem using Eclipse 3.1 and JBossIDE 1.4. The FAQ says that 
Eclipse 3.1 requires JBossIDE 1.5. I switched and was able to get started. I 
also ran into other problems later with XDoclet, I'm still working on those.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Getting errors when starting up jboss 4.0.3SP1 in jboss-

2005-12-28 Thread peterm75
It seems like it needs to download a .xsd from the www and if there is no 
internet connection I will recieve this error.

It should be possible to run jBoss without a internet connection!

I would be very greatful if somebody could help me.



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Using xml files at the deployment folder

2005-12-28 Thread cesarlopez
Hello all,

It's possible to use the deployment directory to put there xml files that 
points to applications allocated on external folders?

As example, this xml can be used at Tomcat





you can put it at $CATALINA_HOME/conf/Catalina/localhost folder and 
automatically the application is deployed

Is there anyway to do it at JBoss? 

Thank you very much in advance


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - merging execution and call pointcuts

2005-12-28 Thread aefremov
Consider that you have a base class like this,

public class MockListner {
  public void onMsg(Object msg) {
 }
} 

Then you create execution pointcut of onMsg method.
So far, so good.
But if you derive a class from MockListner  and define a call pointcut of the 
constructor you get an Exception.

public static class MockComponent extends MockListner { 

}

The problem is in getTempClassAdvisorIfNotExist method.
Could anybody help me?

 Caused by: java.lang.RuntimeException: for class: 
test.com.net2s.fs.midas.common.cache.ACacheFactoryDepTest$MockComponent
at 
org.jboss.aop.AspectManager.getTempClassAdvisorIfNotExist(AspectManager.java:984)
at 
org.jboss.aop.pointcut.ConstructorCallMatcher.visit(ConstructorCallMatcher.java:54)
... 21 more
Caused by: java.lang.NoSuchFieldException: aop$classAdvisor$aop
at java.lang.Class.getDeclaredField(Class.java:1854)
at 
org.jboss.aop.AspectManager.getTempClassAdvisorIfNotExist(AspectManager.java:978)
... 22 more



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Simple stateless session bean example- does one exist?

2005-12-28 Thread [EMAIL PROTECTED]
download the EJB3 standalone distribution.  it has all the code and build files

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Timeline for PFD complience ?

2005-12-28 Thread [EMAIL PROTECTED]
jira.jboss.com

ejb3 project

post any specific problems there and we'll schedule them.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Stub error..

2005-12-28 Thread Ayusman
It helped.
Thanks a lot.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Cant call em.persist() more than once in a transaction. Plea

2005-12-28 Thread us97013
Hi all,

I have created a simple entity bean as follows:

@Entity
@Table(name = "ComplaintDetail")
public class ComplaintDetail implements Serializable {


}

Then I create a session bean as follows:

@Stateless
public class AdminCompBean implements AdminComp {
public void addComplaintDetail (String complaintid, String rollid, String 
productionid, String machineid, String starttime, String endtime) {   
ComplaintDetail cd = new ComplaintDetail(complaintid, rollid, 
productionid, machineid, starttime, endtime);
em.persist (cd);
   }
}

Now, I am using a 3rd session bean, inside which I am calling 
addComplaintDetail() methon of my 2nd session bean in a loop. Its code is:

@Stateless
public class ComplaintSBBean implements ComplaintSB {   
public boolean submitComplaint(String CustomerID, String OrderID, String 
ProductID, String rollID, String complaintType, String complaintSeverity, 
String description, String complaintDate)
{
try
{
InitialContext ctx = new InitialContext();
AdminComp admincomp = (AdminComp) 
ctx.lookup(AdminComp.class.getName());
//...Some code
for (Iterator iter4 = rolls.iterator(); 
iter4.hasNext();) 
{
V_ROLLE roll = (V_ROLLE) iter4.next();
admincomp.addComplaintDetail (Integer.toString(complaintID), rollID, 
roll.getOrderId(), machineID, roll.getStartTime().toString(), 
roll.getEndTime().toString());
 }
   }
 }
}

The problem is that first time in the loop function works fine but when in the 
loop it is called second time, i am getting following exception: Please tell me 
what is wrong.

17:46:55,500 INFO  [STDOUT] javax.ejb.EJBTransactionRolledbackException: null; 
CausedByException is:
a different object with the same identifier value was already 
associated with the session: [mes.entity.ComplaintTables.ComplaintDetail#0]
17:46:55,500 INFO  [STDOUT] at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:65)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:117)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:138)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:148)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:60)
17:46:55,500 INFO  [STDOUT] at $Proxy115.addComplaintDetail(Unknown Source)
17:46:55,500 INFO  [STDOUT] at 
mes.session.MESComplaintSB.ComplaintSBBean.submitComplaint(ComplaintSBBean.java:169)
17:46:55,500 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:46:55,500 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17:46:55,500 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17:46:55,500 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:32)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
17:46:55,500 INFO  [STDOUT] at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java

[JBoss-user] [JBoss jBPM] - jbpm in a cluster

2005-12-28 Thread new4jboss
Can anyone please confirm the following statement ?

"JBPM workflow process descriptions and runtime status are persisted to a 
database but in a cluster they are not automatically failed-over, which makes 
sense once you realize that some processing steps may not be idempotent. 
Therefore, while the process description is persistent, workflow failover must 
be performed manually."

Thank you

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Optimistic locking

2005-12-28 Thread ereze
To improve concurrency and to avoid deadlock I want to use Optimistic Locking 
using object version field.
My system currently uses cache option A. 

Is it true that in order to use Optimistic Locking I need to use cache option B 
or C but NOT A? Do I have to use "Instance Per Transaction" container 
configuration with locking-policty of JDBCOptimisticLock ?

Thanks in advance,

Erez

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >