[jboss-user] [JBoss Tools (users)] - Development deployment, project jar not copied in EAR /lib (

2008-11-13 Thread msrednsi
Hello

Using jboss tools 3.0Beta1, eclipse 3.4., AS 4.2.2. 
I create a simple EAR 5 project. And a new Utility project that i included in 
the ear. I check deploy in lib, to be shared by all modules. Also i add an 
external jar to the ear project, also i check to deploy in lib.

Very easy, then if i export the project, the .ear (only a file)is created like 
this:
test.ear
-lib-somejar.jar, utiliy.jar

As expected.

But if i'm developing and i deploy on  the server, the exploded deployment is
test.ear
-lib-somejar.jar
utility.jar

So the utility.jar, created from the project is not installed inside /lib. The 
ear is invalid!!!.

Some ideas? It seems so silly that i can not understand why this is happening, 
it's a bug?  

Thanks in advance!



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

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


[jboss-user] [JBoss Cache: Core Edition] - State Transfer

2008-11-13 Thread lovelyliatroim
Hi Guys,
  Just so you are aware there is a problem with the state transfer in jgroups 
2.6.5 and 2.6.6 cut.

http://www.jboss.com/index.html?module=bbop=viewtopict=145138postdays=0postorder=ascstart=0


2.6.7 Im told has the fix needed, should be released by the end of the week.

Just so you know about it.

Cheers,
LL

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

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


[jboss-user] [JBoss Portal] - hi

2008-11-13 Thread senthilkumar.devan
hihi

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

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


[jboss-user] [JBoss Portal] - Re: hi i have problem in posting img tag in forums portlet

2008-11-13 Thread senthilkumar.devan
senthilkumar.devan wrote : hihi

I am using jboss forum portlet. It works fine but when i am trying to post img 
tag in the new topic its not at all showing me the image may i know what is the 
reason.

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

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


[jboss-user] [JBossWS] - Re: JDK 1.6.0_10/JBoss4.2.0.GA/JBossWS 2.0.0 - setProperty m

2008-11-13 Thread pallas_athena
Thank you Alessio and Juergen for the suggestions, you put me on the right 
track! :)

Yes, I was using the jdk6 distribution of the application server and the 
endorsed mechanism, but the client was using jars from the %JBOSS_HOME%/client 
folder. As soon as the client used the jars from the /lib/endorsed folder, the 
error disappeared.

Just out of curiosity, what is the difference between the /client and the 
/lib/endorsed jars? The files seem to have exactly the same size, which is why 
I assumed they were identical.

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

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


[jboss-user] [JBoss Tools (users)] - JBoss Studio: Hibernate Tools Issue

2008-11-13 Thread hkyogaguy
Hello all...

I just downloaded the JB Dev Studio...I have recently started working on 
Hibernate and trying to use the hibernate tools using the documentation in the 
following link: http://docs.jboss.org/tools/2.1.0.Beta1/hibernatetools/html/

Unfortunately for a total newbie in Hibernate, I find it very difficult to 
manouver around JB Studio Hibernate Tools wizards(although I am a seasoned 
Eclipse user). Are there any good tutorials that I can use to kind of walk 
through, step by step on, how to use each of the Hibernate Tools. 

I want to user Hibernate Tools to reenginner an exisiting legacy DB2 database 
to auto generate the POJOs, hbm mappping files...but the documentation in the 
above link isnt sufficient for me to get started..I couldnt even get to do 
configure the hibernate console..let alone the other wizards..

Are there any other resources/books that anyone can suggest..any help is 
appreciated!

Thanks in advance!
Jay


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

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


[jboss-user] [Beginners Corner] - JBoss web service output

2008-11-13 Thread worrow
First off, hi to everyone.

I am using JBoss 4.2.3 GA as an Application Server and NetBeans 5.0 as a 
client.  I have no problem to get the service list from the server but when I 
tried to test one of the services(input data, then press submit), instead of 
result displays on the same window, I got some kind of 
 'InvocationTargetException...malformed array type: arraytype'.  However on the 
JBoss console, the server got the input and generate the result properly.  
NetBean 5.0 just can't get the result from JBoss to its output window.  Any 
suggestion?   Thanks in advance.
 

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

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


[jboss-user] [JBoss Portal] - Re: Unexpected exception when login

2008-11-13 Thread tombol
I have the exact same problem is there any solutions found ???

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

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


[jboss-user] [Microcontainer] - Re: Permanent POJOs?

2008-11-13 Thread [EMAIL PROTECTED]
OSGi had to introduce an additional API to cover this use case, because of the 
same issues you are identifying.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM Oracle connection Issue

2008-11-13 Thread kukeltje
do you know how to configure hibernate correctly? Most likely a wrong dialect

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

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


[jboss-user] [Remoting] - Re: When to use EJB container and when Remoting ?

2008-11-13 Thread trustin
Thanks for giving a good answer jaikiran. :)

It depends on what features of J2EE you want IMHO.  Using EJB in JBossAS and 
making an invocation will eventually let you use Remoting directly by using 
Remoting API or indirectly by using the standard J2EE method invocation API.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Servlet filters and includes

2008-11-13 Thread [EMAIL PROTECTED]
If I have a jsp that has several jsp includes should the servlet filters be run 
for each include?

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

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


[jboss-user] [JBoss Portal] - Re: Deploying PHP application in JBoss Portal

2008-11-13 Thread sii
Hi,

Can some experts out there please help me out on this error: 
java.lang.UnsatisfiedLinkError: C:\jboss-4.2.3.GA\bin\native\php5servlet.dll: 
This application has failed to start because the application configuration is 
incorrect. Reinstalling the application may fix this problem, no libphp5servlet 
in 
java.library.path(C:\jdk\jdk1.6.0_07\bin;C:\mysql5\bin;C:\jboss-4.2.3.GA\bin;C:\jboss-4.2.3.GA\bin\native;C:\php5\bin;C:\php5\ext;)

OS: Windows XP (not install any .NET framework)
ANT version: Ant 1.7.1
JDK version: jdk1.6.0 update 07
Database: mysql-5.0.67
Web server: jboss-4.2.3.GA (unpack jboss-portal-2.7.0.GA-bundled.zip)
Mysql connector/J: mysql-connector-java-5.1.6
PHP version: php-5.2.6-Win32
PHP servlet version: php5servlet-windows-i586-SP1
JBoss native: jboss-native-2.0.6-windows-x86-ssl

ANT_HOME=C:\ant-1.7.1
JAVA_HOME=C:\jdk\jdk1.6.0_07
JBOSS_HOME=C:\jboss-4.2.3.GA
CLASSPATH=.;C:\jdk\jdk1.6.0_07\lib\tools.jar;C:\jboss-4.2.3.GA\bin\run.jar;C:\jboss-4.2.3.GA\server\default\lib\mysql-connector-java-5.1.6-bin.jar;
PATH=C:\ant-1.7.1\bin;C:\jdk\jdk1.6.0_07\bin;C:\mysql5\bin;C:\jboss-4.2.3.GA\bin;C:\jboss-4.2.3.GA\bin\native;C:\php5;C:\php5\ext;

Steps
1. Unpack apache-ant-1.7.1-bin.zip to c:\ant-1.7.1
2. Install jdk-6u7-windows-ia64.exe at c:\jdk\jdk1.6.0_07
3. Install mysql-5.0.67-win32.zip at c:\mysql5
4. Unpack jboss-portal-2.7.0.GA-bundled.zip to c:\jboss-4.2.3.GA
5. Edit c:\jboss-4.2.3.GA\bin\run.bat, set -Xms1024m -Xmx1024m 
-XX:PermSize=512m -XX:MaxPermSize=512m
6. Unpack mysql-connector-java-5.1.6.zip, copy 
mysql-connector-java-5.1.6-bin.jar to c:\jboss-4.2.3.GA\server\default\lib\
7. Configure c:\jboss-4.2.3.GA for mysql datasource
8. Unpack php-5.2.6-Win32.zip to c:\php5
9. Unpack php5servlet-windows-i586-SP1.zip to c:\php5servlet
10. Copy missing .dll files from c:\php5servlet\bin\ext to c:\php5\ext
11. Copy missing .dll files from c:\php5servlet\bin to c:\php5
12. Copy php5servlet.dll downloaded at 
http://members.cox.net/ocjohnsons/php5servlet.zip to c:\php5
13. Copy c:\php5\php.ini-recommended to c:\windows
14. Edit c:\windows\php.ini, change extension_dir=c:/php5/ext
15. Add  to 
c:\jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\server.xml
16. Add to 
c:\jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\conf\web.xml as 
below:

servlet-namephp/servlet-name
servlet-classorg.jboss.web.php.Handler/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
load-on-startup6/load-on-startup


servlet-namephps/servlet-name
servlet-class org.jboss.web.php.Highlight/servlet-class


servlet-mapping
servlet-namephp/servlet-name
url-pattern*.php/url-pattern
/servlet-mapping
servlet-mapping
servlet-namephps/servlet-name
url-pattern*.phps/url-pattern
/servlet-mapping

welcome-file-list
welcome-fileindex.html/welcome-file
welcome-fileindex.htm/welcome-file
welcome-fileindex.jsp/welcome-file
welcome-fileindex.php/welcome-file
/welcome-file-list

17. Download jboss-native-2.0.6-windows-x86-ssl.zip at 
http://www.jboss.org/jbossweb/downloads/jboss-native/?action=awindowstate=maximized
18. Unpack jboss-native-2.0.6-windows-x86-ssl.zip to 
c:\jboss-native-2.0.6-windows-x86-ssl
19. Copy *.dll from jboss-native unpack folder to c:\jboss-4.2.3.GA\bin\native
20. Copy php5servlet.dll downloaded at 
http://members.cox.net/ocjohnsons/php5servlet.zip to 
c:\jboss-4.2.3.GA\bin\native
21. Append to c:\jboss-4.2.3.GA\bin\run.conf as below:
LD_LIBRARY_PATH=c:/jboss-4.2.3.GA/bin/native
export LD_LIBRARY_PATH
22. Create mysql db=testdb, create table=users, create column=user_id, 
first_name, last_name
23. Create index.php at 
c:\jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\ROOT.war\index.php 
as below:
   ?php
$username = root;
$password = mysqlpassword;
$hostname = localhost;
$dbh = mysql_connect($hostname, $username, $password)
or die(Unable to connect to MySQL);
print Connected to MySQL;
$selected = mysql_select_db(testdb,$dbh) or die(Could not select 
testdb);
if (mysql_query(insert into users 
values('1','fname_user1','lname_user1'))) {
print successfully inserted record;
}
else {
   print Failed to insert record;
}
mysql_close($dbh);
   ?

24. Create index.php at 
c:\jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\ROOT.war\fetch.jsp 
as below:
   %@ page import=java.sql.* %
   %
 String connectionURL = jdbc:mysql://localhost/testdb;
 Connection connection = null;
 Statement statement = null;
 ResultSet rs = null;
   %
   
 
   

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Servlet filters and includes

2008-11-13 Thread kjkoster
Dear clewis,

No, it should not. The includes are server-side and the servlet filters run in 
the HTTP request/response game

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM Oracle connection Issue

2008-11-13 Thread salaboy21
Yes.. you should be sure that you change this line in the hibernate.cfg.xml 
file:

 property name=hibernate.dialectorg.hibernate.dialect.HSQLDialect/property

To the correct Oracle dialect

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

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


[jboss-user] [JBoss jBPM] - Re: How can i get inform about running tokens/processes.

2008-11-13 Thread kukeltje
Not sure... maybe by getting all tokens of a processinstance and check whether 
one of them is locked.

But instead of focussing on this 'problem' of getting info about running 
instances (running instances btw are process instances that are started and not 
suspended and not ended, not necessarily ones where an action is active like 
you say yourself). What is the real underlying issue? (not in technical terms, 
but in business terms)

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

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


[jboss-user] [Microcontainer] - Re: Permanent POJOs?

2008-11-13 Thread [EMAIL PROTECTED]
I should clarify my last statement.

OSGi have a service called the URL Handlers service and it is responsible for 
providing a mediation layer between the JDK classes and any dynamic handlers 
which may be registered.

The service handles two aspects, IIRC, the URLStreamHandlers used through URL 
and the ContentHandlers used through URLConnection.  Both of these classes 
cache any handlers discovered and therefore prevent them from being modified 
dynamically.

To get around this restriction OSGi will register proxies on behalf of the 
ContentHandlers and URLStreamHandlers and these proxies are responsible for 
delegating to the active handlers services or responding with appropriate 
faults.

I believe this is the issue you are facing, apologies if it is not.

There should be more details in the OSGi specs and I can dig them out if 
necessary.

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

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


[jboss-user] [JBoss jBPM] - Re: deployment in starter kit

2008-11-13 Thread asique
Thanks Ronald 

can u explain me deployment process of jbpm web console in steps

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

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


[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-13 Thread will.tatam
what happens if you comment out the webServiceHost ? does it then use the HOST 
value of the HTTP 1.1 request ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Studio: Hibernate Tools Issue

2008-11-13 Thread [EMAIL PROTECTED]
hmmNew  Hibernate Console Configuration...should help ;)

What happens when you follow the docs are you getting exceptions ? 

There are some screencasts at http://docs.jboss.org/tools/movies/ in case video 
is better.

Let me know if it works, and then tell me what the movies said the docs didn't 
explain well :)

Thanks!

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

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


[jboss-user] [JBoss jBPM] - Re: deployment in starter kit

2008-11-13 Thread kukeltje
I could but won't. Will cost me to much free time and almost all of it can be 
found on the internet, that is why I referred you to docs, howto's etc. Sorry...

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM Oracle connection Issue

2008-11-13 Thread salaboy21
yeah! this is because if he is a new user, he probably spend a lot of 
time reading about hibernate (not a bad thing) and have less time to read about 
jBPM...



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - SSL on Jboss

2008-11-13 Thread venuwin
Hi,

In our application we are using HTTPS for the purchase related pages. Remaining 
pages should be HTTP and not HTTPS.

After i enabled SSL, all the pages became HTTPS and was able to access SSL 
pages with HTTP itself.
Is there a way other than redirecting from each page to another in case it is 
moving away from HTTP to HTTPS page or vice versa.

 Our need is: 

If the user tries to access HTTPS page with HTTP url we should not allow this. 
Also we should not be redirecting from every page where the protocol changes.

Are there elegant ways of doing it ?

Thanks

Venu


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

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


[jboss-user] [Clustering/JBoss] - Re: Monitoring nodes partecipating in the cluster

2008-11-13 Thread marcopb
Yes.. .
I needed to go to jmx-console, search for jboss-service=MyPartitionName

thanks you..

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

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


[jboss-user] [EJB/JBoss] - Problems with EJB 2 in JBoss 5.0.0.CR2

2008-11-13 Thread deployer_man
Hello my name is Juanjo.

Since now I´ve been using jboss-4.0.5.GA with ejb Applications wich a packed 
in an EAR file.

Now I´m trying to to use  JBoss 5.0.0.CR2 with same EAR files and I get the 
next error message. 

Somebody can help me?. 

Thank you very much.


anonymous wrote : 
  | 05:21:27,497 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
  | 05:21:53,999 WARN  [JBossEntityResolver] Trying to resolve systemId as a 
non-file URL: http://java.sun.com/j2ee/dtds/web-app_2.2.dtd
  | 05:21:55,313 WARN  [JBossEntityResolver] Trying to resolve systemId as a 
non-file URL: http://java.sun.com/j2ee/dtds/web-app_2.2.dtd
  | 05:21:55,568 ERROR [AbstractKernelController] Error installing to Parse: 
name=vfszip:/opt/jboss-5.0.0.CR2/server/default/deploy/facturacion.ear 
state=Not Installed mode=Manual requiredState=Parse
  | org.jboss.deployers.spi.DeploymentException: Error creating managed object 
for vfszip:/opt/jboss-5.0.0.CR2/server/default/deploy/facturacion.ear/invxml.war
  | at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:303)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:275)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:236)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
  | at org.jboss.Main.boot(Main.java:209)
  | at org.jboss.Main$1.run(Main.java:544)
  | at java.lang.Thread.run(Unknown Source)
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: 
Failed to parse schema for nsURI=, baseURI=null, 
schemaLocation=http://java.sun.com/j2ee/dtds/web-app_2.2.dtd
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
  | at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
  | at 
org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:199)
  | at 
org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
  | at 
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
  | at 
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
  | at 
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
  | at 
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:188)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:329)
  | ... 23 more
  | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse 
schema for nsURI=, baseURI=null, 
schemaLocation=http://java.sun.com/j2ee/dtds/web-app_2.2.dtd
  | 

[jboss-user] [JBoss jBPM] - Re: JBPM Oracle connection Issue

2008-11-13 Thread kukeltje
wow... what a great level of free (hibernate) support do all these people get 
here... 

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

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


[jboss-user] [JBoss Portal] - Injection of header content (title, scripts) with portal 2.7

2008-11-13 Thread andiXT
Hi,

How I can inject header content - titles, keywords, scripts, etc with new 
Portal 2.7? I have done as described in Reference Guide but unfortunatelly it 
doesn't work. My Portlet extends GenericPortlet and it overrides method 
doHeaders:

  | public class InfoPortlet extends GenericPortlet {
  | public void doView(RenderRequest request, 
  |RenderResponse response) throws PortletException, 
  |IOException {
  | 
  | }
  | public void doHeaders(RenderRequest request, RenderResponse response){
  | Element element = response.createElement(title);
  | element.setTextContent(My new web browser title);
  | response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, element);
  | }
  | }
  | 

Also I have used previous way to set header content but it also doesn't work.

  | response.setProperty(HEADER_CONTENT,getPageHeaderTags(metaHeaders));
  | 
Layout of that pages includes 


  | ...
  | %@ taglib uri=/WEB-INF/portal-layout.tld prefix=p %
  | ...
  | html xmlns=http://www.w3.org/1999/xhtml;
  | head
  | meta http-equiv=Content-Type content=text/html/
  | script type=text/javascript/script
  | p:headerContent/
  | /head
  | ...
  | 

Seems like everything is done correctly but it doesn't work. 
Any help is appreciated.

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

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


[jboss-user] [Beginners Corner] - Determine when JBoss AS is ready (up and running)

2008-11-13 Thread d.behrwind
Hi,

I'd like to run some automated integration tests against my application running 
on JBoss AS. Therefore I need to start the AS through a script and then check 
programmatically whether it is ready so that I can start my test-clients.

Does JBoss AS support this directly or do I have to come up with some 
workaround (such as waiting one minute and then trying to connect until 
connection succeeds)?

Many thanks!

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

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


[jboss-user] [JBoss jBPM] - Re: How can i get inform about running tokens/processes.

2008-11-13 Thread exe
I think I solved my problem. The problem was i misunderstood the bpm concept. I 
don't want to steal your time but  I explain my problem maybe it can help for 
somebody.

I explain the bussines logic of my bpm:

We have some bussines function implamented as a stateless session bean. 
I'll develop a custom action for every ejb invoke i call this node type with 
ejbInvoke node. The node invoke the EJB and if the invoke is succes signaling 
the Token to jump the next node.

 I dont want to implement indentity I'll delegate the authorization information 
for the ejb layer. When somebody wants to start a process send a message with 
ProcessDef  and his Identity. 

The MessageDriven bean is listening on the queue. when a message received the 
MDB create a jbpmContext put the USER object into the jbpmContext and starts 
the process. Every ejbInvoke node call an ejb method with an USER in the 
parameter list (gets from the process context).  If the EJB invocation falls 
with security exception the EjbInvoke node will not resume the execution (now 
our process is in waiting state on the EjbInvoke node) save the process 
instance and the MDB will be destroyed.  

A different user can get a list with the processes wich are in waiting state 
and he can resume the process with his own USER objects. (send a message to the 
mdb with the USER objects and process id. The mdb will overwrite the user in 
the process Context with the the new USEER object and resume the process ).

If the B user tries to resume the process wich is already resumed  by user A 
but the new state isn't persisted because the node isn't finished. The A user's 
mdb will get a Hibernate exception. 


Now I think i found a solutions: The user cannot signaling directly the process 
execution.  When i catch the security exception i insert a resume process 112 
task. The users can get only the task lists not the process instance list and 
he can complete the task with a resume message, when the user sends a resume 
message i set the task to complete  persist the task state and AFTER resume the 
process execution from the custome task action. When the b user tries to 
complete the resume process 112 he will get a message the process already 
started and a task will disappear from his tasklist because somebody else set 
to complete the task. 

thx,

Janos








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

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


[jboss-user] [Remoting] - Re: Remoting 2.5 SP1 - ServerInvoker.TIMEOUT does not work?

2008-11-13 Thread jaikiran
I tried passing the timeout through the configuration map to the connector 
and then through the invokerlocation URL as a param and even tried calling 
connector.getServerInvoker().setTimeout(3000). None seem to work. However, the 
documentation clearly mentions this:

anonymous wrote : 
  | timeout - The socket timeout value passed to the Socket.setSoTimeout() 
method. The default on the server side is 6 (one minute). 

Neither the default timeout nor the user defined timeout seem to be working for 
the connector.start() method. Looking into the code in the AcceptorThread, i 
see that this timeout is never used while calling the accept() method on the 
SocketServer.  This results in an indefinitely blocking call.

I do have a testcase to reproduce this. Now all i am waiting for is a 
confirmation that this is indeed an issue and not something that i missing :-)

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM Oracle connection Issue

2008-11-13 Thread Kodee
Thanks a lot! Will check and let u know.. I thught it might be due to Oracle 
query execution

anyways will confirm the dialect configuration and reply soon!

cheers,
Kodee

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

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


[jboss-user] [Clustering/JBoss] - In jboss-4.2.3.GA Clusting failure

2008-11-13 Thread javang
HI, all
I use jboss-4.2.3.GA Clusting My-application, in the case one Object 
implements Serializable and the object set in 
HttpSession(eg.httpSession.setAttribute(hello,object) ), when running the 
server, fellow trace:
log4j:event 
logger=org.jboss.web.tomcat.service.session.JBossCacheService 
timestamp=1226584029953 level=ERROR thread=ajp-127.0.0.1-8009-2
log4j:message![CDATA[externalizeSession(): exception occurred externalizing 
session SessionBasedClusteredSession[id: w48muvJV7KDcQiuAtBzuYg**.sa 
lastAccessedTime: 1226584029921 version: 20 lastOutdated: 0]]]/log4j:message
log4j:throwable![CDATA[java.io.NotSerializableException: 
org.apache.catalina.session.StandardSessionFacade
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.concurrent.ConcurrentHashMap.writeObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at 
org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
at 
org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1033)
at 
org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:322)
at 
org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:123)
at 
org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1127)
at 
org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:682)
at 
org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
at 
org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:108)
at 
org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at 
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Unknown Source)
]]/log4j:throwable
/log4j:event
  Need help!
  thks

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

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


[jboss-user] [Beginners Corner] - Re: Determine when JBoss AS is ready (up and running)

2008-11-13 Thread jaikiran
d.behrwind wrote : check programmatically whether it is ready so that I can 
start my test-clients.
  | 
  | 

See if this helps http://www.jboss.org/community/docs/DOC-12309

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 4 Design Question: Stateful Process Instance

2008-11-13 Thread kukeltje
Stateless EJB and the way the core works are separate things. The statefulness 
described in the design topics document (which was a discussion document and 
needs some updating since there were some not totally valid assumptions about 
current behaviour) is about being able to set runtime properties on a 
processinstance other then process variables so e.g. a mail node can be runtime 
configured to use othe smtp host. The option to you jBPM in a non-persistent 
(fully stateless, e.g. for STP) way will certainly remain or even made better.

So yes you can keep your service stateless

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

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


[jboss-user] [JBoss jBPM] - Re: How can i get inform about running tokens/processes.

2008-11-13 Thread salaboy21
If you are in this situation, you are probably with the UI blocked waiting for 
your method to finish and your process to reach a wait state.

I think you should think about the business process issue that is involved with 
your problem.

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

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


[jboss-user] [JBoss jBPM] - not persisting instances

2008-11-13 Thread tbeernot
In the documentation it says that persistence is optional. Now, I have some 
workflows I would like to persist and some I do not, within the same 
enviroment. I though that 

lJbpmContext.save(lProcessInstance);

Would trigger the storage, but appearantly that is not needed and any workflow 
is persisted when created (if hibernate is configured). Is that correct? Or is 
it possible to keep a workflow instance in memory only?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Recipe for a disaster (seam 2.1+jboss 4.2.3=fail)

2008-11-13 Thread mader
Thanks for answer. Problem: I use fresh install and I did not modified 
anything. This is NOT my application. This is demonstration application present 
in every fresh installation of seam. It was not modified in any way. I 
presented exact steps that reproduce this error.

Anyway, thanks for directions.

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

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


[jboss-user] [JBoss jBPM] - Re: not persisting instances

2008-11-13 Thread kukeltje
you have just one of the options with one instance of the engine one 
instance of the engine is one configuration. So creating a context with a 
different configuration gives you what you want. 

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

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


[jboss-user] [JCA/JBoss] - How to specify a file url in DataSource xml

2008-11-13 Thread Nordmeyer
Hi,
am am trying to configure a WebSphere MQ JMS Queue for JBoss using the IBM 
proprietary client channel definition table (ccdt). To do so, i have to 
configure an URL in my ds file pointing to another file holding the ccdt.

The WS Layer fails to find the Queue. Sadly there is no logging information 
about that matter so I cannot see the problem before I try to ship the message 
(where I get an Exception).

Can anybody tell me what the URL has to look like, if I put my ccdt-file into 
the conf file of my JBoss deployment? I think the URL is created by the WS 
Layer using new URL(myString).

CU,
  Thomas

P.S.: The connection succeeds if I use an absolute path like 
file:///C:/Development/ide/jboss/jboss-4.2.2.GA/server/default/conf/XYZ.T1.AMQCLCHL.TAB


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss configuration enabling usage of Hibernate's SequenceSt

2008-11-13 Thread isto.nikula
I have JBoss 4.2.2GA and MySQL5. My application is using EJB3 entity beans the 
ID fields of which are annotated with @GeneratedValue

For portability reasons I don't want to use MySQL's auto incrementation and 
would prefer a simple sequence table. Fortunately Hibernate has exactly what 
I need, i.e. org.hibernate.id.enhanced.SequenceStyleGenerator.

The question: how to configure JBoss to use Hibernate's SequenceStyleGenerator 
for EJB3 entities?



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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.1.4 tutorial examples not working in JBPM 3.2b2?

2008-11-13 Thread [EMAIL PROTECTED]
you could try using the jbpm.cfg.xml found in org/jbpm in the jbpm-jpdl.jar 
within the jbpm-consolein the deploy folder of the jbpm suite. The file is 
actually named default.jbpm.cfg.xml so rename it and replace your jbpm.cfg.xml 
with it. Make sure you clean your build folder and retry.

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

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


[jboss-user] [JBoss jBPM] - Re: deployment in starter kit

2008-11-13 Thread kukeltje
First of all why 3.1.3??? Please download 3.2.3

Regarding deployment of .par files I suggest reading the docs (including wiki) 
searching the forum etc... Deployment is to a database, not the deploy dir in 
the appserver

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

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


[jboss-user] [JBoss jBPM] - Re: deployment in starter kit

2008-11-13 Thread salaboy21
If you are dealing with a PAR Archive (very rendundat) you can see the process 
of deployment in this theorical way:

1) A servlet in the jBPM web console get the PAR octet stream and unzip it in 
memory.
2) this parse the xml of processdefinition.xml and create and object model in 
memory (I mean your process definition in the form of Object Instances)
3) this ProcessDefinition object is mapped with hibernate to your Relational 
Database
4) so with hibernate is persisted in your database tables
5) the classes in your PAR are loaded into the class loader, so now your 
process instances can access your ActionHandlers, DecisionHandlers, etc.

I hope this is clear enough




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

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


[jboss-user] [EJB 3.0] - Re: Manually created Hibernate EntityManager vs. injected on

2008-11-13 Thread skajotde
JBoss uses EnityManager which is involved with TransactioManager and em is 
proxy so em.find/em.save is thread safe.

Your code is also thread safe because beans are thread-safe but creating 
emtnity manager factory has high cost (6 seconds on my machine). 

Persistence.createEntityManagerFactory(em);

Should be invkoned once.

If you move creating emf to singleton then there is question if 
emf.createEntityManager(); has proper transaction if you are using annotations 
on beans. If you using transactional filter (eg. on web.xml in web apps) which 
global begin/commit transaction there should be no problem.

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

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


[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-13 Thread lblaauw
well,

In debugging on jboss 4.2.2 GA it does seem that way unfortunately...

Leo


kukeltje wrote : I cannot imagine that each ejb timer is a thread that is 
kept for a long period if they are not running That does not sound as EE. Is 
that really so? What appserver are you running on.

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

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


[jboss-user] [JBoss Portal] - Re: jboss server taken too mach time

2008-11-13 Thread [EMAIL PROTECTED]
If it's the first time then it will take long to start because it creates all 
the required tables in database. You should be find after that.

If you don't need WSRP, then you can remove portal-wsrp.sar from 
jboss-portal.sar

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

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


[jboss-user] [Microcontainer] - how to re-configure class loader policy?

2008-11-13 Thread emmartins
I have a bean that doesn't define a custom loader, and its class loader policy 
is doing black listing, how can I disable this?

Thanks,
Eduardo

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

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


[jboss-user] [JBoss jBPM] - Re: How can i get inform about running tokens/processes.

2008-11-13 Thread exe
I think something is missing for me. The current webconsole (3.2.3) lists all 
process instances.

|select pi
  from org.jbpm.graph.exe.ProcessInstance as pi
  where pi.processDefinition.id = :processDefinitionId
  order by pi.start desc|

How can i determine if is the process instance  running in another jbpm context 
and it is not in a waiting state? 
i know GraphSession.findAllProcessInstancesForADefinition returns with all 
running processes but i don't know if an other context working on the process. 
example: the other context is working on my custom action:

public void execute(ExecutionContext executionContext) throws Exception 
{
// TODO Auto-generated method stub
System.out.print(asleep);
Thread.sleep(6); 
System.out.print(awake);
executionContext.leaveNode();
}


thx for the support, 


Janos

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: why still getting

2008-11-13 Thread PeterJ
I am not aware of what recovery capabilities are present in JBossMQ (which is 
the messaging system in 4.2.x). This area was one of the major features of 
JBoss Messaging - coordination with JBoss Transactions to provide full 
XA-compliant recovery.

My recommendation is to install JBoss Messaging.

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

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


[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

2008-11-13 Thread alesj
What about VFSCLPolicy::setBlackListable(false)?
Or

  | classloading xmlns=urn:jboss:classloading:1.0
  |   name=test
  |   blackList=false
  | /classloading
  | 

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

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


[jboss-user] [JBoss Portal] - Re: jboss server taken too mach time

2008-11-13 Thread PeterJ
See also the slimming section of  http://www.jboss.org/community/docs/DOC-10217

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

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


[jboss-user] [JBoss Portal] - response.createRenderURL doesn't work properly on resolved p

2008-11-13 Thread andiXT
Seems like now response.createRenderURL(linkToNode) doesn't work properly 
anymore on on resolved poerlets from other pages.

  | PortalNode thisNode = request.getPortalNode().getParent();
  | PortalNode linkToNode = 
thisNode.resolve(../../default/Reservation/ReservationPortletWindow);
  | PortalNodeURL pageURL = response.createRenderURL(linkToNode);
  |  
  | request.setAttribute(urlOnReservationForm, pageURL.toString());
  | 
results in 

  | /portal/default/Reservation/ReservationPortletWindow
  | 
instead of previous portal 2.6 behaviour

  | /portal/default/Reservation/ReservationPortletWindow?action=2
  | 
As you can see necessary parameters are missing.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: State Transfer

2008-11-13 Thread [EMAIL PROTECTED]
Thanks for pointing this out.  I am waiting for 2.6.7 before I cut JBC 3.0.0.GA.

Cheers
Manik

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: RMI behind a firewall

2008-11-13 Thread PeterJ
XP as a production server? Probably (hopefully?) not because the Windows XP 
EULA does not allow it - the EULA permits a maximum of 10 inbound connections. 
Though I image the are some running on Windows Server 2003/2008.

Regarding the port issue, I think that the RMI port is sort of a centralized 
control, and when a client connect a custom port for that client is negotiated. 
(Please take the previous statement with a grain of salt; I am by no means a 
networking expert and am simply attempting to explain mostly to myself the 
behavior I have seen.)

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

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


[jboss-user] [JBoss jBPM] - fork and join childeren

2008-11-13 Thread tbeernot
The 3.2.3 documentation says: When the root execution path is forked into 
multiple concurrent execution paths, the root is the parent and the newly 
created execution paths are all children of the root.

So if I have this flow:


  |S
  ||
  |F
  |   / \
  |  s1 s2
  |   \ /
  |J
  ||
  |E
  | 

The when the signal comes on the start node, it moves to the fork (F). It 
should then fork two childeren and then move forward to the join (J) and wait 
for the two childeren to reach the J as well.

However, if I write out the active node from the parent's token I see this:
1. StartState(start)
2. Fork(fork1)
3. State(state1)
4. Join(join1)
5. EndState

As soon as the token enters 'fork1', it does get 1 child. The getChilderen 
returns another token which is in state1 immediately. Then the parent token can 
be moved forward through state1 and the join, all the way to the end state.

The documentation states: This way, implementation of a join can become 
straightforward: the implementation of the join just has to verify if all 
sibling-execution-paths are already positioned in the join node. If that is the 
case, the parent execution path can resume execution leaving the join node.

However I can move the parent token all the way to the end node, without ever 
signalling its childeren.

1. I do not understand where the two childeren are when the fork is done.
2. I do not understand why the parent remains in the fork instead of jumping to 
the join.
3. I do not understand how I can move the parent token past the join.

Something it not matching up.

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread salaboy21
First of all, great ASCII graphic!!

Hmm... you have an wierd situation... 
The behaviour is like the documentation said...
So.. show us your process definition and your code that signal this process..
because there is something missing sure

Greetings!

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

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


[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

2008-11-13 Thread emmartins
alesj wrote : What about VFSCLPolicy::setBlackListable(false)?
  | Or
  | 
  |   | classloading xmlns=urn:jboss:classloading:1.0
  |   |   name=test
  |   |   blackList=false
  |   | /classloading
  |   | 

The first one I have seen but I don't know how can I reach the policy for the 
bean's classloader , the second doesn't require a custom classloader in the 
descriptor that won't acess the libs of the server?

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Studio: Hibernate Tools Issue

2008-11-13 Thread hkyogaguy
Hi Max

Thanks so much for the info..the videos help. I think the documentation missed 
some of the screen shots that the video nicely walks through, step by step. 
Maybe you guys should include all the screen shots from the video. That might 
help a lot :)..especially for newbies like me!

Thanks much!
Cheers
Jay

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

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


[jboss-user] [Microcontainer] - Re: Permanent POJOs?

2008-11-13 Thread [EMAIL PROTECTED]
Yup, this is the basic issue.  As it happens, we've hacked our way past it for 
now.  But yeah I think the proxy notion is the way to go (eventually).  The 
problem I had was that the actual handlers implement all protected methods, so 
unless you use reflection or similar tricks, you can't really proxy to another 
implementation.  So I figure that we could create an interface which pluggable 
URL handlers must implement, and proxy to that.  Someday.  :-)

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread tbeernot
salaboy21 wrote : First of all, great ASCII graphic!!
  | 

Ah well ;-)

I'm building up unit test to slow work jbpm into my application. This is the 
one where I'm trying out parallel flows. I have written the output as comment 
next to the println's.


  | /**
  |  */
  | @Test
  | public void test() 
  | {
  | // Declare a process with a fork
  | //   S
  | //   |
  | //   F
  | //  / \
  | // s1 s2
  | //  \ /
  | //   J
  | //   |
  | //   E
  | ProcessDefinition lProcessDefinition = 
ProcessDefinition.parseXmlString(
  | process-definition +
  |start-state name=\start\ + 
  |transition to=\fork1\/transition 
+ 
  |/start-state + 
  |fork name=\fork1\ + 
  |transition 
to=\state1\/transition + 
  |transition 
to=\state2\/transition + 
  |/fork + 
  |state name=\state1\ + 
  |transition to=\join1\/transition 
+ 
  |/state + 
  |state name=\state2\ + 
  |transition to=\join1\/transition 
+ 
  |/state + 
  |join name=\join1\ + 
  |transition to=\end\/transition + 
  |/join + 
  |end-state name=\end\/end-state +
  | /process-definition
  | );
  | 
  | // Start a process
  | ProcessInstance lProcessInstance = new 
ProcessInstance(lProcessDefinition);
  | 
  | // Get the token
  | Token lToken = lProcessInstance.getRootToken();
  | System.out.println(lToken.getNode() + /  + 
lToken.getChildren()); // start
  | if (lToken.getChildren() != null) System.out.println(  -  + 
((Token)lToken.getChildren().get(lToken.getChildren().keySet().iterator().next())).getNode()
 );
  | 
  | // Goto the next 
  | lToken.signal();
  | System.out.println(lToken.getNode() + /  + 
lToken.getChildren()); // fork1
  | if (lToken.getChildren() != null) System.out.println(  -  + 
((Token)lToken.getChildren().get(lToken.getChildren().keySet().iterator().next())).getNode()
 );
  | 
  | // Goto the next 
  | lToken.signal();
  | System.out.println(lToken.getNode() + /  + 
lToken.getChildren()); // state1
  | if (lToken.getChildren() != null) System.out.println(  -  + 
((Token)lToken.getChildren().get(lToken.getChildren().keySet().iterator().next())).getNode()
 );   
  | 
  | //Goto the next 
  | lToken.signal();
  | System.out.println(lToken.getNode() + /  + 
lToken.getChildren()); // join1
  | if (lToken.getChildren() != null) System.out.println(  -  + 
((Token)lToken.getChildren().get(lToken.getChildren().keySet().iterator().next())).getNode()
 );   
  | 
  | //Goto the next 
  | lToken.signal();
  | System.out.println(lToken.getNode() + /  + 
lToken.getChildren()); // end
  | if (lToken.getChildren() != null) System.out.println(  -  + 
((Token)lToken.getChildren().get(lToken.getChildren().keySet().iterator().next())).getNode()
 );   
  | }
  | 

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Studio: Hibernate Tools Issue

2008-11-13 Thread hkyogaguy
Also it would be a good idea to put the link to the videos on the documentaton 
front page..and the hibernate tools documentation page...where its more readily 
visible(maybe it already is and I missed it?)

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

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


[jboss-user] [JBoss Cache: Core Edition] - Class.class as cache key - Generic Question

2008-11-13 Thread skajotde

Hi All

I'm writing simple cache which is based on: Java Concurrency in Practise, 09 
2006, Listing 5.19 and have generic cache question.

If java.lang.Class can be key for cache ? I know that java.lang.Class doesn't 
implement hashCode and equals but is only one instance per JVM.

Googling like java.lang.class key cache or java.lang.class equals return 
nothing matters.

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

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


[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

2008-11-13 Thread alesj
emmartins wrote : but I don't know how can I reach the policy for the bean's 
classloader
You need to configure that CL at the time of creation.
e.g. proper jboss-classloading.xml in bean's jar

Or push more info, as I don't see what you're trying to do - again. ;-)

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

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


[jboss-user] [Clustering/JBoss] - Problems restarting cluster nodes - start up is interrupted

2008-11-13 Thread Danives
Hi,

We currently have two instances of JBoss running clustered. Now we have been 
having a few teething problems with the system, and occasionally have to bring 
one of the JBoss instances down. However on then trying to bring it back up, it 
starts recieving 'credit requests' from the other node before it has managed to 
start up fully - this has various problems on the node, as it cannot deal with 
the requests handed to it, and prevents it from loading up some (or all) of the 
components.

Is there any way to prevent communication between the two nodes in the cluster 
until it has fully loaded all of its components, or get it to only join the 
cluster once everything has been deployed? 

Thanks,

Dan

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

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


[jboss-user] [Testimonials] - Re: jBPM success stories?

2008-11-13 Thread owaind
Test post test

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

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


[jboss-user] [Beginners Corner] - Re: Determine when JBoss AS is ready (up and running)

2008-11-13 Thread d.behrwind
Thanks a lot, works perfectly!

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

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


[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-13 Thread PeterJ
Try uncommenting the webServiceHost, setting the value to the IP address used 
outside the firewall. This example uses the IP address you identified as being 
the one that outside clients use:

  bean name=ServiceEndpointManager 
class=org.jboss.ws.core.server.ServiceEndpointManager
  | !--
  |  ---comment removed--
  | --
  | property name=webServiceHost123.123.123.123/property
  | property name=alwaysModifySOAPAddresstrue/property

Let us know if this fixes the problem.

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

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


[jboss-user] [JCA/JBoss] - Re: How to specify a file url in DataSource xml

2008-11-13 Thread PeterJ
Try using this path: ${jboss.server.config.url}XYZ.T1.AMQCLCHL.TAB

The jboss.server.config.url sys prop will provide the rest of the URL.

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread tbeernot
salaboy21 wrote : I think you have a concept problem.. 
  | 
  | Its that clear?

It is good that I'm the one with the problem, that is probably the easiest to 
fix.

So, my main problem is with the magical token swapping. I get the token once. 
The root. The parent. How come it suddenly becomes child token 1 and 2? How 
would one write this code correctly?

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

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


[jboss-user] [Microcontainer] - Re: Permanent POJOs?

2008-11-13 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : So I figure that we could create an interface which 
pluggable URL handlers must implement, and proxy to that.  Someday.  :-)

This is precisely what OSGi have done, created a new interface which reflects 
the URLStreamHandler methods and then the proxy can invoke them directly. :)

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

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


[jboss-user] [JBoss Portal] - Re: How to implement BreadCrumb

2008-11-13 Thread psevestre
I did it creating a custom tabs.jsp which gets injected into your pages when 
you use the navigation  region in your layout.

Beginning with the current node, a while loop goes back to the root PortalNode, 
adding all intermediate nodes into a list.

After that I reverse the list and use it to build a You´re here  list of 
links.






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

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread salaboy21
The code is in some way correct.. you need to understand the behaviour only
The two child tokens are created and propagated in the fork node, and the 
parent token stay in the fork node.. 

In your code you can look for child tokens in the root token and then signal 
them and not always signal the parent. Just to clear the concepts...
Because when you signal the root token.. it propagate the signal to the child 
tokens..

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

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


[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-13 Thread bschmoll1
Yes it uses the inbound http HOST value. Though I'm having issues with 
getting the correct port specified, currently the wsdl is showing

  |  soap:address location=http://www.blah.com:-1/myservice/
  | 

No idea how it's coming up with -1, I tried setting the webServicePort in the 
property file to 80, but it still comes up as -1. 

So if you find a work-around to that, I'd appreciate it if you could post it.

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

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


[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-13 Thread will.tatam
This works, but it's still a hack

There is no reason at all to use a hard coded hostname unless you are looking 
to support ancient HTTP 1.0 clients, of which given SOAP comes years after 1.1 
was released, I'm pretty sure all client support 1.1

Also this hack does not work as well as the way I used to do it as this will 
still re-write the url to include a port number, where my old method defined 
the full url so the access address doesn't have the nasty 8443 in there that 
can cause issues for clients accessing who might be behind firewalls

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

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


[jboss-user] [EJB/JBoss] - Default eviction queue not working - any form of 'catch-all'

2008-11-13 Thread Danives
Hey,

Currently as it stands we have been getting 98% eviction queue errors in our 
instances of JBoss. To solve the problem, we have found that we had to add 
these regions manually in ejb3-entity-cache-beans.xml

However, we were under the assumption we shouldn't have to define these 
regions, as they would be covered under the /_default_ region, yet unless we 
manually specify it, there are no evictions performed.

After some reading we find that we would have to manually add 60 entries into 
this document in order to evict them, or re-write our code and specify regions 
for each cache entity we have. We wondered if the default region should be 
doing this for us, or if there is any form of 'catch-all' we can add in? 

Obviously the best solution is for us to change the behaviour of our software 
for a long term solution, yet this will take us some time and we are looking 
for a way of resolving this issue asap - preferably without declaring 60 
different eviction region configs.

Thank-you, please see our settings attached

?xml version=1.0 encoding=UTF-8?
  | 
  | deployment xmlns=urn:jboss:bean-deployer:2.0
  | 
  |!-- First we create a Configuration object for the cache --
  |bean name=EJB3EntityCacheConfig
  |  class=org.jboss.cache.config.Configuration
  |   
  |   !-- Externally injected services --  
  |   property name=runtimeConfig
  |  bean name=EJB3EntityCacheRuntimeConfig 
class=org.jboss.cache.config.RuntimeConfig
  | property name=transactionManagerinject 
bean=jboss:service=TransactionManager 
property=TransactionManager//property
  | property name=muxChannelFactoryinject 
bean=JChannelFactory//property
  |  /bean
  |   /property
  |   
  |   property 
name=multiplexerStack${jboss.multiplexer.stack:udp}/property
  | 
  |   property 
name=clusterName${jboss.partition.name:DefaultPartition}-EntityCache/property
  | 
  |   !--
  |   Node locking level : SERIALIZABLE
  |REPEATABLE_READ (default)
  |READ_COMMITTED
  |READ_UNCOMMITTED
  |NONE
  |   --
  |   property name=isolationLevelStringREPEATABLE_READ/property
  | 
  |   !-- Valid modes are LOCAL
  |REPL_ASYNC
  |REPL_SYNC
  |   --
  |   property name=cacheModeStringREPL_SYNC/property
  | 
  |   !--  The max amount of time (in milliseconds) we wait until the
  | initial state (ie. the contents of the cache) are retrieved from
  | existing members in a clustered environment
  |   --
  |   property name=stateRetrievalTimeout15000/property
  | 
  |   !--Number of milliseconds to wait until all responses for a
  |   synchronous call have been received.
  |   --
  |   property name=syncReplTimeout2/property
  | 
  |   !--  Max number of milliseconds to wait for a lock acquisition --
  |   property name=lockAcquisitionTimeout15000/property
  | 
  |   property name=exposeManagementStatisticstrue/property
  |   
  |   !-- Must be true if any entity deployment uses a scoped classloader 
--
  |   property name=useRegionBasedMarshallingtrue/property
  |   !-- Must match the value of useRegionBasedMarshalling --
  |   property name=inactiveOnStartuptrue/property
  | 
  |   !--  Specific eviction policy configurations. This is LRU --
  |   property name=evictionConfig
  |  bean name=EJB3EntityEvictionConfig 
class=org.jboss.cache.config.EvictionConfig
  | property 
name=defaultEvictionPolicyClassorg.jboss.cache.eviction.LRUPolicy/property
  | property name=wakeupIntervalSeconds3/property
  | property name=evictionRegionConfigs
  | list
  | !-- Default region will never timeout --
  | bean 
name=EJB3EntityDefaultEvictionRegionConfig 
class=org.jboss.cache.config.EvictionRegionConfig
  | property 
name=regionName/_default_/property
  | property name=evictionPolicyConfig
  | bean 
name=EJB3EntityDefaultLRUConfig 
class=org.jboss.cache.eviction.LRUConfiguration
  | property 
name=maxNodes5000/property
  | property 
name=timeToLiveSeconds1000/property
  | /bean
  | /property
  | /bean
  | !-- EJB3 integration code will programatically 
create other
  |  regions as beans are deployed --
  | 
  | 
  

[jboss-user] [EJB/JBoss] - Re: Problems with EJB 2 in JBoss 5.0.0.CR2

2008-11-13 Thread jaikiran
Please post the contents of your web.xml file.


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

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


[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-13 Thread PeterJ
Maybe someone from the JBoss Web Services team could comment on the HTTP 1.0 
vs. 1.1 issue and if there is a 1.1-compliant mechanism for doing this, or if 
one is planned, or if will.tatum should open a JIRA to get one implemented?

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

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


[jboss-user] [Remoting] - Worker thread initialization failure

2008-11-13 Thread boniek
Whenever I run jboss on my Solaris system i get following exceptions:

anonymous wrote : 2008-11-13 17:45:34,898 TRACE 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] 
Sleeping...
  | 2008-11-13 17:45:35,997 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] process(): region: /_default_/
  | 2008-11-13 17:45:35,997 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] processed 0 node events in 
region: /_default_/
  | 2008-11-13 17:45:35,997 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] Recycle queue is empty
  | 2008-11-13 17:45:36,390 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] Begin run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:36,390 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] End run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:36,943 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] Begin run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:36,943 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] End run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:38,670 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] Begin run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:38,670 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] End run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:39,097 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] process(): region: /_default_/
  | 2008-11-13 17:45:39,097 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] processed 0 node events in 
region: /_default_/
  | 2008-11-13 17:45:39,097 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] Recycle queue is empty
  | 2008-11-13 17:45:39,907 TRACE [org.jboss.mx.loading.RepositoryClassLoader] 
loadClass [EMAIL PROTECTED] 
url=file:/opt/jboss-4.3.0.GA_CP02/server/production/deploy/deploy.last/ 
,addedOrder=47} name=org.jboss.net.protocol.file.FileURLLister, loadClassDepth=0
  | 2008-11-13 17:45:39,907 TRACE [org.jboss.mx.loading.RepositoryClassLoader] 
Loaded class from cache, [EMAIL PROTECTED]CodeSource: 
(file:/opt/jboss-4.3.0.GA_CP02/lib/jboss-common.jar no signer certificates)
  | 2008-11-13 17:45:39,907 TRACE [org.jboss.mx.loading.RepositoryClassLoader] 
loadClass [EMAIL PROTECTED] 
url=file:/opt/jboss-4.3.0.GA_CP02/server/production/deploy/deploy.last/ 
,addedOrder=47} name=org.jboss.net.protocol.file.FileURLLister class=class 
org.jboss.net.protocol.file.FileURLLister [EMAIL PROTECTED]
  | 2008-11-13 17:45:39,908 TRACE 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] 
Sleeping...
  | 2008-11-13 17:45:40,073 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] Begin run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:40,073 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] End run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:41,007 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] process(): region: /_default_/
  | 2008-11-13 17:45:41,007 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] processed 0 node events in 
region: /_default_/
  | 2008-11-13 17:45:41,007 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] Recycle queue is empty
  | 2008-11-13 17:45:44,107 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] process(): region: /_default_/
  | 2008-11-13 17:45:44,107 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] processed 0 node events in 
region: /_default_/
  | 2008-11-13 17:45:44,107 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] Recycle queue is empty
  | 2008-11-13 17:45:44,917 TRACE [org.jboss.mx.loading.RepositoryClassLoader] 
loadClass [EMAIL PROTECTED] 
url=file:/opt/jboss-4.3.0.GA_CP02/server/production/deploy/deploy.last/ 
,addedOrder=47} name=org.jboss.net.protocol.file.FileURLLister, loadClassDepth=0
  | 2008-11-13 17:45:44,917 TRACE [org.jboss.mx.loading.RepositoryClassLoader] 
Loaded class from cache, [EMAIL PROTECTED]CodeSource: 
(file:/opt/jboss-4.3.0.GA_CP02/lib/jboss-common.jar no signer certificates)
  | 2008-11-13 17:45:44,917 TRACE [org.jboss.mx.loading.RepositoryClassLoader] 
loadClass [EMAIL PROTECTED] 
url=file:/opt/jboss-4.3.0.GA_CP02/server/production/deploy/deploy.last/ 
,addedOrder=47} name=org.jboss.net.protocol.file.FileURLLister class=class 
org.jboss.net.protocol.file.FileURLLister [EMAIL PROTECTED]
  | 2008-11-13 17:45:44,918 TRACE 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] 
Sleeping...
  | 2008-11-13 17:45:46,017 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] process(): region: /_default_/
  | 2008-11-13 17:45:46,017 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] processed 0 node events in 
region: /_default_/
  | 2008-11-13 17:45:46,017 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] Recycle queue is empty
  | 2008-11-13 17:45:46,870 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] Begin run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:46,871 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] End run, [EMAIL PROTECTED]
  | 2008-11-13 17:45:47,454 TRACE 
[org.jboss.util.threadpool.RunnableTaskWrapper] Begin 

[jboss-user] [JBoss jBPM] - Re: jBPM 4 Design Question: Stateful Process Instance

2008-11-13 Thread benhu
kukeltje wrote : Stateless EJB and the way the core works are separate 
things. The statefulness described in the design topics document (which was a 
discussion document and needs some updating since there were some not totally 
valid assumptions about current behaviour) is about being able to set runtime 
properties on a processinstance other then process variables so e.g. a mail 
node can be runtime configured to use othe smtp host. The option to you jBPM in 
a non-persistent (fully stateless, e.g. for STP) way will certainly remain or 
even made better.

Kuketlje, I am just a little bit confused by the last sentence. You say jbpm 
in a non-persistent way. Do you mean the way jBPM 4 will do or the way I want 
to do? From my perspective, the major reason why I can make my service 
stateless is jBPM 3 is with persistence. So my service does not need to carry 
the state along and it simply gets from persistence.

Thank you for answering all my questions. You are really warm-hearted! =D

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

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


[jboss-user] [Remoting] - Re: Worker thread initialization failure

2008-11-13 Thread boniek
JBoss is running production profile.

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread salaboy21
At first sight.. 
I think you have a concept problem.. 
Remember that signal method will execute your process until the processInstance 
reach a wait state...

And the process is behaving well!!

If you look you very nice graph and follow the signals you will see...
1) the first signal will go out from the start node
2) in this step you have two child tokens waiting in the S1 and S2
3) the next signal (the second one) signal the S1 child token and it moves to 
join...(the parent token is still in the fork node)
4) the next signal (the third one) will signal S2 and then beacuse S1 and S2 
are both in the join node your output will be end

Its that clear?

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread tbeernot
salaboy21 wrote : The code is in some way correct.. you need to understand 
the behaviour only
  | The two child tokens are created and propagated in the fork node, and the 
parent token stay in the fork node.. 
  | 
  | In your code you can look for child tokens in the root token and then 
signal them and not always signal the parent. Just to clear the concepts...
  | Because when you signal the root token.. it propagate the signal to the 
child tokens..

Ok. So. Ah... I get the initial root token. It moves to the fork and at that 
time two child tokens are spawned. These become its childeren.


  | 
  |  R
  | / \
  |   C1 C2
  | 
  | 

So if I do a R.getNode() I actually get the node of C1, because R is in de join 
and holding for its childeren. Then C1 moves to the join. With another 
R.getNode() I then should get the node of C2. But that does not match, because 
I never have a token that has state2. 

So I'll see what happens if I refetch the root token every time.

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Studio: Hibernate Tools Issue

2008-11-13 Thread [EMAIL PROTECTED]
There is a movie/viewlet link on both jboss.org/tools and tools.hibernate.org - 
not sure where else you want them ? :)

Which screen shots do you feel are missing ? 
You mean showing how to start the wizards ?

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

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


[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

2008-11-13 Thread emmartins
I'm having issues with Javassist, it seems that the parent of deployment unit 
created classloader, the one of the mobicents beans jar, is blacklisting 
generated classes, this is generating further errors, specially if I redeploy a 
deployable unit and classes have to be generated again.

What would be content of the class loading descriptor for the same class loader 
as it is done by default (with no such descriptor) but with blacklisting off.

Thanks,
Eduardo

PS: By the way, what's the idea of the black listing at all? :-)

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread tbeernot
tbeernot wrote : 
  | So I'll see what happens if I refetch the root token every time.

No, the behavior is identical. 

So. 

Back to the documentation: The default fork behaviour is to create a child 
token for each transition that leaves the fork, creating a parent-child 
relation between the token that arrives in the fork.

1. The token is in start. 
2. I do a signal and then the token arrives at the fork. At that time it does 
not know what to do, they may be transitions with conditions. 
3. When another signal is done on the token in the fork, THEN it will determine 
what transitions to follow and thus childeren can be created. 

It still is THE token that arrived in the fork, so after the second signal 
there should be 2 childeren. Let's verify...

No. If I print the getNode and the getChilderen.size of the same token, it does 
not match. There is only one child. And the childeren appear at the wrong time. 

StartState(start)/null
Fork(fork1)/1
State(state1)/1

Is there a good documentation? This is very confusing.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Recipe for a disaster (seam 2.1+jboss 4.2.3=fail)

2008-11-13 Thread PeterJ
anonymous wrote : This is demonstration application present in every fresh 
installation of seam.

Which application? It appears you are using an application named seamtest, yet 
I cannot find such an application under the seam_home/examples directory. I 
have used several of the application from the examples directory, making the 
most use of seambay.

OK, it looks like you are generating a new application using seamgen. Let's see 
if I can duplicate this.

anonymous wrote : This will create in jboss server default/deploy a directory 
(yes, DIRECTORY) called seamtest.ear.

Not a problem, this is an exploded deployment. You can read about them at 
http://www.jboss.org/community/docs/DOC-9719. In fact, I prefer exploded 
deployments, makes mucking with configuration files so much easier.

OK, I followed your instructions. Logged in as admin, no errors, instead got 
the home page refreshed with signed in as: admin and a logout link in the 
right side of the page header.

Wait a second. I didn't exactly follow your instructions - I didn't to the 
Eclipse thing. So I did that. Now I am getting the same error. Looks like 
Eclipse once again has screwed things up. Is it any wonder that I never build 
with Eclipse (when I install a new version of Eclipse the first conf change I 
make is to turn off automatic build) and always rely on running Ant or Maven 
from the command line instead?

My suggestion: wipe our your project directory and run seam create-project 
again. Then do not let Eclipse see that project until you have turned off 
automatic builds, and do all builds from the command line.


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

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


[jboss-user] [JBoss Portal] - Re: Deploying PHP application in JBoss Portal

2008-11-13 Thread PeterJ
This topic, and the ones I refer to, contain probably all of the information I 
know about about getting PHP to work.

Most likely the the phpservlet.dll is missing a dependency. To check this out, 
get a copy of the Dependency Walker (it comes with the XP support tools 
available of the XP installation CD, or google for it). Load the phpservlet.dll 
into the Dependency Walker and see if it reports anything missing. 

Another possibility is that the phpservlet.dll is once again using the wrong 
class name (as mentioned in one of the topics I linked to above), in which case 
you will have to compile it from source (looks like the windows download is 
still outdated).

Oh, and you are not running a 64-bit XP by any chance? If so, you will have to 
use a 32-bit JVM or the php5servlet.dll will not load.

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

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


[jboss-user] [JBoss Messaging] - Re: Bridge stops working after IOException

2008-11-13 Thread timfox
Have you tried a later version from SVN? Or looked in JIRA to see if this is a 
fixed issue?

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

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


[jboss-user] [JBoss Tools (users)] - In Eclipse Editor, Holding CTRL key while hovering over java

2008-11-13 Thread gibbs_wesley
I have a .XHTML file open in my Eclipse Java IDE editor.  

I hold the CTRL key down while I hover over the value within the 
suggestionAction attribute,
specifically the eventManager text, example below:

rich:suggestionbox id=eventSuggestions 
suggestionAction=#{eventManager.getEventNameSuggestion}

After I do this, a line appears beneath this entire bit of text: 
eventManager.getEventNameSuggestion
and when I click it, it shows the text in red font at the bottom of my window: 
Current text selection does not resolve to a file at the bottom of the 
screen, it does not link me to the respective Java file.  A coworker of mine 
does the same action but within her IDE it only underlines the text 
eventManager and when she clicks at that time it does direct her to the 
appropriate 
java file.

When I hover over the value within the template attribute below: 
s:decorate id=eventNameDecorate emplate=/layout/forms/edit.xhtml

the underline appears and it does redirect me to the respective xhtml file.  It 
appears to work when I hold the CTRL key and hover over any values in a 
directory type format but not for values in a format of java instance 
name.method name

Any advice or help is appreciated, Thank you in advance,
Wes Gibbs at [EMAIL PROTECTED]




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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: RMI behind a firewall

2008-11-13 Thread vschrade
I have JBoss Portal + AS running on XP IA32, Server2003 X64, and Server2003 
IA32.  I forget why at the moment but I altered the port number in jboss-server 
for both RMI and JNDI from 1098 and 1099 to 10098 and 10099.  I believe there 
was a port conflict for some other MS service, I'm pretty sure it was 1099 JNDI 
though, not 1098.

Vic Schrader

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

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


[jboss-user] [JBoss jBPM] - Re: not persisting instances

2008-11-13 Thread tbeernot
kukeltje wrote : you have just one of the options with one instance of the 
engine one instance of the engine is one configuration. So creating a 
context with a different configuration gives you what you want. 

Would you mind being just a tad more verbose for the new and uninitiated? 

Should I make two configuration files and use a name in the getInstance with a 
filename? Or am I supposed to integratie two configuration in one and use the 
createcontext with an identifier. Both seems to do something in that direction.

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

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


[jboss-user] [JCA/JBoss] - Re: How to specify a file url in DataSource xml

2008-11-13 Thread Nordmeyer
Yepp, that works.

Thanks, Peter!

CU,
 Thomas

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

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


[jboss-user] [JBoss Messaging] - Re: Bridge stops working after IOException

2008-11-13 Thread mclu
Hi Tim!
Not yet.

How stable is this last version? 
We have a customer who used our beta software in production.
We need to upgrade our software anyway so I plan to upgrade JBM also.

Can I use the Version 1.4.0 SP3 CP03 with jboss 4.2.1 GA? I saw in jira that a 
lot of remoting and bridge stuff was fixed in cp02. Or are these releases for a 
special server/configuration?

Or should I build from svn directly? Which Tag/Branch?

thx in advance
Markus

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread salaboy21
No NO NO!.. LOL

anonymous wrote : 
  | 
  | 1. The token is in start.
  | 2. I do a signal and then the token arrives at the fork. At that time it 
does not know what to do, they may be transitions with conditions.
  | 3. When another signal is done on the token in the fork, THEN it will 
determine what transitions to follow and thus childeren can be created. 
  | 

the second (2) point is wrong.. when the process enter to de fork node It know 
how many transition have.. so it create all the child token.. (If you don't 
belive me.. see the ForkNode.java class)

The fork node is not a wait state.. so if you signal the start-state, the 
process will continue passing thru the fork node until reach the S1 and S2 
nodes...

So do this test:

1) signal de root token
2) look for childrens.. at this time with only one signal.. you must have 2 
children.
3) then you can signal one of the child tokens and you see that the root token 
still in the fork node and the child token go to join node
4) then signal the other token and you will see that the root token moves to 
the end and the child token like the other move to join node...

Can you do that test and post your code?


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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread tbeernot
salaboy21 wrote : The fork node is not a wait state.. so if you signal the 
start-state, the process will continue passing thru the fork node until reach 
the S1 and S2 nodes...
  | 
  | So do this test:
  | 
  | 1) signal de root token
  | 2) look for childrens.. at this time with only one signal.. you must have 2 
children.
  | 3) then you can signal one of the child tokens and you see that the root 
token still in the fork node and the child token go to join node
  | 4) then signal the other token and you will see that the root token moves 
to the end and the child token like the other move to join node...
  | 
  | Can you do that test and post your code?
  | 


Sure!



  | public void test() 
  | {
  | // Declare a process with a fork
  | //   S
  | //   |
  | //   F
  | //  / \
  | // s1 s2
  | //  \ /
  | //   J
  | //   |
  | //   E
  | ProcessDefinition lProcessDefinition = 
ProcessDefinition.parseXmlString(
  | process-definition +
  |start-state name=\start\ + 
  |transition to=\fork1\/transition 
+ 
  |/start-state + 
  |fork name=\fork1\ + 
  |transition 
to=\state1\/transition + 
  |transition 
to=\state2\/transition + 
  |/fork + 
  |state name=\state1\ + 
  |transition to=\join1\/transition 
+ 
  |/state + 
  |state name=\state2\ + 
  |transition to=\join1\/transition 
+ 
  |/state + 
  |join name=\join1\ + 
  |transition to=\end\/transition + 
  |/join + 
  |end-state name=\end\/end-state +
  | /process-definition
  | );
  | 
  | // Start a process
  | ProcessInstance lProcessInstance = new 
ProcessInstance(lProcessDefinition);
  | 
  | // Get the token: we're in the start node
  | Token lToken = lProcessInstance.getRootToken();
  | System.out.println(1:  + lToken.getNode()); 
  | 
  | // First signal: goto the fork
  | lToken.signal();
  | // this should mean that this token gets two childeren
  | System.out.println(2a:  + lToken.getChildren().size()); 
  | // this token should still be in the fork
  | System.out.println(2b:  + lToken.getNode()); 
  | // this token should still be in the fork
  | System.out.println(2c:  + lToken.getChildren());
  | Token lChild1 = 
(Token)lToken.getChildren().values().iterator().next();
  | //Token lChild2 = 
(Token)lToken.getChildren().values().iterator().next();
  | // the childeren should be in state1 and state2
  | System.out.println(2d:  + lChild1.getNode()  ); 
  | //System.out.println(2e:  + lChild2.getNode()  ); 
  | }
  | 

I commented out lines because I do not have two childeren:

1: StartState(start)
2a: 1
2b: Fork(fork1)
2c: {1=Token(/1)}
2d: State(state1)

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread salaboy21
Ok, you are right.. there is something with your process definition and at 
first sight i don't find this error...
So when I test it in my IDE i find the problem very quickly:

This is your problem:

process-definition +
  |start-state name=\start\ + 
  |transition to=\fork1\/transition 
+ 
  |/start-state + 
  |fork name=\fork1\ + 
  |transition to=\state1\ 
name=\2\/transition + 
  |transition to=\state2\ 
name=\1\/transition + 
  |/fork + 
  |state name=\state1\ + 
  |transition to=\join1\/transition 
+ 
  |/state + 
  |state name=\state2\ + 
  |transition to=\join1\/transition 
+ 
  |/state + 
  |join name=\join1\ + 
  |transition to=\end\/transition + 
  |/join + 
  |end-state name=\end\/end-state +
  | /process-definition
  | 
If you look it carefully, you will find that I add the name attribute in the 
transitions..
This confuse jBPM because have to with null or empty names...
If you correct that you see the right behaviour..
Hope it helps...


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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-13 Thread tbeernot
salaboy21 wrote : 
  | If you look it carefully, you will find that I add the name attribute in 
the transitions..
  | 

Ah. Now indeed the behavior is more logical. Thanks! I'll experiment some more 
now and see if I get the concept now.

Thanks again!

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

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


[jboss-user] [JBoss jBPM] - Re: not persisting instances

2008-11-13 Thread kukeltje
Correct, both options would work. Although for the latter it could be that some 
configuration items are global and not within a context...

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

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


[jboss-user] [JBoss jBPM] - Re: not persisting instances

2008-11-13 Thread kukeltje
Correct, both options would work. Although for the latter it could be that some 
configuration items are global and not within a context...

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 4 Design Question: Stateful Process Instance

2008-11-13 Thread kukeltje
Ok, now I understand what you mean. I thought you did not need any persistance 
at all.

jBPM can already be used with persistence or not. That will certainly stay with 
jBPM 4. So if you do not want to persist anything yourself, you can user 
processinstances for that. Keep in mind though that it is not good practice to 
store a full domain model in jBPM via variables. Those should be separated. 

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

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


  1   2   >