[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 Timer Service Problem with Oracle Datasource

2008-12-08 Thread jaikiran
I haven't used this ejb3-timer-service.xml, so not sure how is it behaves. But 
there is a 

CREATE_DB_ON_STARTUP = TRUE

property is that file which you can try setting to FALSE and see if you get it 
working.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Having problems with URLDeploymentScanner

2008-12-08 Thread vimalkansal
Can somebody please help with this issue, its very urgent.

Thanks

Vimal

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

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


[jboss-user] [EJB 3.0] - Re: EJB

2008-12-08 Thread jaikiran
Could you please provide more details. Not sure what question you are asking. 
Which version of JBoss and Java do you use and what exception are  you seeing 
and when? Post the entire exception stacktrace.

While posting logs or code or xml content, remember to wrap it in a code block 
by using the Code button in the message editor window. Please hit the Preview 
button before posting, to ensure your post is correctly formatted.

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

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


[jboss-user] [Clustering/JBoss] - Re: Copying large files to members using JGroups

2008-12-08 Thread b...@jboss.com
There's a discussion of how this can be done at 
https://jira.jboss.org/jira/browse/JGRP-653.
The email lists for JGroups are at http://sourceforge.net/mail/?group_id=6081.

I would *not* (ab)use state transfer for transfer of large files. I know, some 
folks have done it this way, but I would not recommend it

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

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


[jboss-user] [JBoss Portal] - floating navigation portlet

2008-12-08 Thread peris
The left navigation(for example  it contains 4 portlets) should preferably be a 
floating navigation, which remains on the same place regardless whether the 
user moves the page up and down like the below example. refer this url 
(http://www.likno.com/examples/floatingmenu.html)

If you have any idea regarding this , please post reply.

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

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


[jboss-user] [JBoss Portal] - floating navigation portlet

2008-12-08 Thread peris
The left navigation(for example  it contains 4 portlets) should preferably be a 
floating navigation, which remains on the same place regardless whether the 
user moves the page up and down like the below example. refer this url 
(http://www.likno.com/examples/floatingmenu.html)

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

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


[jboss-user] [JBoss jBPM] - Re: Packaging issues with 3.3.0 / MySQL

2008-12-08 Thread roschmel
Oh thanks here are also the packaged jar files

Robert

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

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


[jboss-user] [JBoss Portal] - Re: How to remove jboss default home ?

2008-12-08 Thread peris
Hi guybedo,

Thankyou very much for your help.

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

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


[jboss-user] [JBoss AOP] - Re: jboss compile failing with java.io.FileNotFoundExcepti

2008-12-08 Thread miroconn...@yahoo.com
i saw the folder audit/target/classes is read-only , i am using maven2 eclipse 
to build my porject , i am executing maven install which first will do the 
compile and then call jboss compile , but the compile by maven is making th 
classes folder read-only ,  why is ti read-only ?  

"[EMAIL PROTECTED]" wrote : I am using jboss maven aop to build my project.I am 
doing a simple test trying to introduce serializable adive to my pojo.
  | 
  | here my jboss-aop
  | 
  | 
  | 
  | 
  |   | 
  |   | 
  |   | java.io.Serializable
  |   | 
  |   | 
  | 
  | 
  | here the console out put
  | 
  | [INFO] Scanning for projects...
  |   | [INFO] 

  |   | [INFO] Building audit Maven Webapp
  |   | [INFO] 
  |   | [INFO] Id: gov.hhs.grants:audit:war:0.0.1-SNAPSHOT
  |   | [INFO] task-segment: [install]
  |   | [INFO] 

  |   | [INFO] [resources:resources]
  |   | [INFO] Using default encoding to copy filtered resources.
  |   | [INFO] [compiler:compile]
  |   | [INFO] Compiling 1 source file to C:\dev\audit\target\classes
  |   | [INFO] [jbossaop:compile]
  |   | CLASSPATH: several other jar files ;C:\dev\audit\target\classes
  |   | [ERROR] Exception in thread "main" java.io.FileNotFoundException: 
C:\dev\audit\target\classes (Access is denied)
  |   | [ERROR] at java.io.FileInputStream.open(Native Method)
  |   | [ERROR] at java.io.FileInputStream.(Unknown Source)
  |   | [ERROR] at 
org.jboss.aop.standalone.Compiler.loadFile(Compiler.java:304)
  |   | [ERROR] at 
org.jboss.aop.standalone.Compiler.compile(Compiler.java:205)
  |   | [ERROR] at 
org.jboss.aop.standalone.Compiler.main(Compiler.java:92)
  |   | [INFO] [aop-debug] org.jboss.aop.instrument.InstrumentorFactory Passed 
in instrumentor: null
  |   | [INFO] [aop-debug] org.jboss.aop.instrument.InstrumentorFactory 
Defaulting instrumentor to: 
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
  |   | [INFO] [aop-debug] org.jboss.aop.AdvisorFactory Passed in advisor: null
  |   | [INFO] [aop-debug] org.jboss.aop.AdvisorFactory [debug] Defaulting 
advisor to: org.jboss.aop.ClassAdvisor
  |   | [INFO] [aop-debug] org.jboss.aop.Deployment jboss.aop.class.path is NULL
  |   | [INFO] [aop-debug] org.jboss.aop.Deployment jboss.aop.search.classpath: 
'null' true
  |   | [INFO] [aop-debug] org.jboss.aop.Deployment jboss.aop.path: 
C:\dev\audit\src\main\resources\jboss-aop.xml
  |   | [INFO] [aop-debug] org.jboss.aop.Deployment jboss.aop.path[0]: 
C:\dev\audit\src\main\resources\jboss-aop.xml
  |   | [INFO] [aop-debug] org.jboss.aop.Deployment deploying 
file:/C:/dev/audit/src/main/resources/jboss-aop.xml
  |   | [INFO] [aop-debug] org.jboss.aop.AspectXmlLoader AspectXMLLoader using 
[EMAIL PROTECTED]
  |   | 
  |   | 
  | please help me   resolve this issue

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

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


[jboss-user] [Clustering/JBoss] - Copying large files to members using JGroups

2008-12-08 Thread forumer
I need to copy large files (100MB to 1GB) between different machines. JGroups 
seems to be a good fit for doing this. Browsing the web, I find that this can 
be done fairly easily between two machines using state transfer which, 
apparently, uses TCP. However, multicasting would be a better solution because 
of many members and large files. I've read some conjectures about how this 
could be done but haven't seen a definitive solution. I understand that 
multicasting streams is not a viable approach for accomplishing this.

I'd appreciate any suggestions and experiences about how to go about doing this.

Thanks

P.S I hope I am posting in the right forum as I couldn't find one for JGroups.

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

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


[jboss-user] [JBoss AOP] - jboss compile failing with java.io.FileNotFoundException:

2008-12-08 Thread miroconn...@yahoo.com
I am using jboss maven aop to build my project.I am doing a simple test trying 
to introduce serializable adive to my pojo.

here my jboss-aop




  | 
  | 
  | java.io.Serializable
  | 
  | 


here the console out put

[INFO] Scanning for projects...
  | [INFO] 

  | [INFO] Building audit Maven Webapp
  | [INFO] 
  | [INFO] Id: gov.hhs.grants:audit:war:0.0.1-SNAPSHOT
  | [INFO] task-segment: [install]
  | [INFO] 

  | [INFO] [resources:resources]
  | [INFO] Using default encoding to copy filtered resources.
  | [INFO] [compiler:compile]
  | [INFO] Compiling 1 source file to C:\dev\audit\target\classes
  | [INFO] [jbossaop:compile]
  | CLASSPATH: several other jar files ;C:\dev\audit\target\classes
  | [ERROR] Exception in thread "main" java.io.FileNotFoundException: 
C:\dev\audit\target\classes (Access is denied)
  | [ERROR] at java.io.FileInputStream.open(Native Method)
  | [ERROR] at java.io.FileInputStream.(Unknown Source)
  | [ERROR] at org.jboss.aop.standalone.Compiler.loadFile(Compiler.java:304)
  | [ERROR] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:205)
  | [ERROR] at org.jboss.aop.standalone.Compiler.main(Compiler.java:92)
  | [INFO] [aop-debug] org.jboss.aop.instrument.InstrumentorFactory Passed in 
instrumentor: null
  | [INFO] [aop-debug] org.jboss.aop.instrument.InstrumentorFactory Defaulting 
instrumentor to: org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
  | [INFO] [aop-debug] org.jboss.aop.AdvisorFactory Passed in advisor: null
  | [INFO] [aop-debug] org.jboss.aop.AdvisorFactory [debug] Defaulting advisor 
to: org.jboss.aop.ClassAdvisor
  | [INFO] [aop-debug] org.jboss.aop.Deployment jboss.aop.class.path is NULL
  | [INFO] [aop-debug] org.jboss.aop.Deployment jboss.aop.search.classpath: 
'null' true
  | [INFO] [aop-debug] org.jboss.aop.Deployment jboss.aop.path: 
C:\dev\audit\src\main\resources\jboss-aop.xml
  | [INFO] [aop-debug] org.jboss.aop.Deployment jboss.aop.path[0]: 
C:\dev\audit\src\main\resources\jboss-aop.xml
  | [INFO] [aop-debug] org.jboss.aop.Deployment deploying 
file:/C:/dev/audit/src/main/resources/jboss-aop.xml
  | [INFO] [aop-debug] org.jboss.aop.AspectXmlLoader AspectXMLLoader using 
[EMAIL PROTECTED]
  | 
  | 
please help me   resolve this issue

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

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


[jboss-user] [JBoss jBPM] - GPD Source

2008-12-08 Thread wkzk
Hi.
I'm trying to build GPD from the sources.
Is http://anonsvn.jboss.org/repos/jbpm/legacy/tempranillo/designer/
the current place?
Just in case.

waki

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 Timer Service Problem with Oracle Datasource

2008-12-08 Thread ilangocal
"jaikiran" wrote : anonymous wrote : ner) sql failed: CREATE TABLE 
QRTZ_JOB_DETAILS(JOB_NAME  VARCHAR2(80) NOT NULL, JOB_GROUP VARCHAR2(8
  |   | 0) NOT NULL, DESCRIPTION VARCHAR2(120) NULL, JOB_CLASS_NAME   
VARCHAR2(128) NOT NULL, IS_DURABLE VAR
  |   | CHAR2(1) NOT NULL, IS_VOLATILE VARCHAR2(1) NOT NULL, IS_STATEFUL 
VARCHAR2(1) NOT NULL, REQUESTS_RECO
  |   | VERY VARCHAR2(1) NOT NULL, JOB_DATA BLOB NULL, PRIMARY KEY 
(JOB_NAME,JOB_GROUP))
  |   | java.sql.SQLException: ORA-00955: name is already used by an existing 
object
  | 
  | Does your Oracle database already has this table and JBoss is trying to 
create it again on startup?
  | 

You are right. I can see tables in the database. Maybe that would explain why 
it is complaining when it sees a create table statement again (in 
ejb3-timer-service.xml??)
I am not sure what to do about this problem. Please help.



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

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


[jboss-user] [JBoss jBPM] - Problem facing configuraing JBPM with SQL Server

2008-12-08 Thread santayan
Anyone plz help me to configure JBPM with SQL Server. It is very helpful if 
anyone can share a document regarding that. I have tried a lot to solve the 
problem. But whenever I loged in it automatically go to Hypersonic DB and 
SQLServer is not getting used. Plz help. Its very urgent.

I have used JBOSS4.2.3 and jbpm-installer-3.3.0.GA.

My jbpm-mssqldb-ds.xml looks like...




  
JbpmDS


jdbc:jtds:sqlserver://inkolsaljnj01:1433/FRAMEWORK
net.sourceforge.jtds.jdbc.Driver




1
5


0



32



  MS SQLSERVER2000




  

  



I have also added the below in login-config.xml


   
 
   java:/JbpmDS
   
 SELECT PASSWORD_ FROM itrinno.JBPM_ID_USER WHERE NAME_=?
   
   
 SELECT g.NAME_ ,'Roles' 
 FROM itrinno.JBPM_ID_USER u,
  itrinno.JBPM_ID_MEMBERSHIP m,
  itrinno.JBPM_ID_GROUP g
 WHERE g.TYPE_='security-role'
   AND m.GROUP_ = g.ID_
   AND m.USER_ = u.ID_
   AND u.NAME_=?
   
 
   


Should I need to change anything in hibernate config files...or any other 
files...plz advise...

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and security role references

2008-12-08 Thread leobaz2
That is what you do to declare your roles.  I have already done that.  I need 
to declare my role references because the roles that I have hardcoded in my 
beans might not necessarily be the roles used in the deployment.

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

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


[jboss-user] [JBoss AOP] - new bee maven aop plugin strugling with org/jboss/aop/standa

2008-12-08 Thread miroconn...@yahoo.com
I am new bee trying to use maven-jbossaop-plugin for my project here is my pom 
, I am using java 1.6 
 
http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
  |   4.0.0
  |   lab
  |   my.testing
  |   jar
  |   0.0.1-SNAPSHOT
  |   my.testing
  |   http://maven.apache.org
  | 
  | 
  | 
  | 
  |   org.jboss.maven.plugins
  |   maven-jbossaop-plugin
  |   1.0.0.GA
  |   
  | 
  |   compile
  |   
  |   
  | 
true
  | 
  |   src/main/resources/jboss-aop.xml
  |   
  | 
  | 
  |   
  |   
  | compile
  |   
  | 
  |   
  | 
  | 
  | maven-compiler-plugin
  | 2.0.2
  | 
  |   1.6
  |   1.6
  | 
  |
  | 
  | 
  | 
  |
  | 
  |maven.jboss.org
  |JBoss Maven Repository
  |http://repository.jboss.com/maven2
  | 
  | 
  | 
  | 
  | 
  |  
when I run maven install I get this error 


[INFO] Scanning for projects...
  | [INFO] 

  | [INFO] Building my.testing
  | [INFO] 
  | [INFO] Id: lab:my.testing:jar:0.0.1-SNAPSHOT
  | [INFO] task-segment: [install]
  | [INFO] 

  | [INFO] [resources:resources]
  | [INFO] Using default encoding to copy filtered resources.
  | [INFO] [compiler:compile]
  | [INFO] Nothing to compile - all classes are up to date
  | [INFO] [jbossaop:compile]
  | [ERROR] java.lang.UnsupportedClassVersionError: 
org/jboss/aop/standalone/Compiler (Unsupported major.minor version 49.0)
  | [ERROR] at java.lang.ClassLoader.defineClass0(Native Method)
  | [ERROR] at java.lang.ClassLoader.defineClass(Unknown Source)
  | [ERROR] at java.security.SecureClassLoader.defineClass(Unknown Source)
  | [ERROR] at java.net.URLClassLoader.defineClass(Unknown Source)
  | [ERROR] at java.net.URLClassLoader.access$100(Unknown Source)
  | [ERROR] at java.net.URLClassLoader$1.run(Unknown Source)
  | [ERROR] at java.security.AccessController.doPrivileged(Native Method)
  | [ERROR] at java.net.URLClassLoader.findClass(Unknown Source)
  | [ERROR] at java.lang.ClassLoader.loadClass(Unknown Source)
  | [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  | [ERROR] at java.lang.ClassLoader.loadClass(Unknown Source)
  | [ERROR] at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  | [ERROR] Exception in thread "main" 


please help me resolve this big problem

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

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


[jboss-user] [EJB 3.0] - Re: Cross-referencing EJBs doesn't work

2008-12-08 Thread ALRubinger
The Integration Test is passing:

http://jboss.hudson.alrubinger.com/job/EJB3_Integration_TestSuite_AS5_GA/lastBuild/testReport/org.jboss.ejb3.test.circulardependency.unit/

Please post relevant layout and errors in a new topic (so we don't hijack this 
one). ;)

S,
ALR

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 Timer Service Problem with Oracle Datasource

2008-12-08 Thread ilangocal
Jaikiran
This table already exists in the database.
Also, the error "java.sql.SQLException: ORA-00942: table or view does not 
exist" is because a table called qrtz_locks does not exist.
I tried to run the SQL script in docs/dbTables, after deleting all the tables, 
and started JBoss, but then this is what is happening.

I can't deploy my EJBs as a result, and I do not even need the quartz scheduler 
or timer service at the moment.

I have been wrestling with this for a week now, and no results! Any workarounds 
are appreciated.



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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss tools 3 daily Deployment failure due to spaces?

2008-12-08 Thread rob.stry...@jboss.com
Already fixed ;)  I think.

[JBoss JIRA] Commented: (JBIDE-3368) In WINDOWS default metadata location 
CONTAINS SPACES, no good

Committed a fix earlier today. 

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

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


[jboss-user] [JCA/JBoss] - DS URLSelector

2008-12-08 Thread emmitt1219
Is there any plan to port the url select strategy feature 
 that is currently in 5 to 4 in the future?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Apache Portable Runtime (APR) on Jboss 4.2.3 GA

2008-12-08 Thread PeterJ
Which version of JBoss Native are you using? The run script assumes that the 
shared objects in JBoss Native are located at a certain directory. 
Unfortunately, the directory structure of JBoss Native changed, I think in 
2.0.3. The JBoss AS 4.2.x run scripts assume the pre 2.0.3 directory structure. 
You can either:

a) change the run scripts to use the new directory structure (look at the JBoss 
AS 5.0 run script - it uses the new structure)
b) revert to 2.0.2 (or whatever the last version was that had the old directory 
structure)

Note that you do not need APR to run JBoss AS - it runs just fine without it. 
Note that the log message was of type "info", not "warning" or "error".

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

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


[jboss-user] [JBoss Tools (users)] - JBoss tools 3 daily Deployment failure due to spaces?

2008-12-08 Thread bdlink
Windows OS.  Started with Eclipse 3.4.1 EE version, updated with BRIT and JBoss 
Tools update site enabled.  Installed latest daily, N200812080252.  Added JBoss 
AS 4.2.3.GA as "JBoss, a division of Red Hat JBoss 4.2 Runtime" and created a 
new local server by checking checkbox in New Server Runtime Environment wizard.

Created new Seam project, testseam, and added Jboss-seam-2.0.2.SP1 as Seam 
Runtime version 2.0 (remark - it would not allow adding a version 2.1 here, but 
does allow it via preferences window) (remark - when opening seam runtime in 
preferences window and selecting edit, it sets version to 1.2 instead of 
picking up current version setting).  Connector was MYSQL (innodb) to exisiting 
database I use for testing (this process has worked in the past, and works on 
JBDS 2 beta - using stock server and seam).

Try to run on server, get exception (traceback edited down):
12:49:25,218 ERROR [[/testseam]] Exception sending context initialized event to 
listener instance of class org.jboss.seam.servlet.SeamListener
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: testseamEntityManagerFactory
  | ...
  | Caused by: javax.persistence.PersistenceException: 
java.lang.IllegalArgumentException: Unable to visit JAR 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/WEB-INF/classes. Cause: Illegal character in 
path at index 83: 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/WEB-INF/classes
  | ...
  | Caused by: java.lang.IllegalArgumentException: Unable to visit JAR 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/WEB-INF/classes. Cause: Illegal character in 
path at index 83: 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/WEB-INF/classes
  | at 
org.hibernate.ejb.packaging.JarVisitor.getVisitor(JarVisitor.java:100)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:226)
  | ... 175 more
  | 12:49:25,234 ERROR [StandardContext] Error listenerStart
  | 12:49:25,234 ERROR [StandardContext] Context [/testseam] startup failed due 
to previous errors
  | 12:49:25,234 WARN  [ServiceController] Problem starting service 
jboss.web.deployment:war=testseam.war,id=-1001488612
  | org.jboss.deployment.DeploymentException: URL 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/ deployment failed
  | 
Problem seems to be spaces in path (char at index 83 mentioned in error is a 
space).  I used default names for server given by add runtime wizard.



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

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


[jboss-user] [JBoss jBPM] - Problem deploying on JBoss 5

2008-12-08 Thread karypid
If anyone is trying to run jBPM 3.3.0 on JBoss 5, please use this thread to 
post your experience.

I've come across two issues, the first of which was simple to fix, whereas the 
other I hope someone will step up and fix:

NOTE: I am using the "default" configuration of JBoss 5 and Sun JDK 1.5

1) Multiple data sources are installed in server/default/deploy/jbpm

Regardless of which database you select, the installation creates data sources 
for all supported DBs: jbpm-hsqldb-ds.xml, jbpm-mysql-ds.xml, 
jbpm-postgresql-ds.xml and jbpm-sybase-ds.xml. Remove / rename the ones you 
don't need so that deployment errors regardin the JbpmDS are fixed.

2) Accessing the traditional (not GWT) console causes an exception to be thrown:

When accessing http://localhost:8080/jbpm-console I am redirected to 
http://localhost:8080/jbpm-console/sa/processes.jsf

There, I get the following error:

  | 00:26:37,610 ERROR [compiler] Missing Built-in Tag Libraries! Make sure 
they are included within the META-INF directory of Facelets' Jar
  | 00:26:38,375 ERROR [viewhandler] Error Rendering 
View[/ua/login-example.xhtml]
  | java.lang.NullPointerException
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
  | at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
  | at 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
  | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
  | at 
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316)
  | at 
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
  | at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
  | at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
  | 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:158)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:595)
  | 00:26:38,375 ERROR [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View 
ID: /ua/login-example.xhtml) Exception thrown during phase execution: [EMAIL 
PROTECTED]
  | 00:26:38,375 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
  | 

It looks like some tag libraries are missing. Can somebody say what files to 
add and in what directory?


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

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


[jboss-user] [JBoss jBPM] - Re: sending emil in using JBPM

2008-12-08 Thread kukeltje
anonymous wrote : Some links seem to show that there is a userid and password 
variable

Could be from someone that made his own mailservice you could do that as 
well. Look at the source of jbpm and it is not that difficult

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

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


[jboss-user] [Beginners Corner] - Re: Persist rich extendeddatatable state

2008-12-08 Thread priestex
Hey,

I implemented the table state and it works perfectly for me.
I am using the latest GA version of rich faces. Maybe updating to the latest 
version will resolve the problem for you too.

Let me know if you need me to post my code, but its pretty much the same as 
what you have written here


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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Apache Portable Runtime (APR) on Jboss 4.2.3 GA

2008-12-08 Thread [EMAIL PROTECTED]
I am having a slightly different problem. It is finding the native directory 
but not APR.

I run JBoss and it reports that it can not find APR in a bunch of directories. 
I download jboss-native-2.0.6-linux2-x86-ssl.tar.gz and follow the instructions 
on http://www.jboss.org/community/docs/DOC-9912 which has me moving files from 
META-INF/lib/linux2/x86 to jboss/bin/native and META-INF/bin/linux2/x86 to 
jboss/bin. It finds the native directory but not APR.

Before the download install.

16:17:16,715 INFO  [AprLifecycleListener] The Apache Tomcat Native library 
which allows optimal performance in production environments was not found on 
the java.library.path: 
/usr/jdk1.5.0_03/jre/lib/i386/server:/usr/jdk1.5.0_03/jre/lib/i386:/usr/jdk1.5.0_03/jre/../lib/i386

The results of the download and install.

[EMAIL PROTECTED] bin]$ find . -type f | sort
./classpath.sh
./javassist.jar
./jboss_init_hpux.sh
./jboss_init_redhat.sh
./jboss_init_suse.sh
./jboss.pid
./jboss.pidx
./jboss-profiler.jar
./jboss-profiler-plugins.jar
./jboss-profiler.properties
./.jboss-profiler.properties.swp
./jsvc
./native/engines/lib4758cca.so
./native/engines/libaep.so
./native/engines/libatalla.so
./native/engines/libcapi.so
./native/engines/libchil.so
./native/engines/libcswift.so
./native/engines/libgmp.so
./native/engines/libnuron.so
./native/engines/libsureware.so
./native/engines/libubsec.so
./native/libapr-1.so
./native/libaprutil-1.so
./native/libcrypto.so
./native/libexpat.so
./native/libssl.so
./native/libtcnative-1.so
./native/libz.so
./openssl
./probe.bat
./probe.sh
./run.bat
./run.conf
./run.jar
./run.sh
./shutdown.bat
./shutdown.jar
./shutdown.sh
./startup.bat
./startup.sh
./twiddle.bat
./twiddle.jar
./twiddle.log
./twiddle.sh
./wsconsume.bat
./wsconsume.sh
./wsprovide.bat
./wsprovide.sh
./wsrunclient.bat
./wsrunclient.sh
./wstools.bat
./wstools.sh
[EMAIL PROTECTED] bin]$ 

The restart after the install.

JBOSS_HOME: /usr/local/jboss
JBoss Profiler 2.0.Beta4 (Sun Microsystems Inc. 1.5.0_03)
JBoss Profiler depends on external communication module
16:29:56,757 INFO  [Server] Starting JBoss (MX MicroKernel)...
16:29:56,759 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: 
SVNTag=JBoss_4_2_3_GA date=200807181417)
16:29:56,761 INFO  [Server] Home Dir: /usr/local/jboss-4.2.3.GA
16:29:56,761 INFO  [Server] Home URL: file:/usr/local/jboss-4.2.3.GA/
16:29:56,763 INFO  [Server] Patch URL: null
16:29:56,763 INFO  [Server] Server Name: default
16:29:56,763 INFO  [Server] Server Home Dir: 
/usr/local/jboss-4.2.3.GA/server/default
16:29:56,764 INFO  [Server] Server Home URL: 
file:/usr/local/jboss-4.2.3.GA/server/default/
16:29:56,764 INFO  [Server] Server Log Dir: 
/usr/local/jboss-4.2.3.GA/server/default/log
16:29:56,765 INFO  [Server] Server Temp Dir: 
/usr/local/jboss-4.2.3.GA/server/default/tmp
16:29:56,765 INFO  [Server] Root Deployment Filename: jboss-service.xml
16:29:57,720 INFO  [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
16:29:57,720 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_03-b07,Sun Microsystems Inc.
16:29:57,720 INFO  [ServerInfo] OS-System: Linux 2.4.21-57.ELsmp,i386
16:29:58,298 INFO  [Server] Core system initialized
16:30:02,357 INFO  [WebService] Using RMI server codebase: 
http://bri-devweb01:8083/
16:30:02,361 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
16:30:03,291 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA 
version) - JBoss Inc.
16:30:03,291 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
16:30:03,709 INFO  [TransactionManagerService] Starting recovery manager
16:30:03,988 INFO  [TransactionManagerService] Recovery manager started
16:30:03,988 INFO  [TransactionManagerService] Binding TransactionManager JNDI 
Reference
16:30:10,726 INFO  [EJB3Deployer] Starting java:comp multiplexer
16:30:11,190 INFO  [Profiler] JBoss Profiler: ProfilerMBean started
16:30:11,190 INFO  [Communicator] JBoss Profiler: Communicator for JBoss 
Profiler 2.0.Beta4
16:30:11,199 INFO  [Communicator] JBoss Profiler: Socket=0.0.0.0:5400
16:30:16,800 INFO  [NativeServerConfig] JBoss Web Services - Native
16:30:16,801 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA 
(build=200803312044)
16:30:18,049 INFO  [Embedded] Catalina naming disabled
16:30:18,334 INFO  [AprLifecycleListener] The Apache Tomcat Native library 
which allows optimal performance in production environments was not found on 
the java.library.path: /usr/local/jboss/bin/native
16:30:18,476 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-0.0.0.0-9080
16:30:19,925 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-9443
16:30:19,927 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-9009

[EMAIL PROTECTED] bin]$ cat /proc/cpuinfo 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 4
model name  : Intel(R) Xeon(TM) CPU 3.20GHz
stepping: 1
cpu MH

[jboss-user] [JBoss jBPM] - Re: sending emil in using JBPM

2008-12-08 Thread shantanu.u
It works now. To summarize for those who may need it :

1.
Make the following additions in the jbpm.cfg.xml

   
  | 
  |  
  | 
Last two entries are optional.

2. In my task node, I do this :

  | 
  |
  |
  | ...
  | ..
  |
  |
  | 

I would have liked to authenticate with the mail server using but there's no 
indication in the JBPM docs that it accepts user id and password. Some links 
seem to show that there is a userid and password variable .

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss testsuite errors with jboss-5.0.0.GA built from source

2008-12-08 Thread frankgrimes97
Hi All,

I recently downloaded the jboss-5.0.0.GA source distribution to kick the tires 
a bit.
FYI, I'm an old-time JBoss user since the 3.0 release, and current have 
jboss-4.0.5.GA in production.

I'm noticing a whole bunch of test suite errors and failures when building and 
testing it with SUN JDK 6u11 on Windows Vista 32-bit.

There also seem to be a bunch of build and testsuite failures for 5.0.0 listed 
at  http://hudson.jboss.org/hudson/view/JBoss%20AS/ 

Is the testsuite still end-user friendly, or does it require some kind of setup 
currently only available on the internal JBoss QA servers? (for clustering, 
etc.)


Thanks,

Frank Grimes

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

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


[jboss-user] [Beginners Corner] - Re: Persist rich extendeddatatable state

2008-12-08 Thread nfeybesse
anonymous wrote : 
  | 
  | 
  | 
  | 

BackBean :

anonymous wrote : 
  | public String getState() {
  | return state;
  | }
  | 
  | public void setState(String state){
  | this.state=state;
  | }
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: creating new pooledactors for every task instance in JBP

2008-12-08 Thread kukeltje
huh? do you have a unit test that show this? Might be that the actual pooled 
actor of the swimlane is copied runtime, but that is not what you want. Suppose 
you change the assignment in the swimlane... then all pooled actors of 
taskinstances pointing to that swimlane would have the wrong actors hmmm...

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot find method addChild with this signature

2008-12-08 Thread mduffy_lists
lasser.war:  error  images  index.html  javascript  kmz  META-INF  pdf  styles  
view  WEB-INF

WEB-INF:  classes fmt.tldsql-rt.tld  
struts-config.xmlstruts-logic.tld struts-tiles.tld  x-rt.tld
c-rt.tldjboss-web.xml  sql.tld struts-html-el.tld   
struts-nested.tldtiles-defs.xmlx.tld
c.tld   libstruts-bean-el.tld  struts-html.tld  
struts-template.tld  validation.xml
fmt-rt.tld  securityfilter-config.xml  struts-bean.tld struts-logic-el.tld  
struts-tiles-el.tld  web.xml


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

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


[jboss-user] [JBoss jBPM] - Re: find actors

2008-12-08 Thread kukeltje
create a custom query for this

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

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


[jboss-user] [JBoss jBPM] - Re: jpdl-jbpm Standalone service

2008-12-08 Thread kukeltje
uhhmm... using the installer, select that you want to use a jboss as server and 
you are done... one selfcontained, standalone service.


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

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


[jboss-user] [JBoss jBPM] - Re: Packaging issues with 3.3.0 / MySQL

2008-12-08 Thread kukeltje
hmmm you are right... But that is why there is:

http://repository.jboss.org/maven2/org/jbpm/jbpm3/

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Beta

2008-12-08 Thread rob.stry...@jboss.com
I develop, run, and test in an x86_64 environment. The drivers you need are 
over here:

http://repository.jboss.org/xulrunner/

The xpcom one is required, and the appropriate xulrunner is required. 

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

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


[jboss-user] [EJB 3.0] - performance hibernate vs EJB3

2008-12-08 Thread apdo
I know jboss EJB3 use hibernate technology. 

Should we expect identical peformance using EJB3 or hibernate (both behind 
slsb).

I expect the answer to be yes. However, I'm performing some testing and I'm 
getting better performance using hibernate. Is this possible or my tests are 
incorrect? According to me both tests use the same configuration. I have 
configure second-level cache. I have test with and without query cache.

Test 1: insertion of 10 objects with relations.
for insertion my hibernate test perform 25% faster than with EJB3.

Test 2: read 10 objects
also faster by about 25%.

Test 3: read 1000 objects
I got similar performance.

I must do something wrong to get different results with both API but I would 
like to have the point of view of others.

thanks,

An Phong Do

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

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


[jboss-user] [EJB 3.0] - Re: Cross-referencing EJBs doesn't work

2008-12-08 Thread mturner24
I'm currently migrating my application to JBoss 5.0.0 GA  and the circular 
dependency are no longer ignore with the IgnoreDependency annotation. did 
anything change regarding jboss 5 ?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot find method addChild with this signature

2008-12-08 Thread PeterJ
Looks like you have an exploded deployment. Do an "ls" in the lasser.war 
directory instead.

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

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


[jboss-user] [JBossWS] - Re: WS-Security Username Token Password Digest

2008-12-08 Thread bschmoll1
For any other interested parties...

4.2.2 - doesn't work
4.2.3 - doesn't work
5.0.0 - works

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5 and CorbaOrb

2008-12-08 Thread PeterJ
That is normal. Note that is is a debug log entry, and not an error or warning.

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

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


[jboss-user] [EJB 3.0] - EJB

2008-12-08 Thread thiagomontovaneli
So, Is there any form of find in JNDI of jboss the name of the my EJB? Because 
I am developing a EJB and in time that call him, is throw a exception... 



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

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


[jboss-user] [Management, JMX/JBoss] - Re: JMX bean creating InitialContext: Works from JMX consol

2008-12-08 Thread dasmith836
TO CLARIFY:

the exception


javax.naming.NoInitialContextException: Cannot instantiate class: 
org.jnp.interfaces.NamingContextFactory [Root exception is 
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory] 

is occurring on the server, not on the client.  I can watch it happen using 
IDEA remote debugging on the JBoss instance.  I'm wondering if there is a class 
loader issue, since the RMI access takes a much different code path than the 
JMX console does.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: eclipse + jboss + web services

2008-12-08 Thread PeterJ
What version of Eclipse and what version of JBoss Tools?

The tutorial should be right one (though I admit it might be dated) because, 
from my understanding, Dev Studio is the supported version and Tools is the 
community version, but the code base is the same. Also, that is the tutorial 
linked to from the Tools web page.

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Beta

2008-12-08 Thread PeterJ
Try using a 32-bit JDK. You will probably have to download it from the Sun web 
site and install it yourself. I have done this for my 64-bit Kubuntu and can 
run either 32-bit or 64-bit JVM. I typically use the 32-bit JVM for running 
Eclipse.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot find method addChild with this signature

2008-12-08 Thread mduffy_lists
java.io.FileNotFoundException: lasser.war (Is a directory)
  | at java.io.FileInputStream.open(Native Method)
  | at java.io.FileInputStream.(FileInputStream.java:106)
  | at java.io.FileInputStream.(FileInputStream.java:66)
  | at sun.tools.jar.Main.run(Main.java:205)
  | at sun.tools.jar.Main.main(Main.java:1022)
  | 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: domain in jboss

2008-12-08 Thread PeterJ
That still does not explain what a domain is.

In JBoss AS, you can deploy an application by simply copying it to the 
server/xxx/deploy directory. For example, if you deploy foo.war, you can access 
it using the url http://localhost:8080/foo.  Not sure if that answers your 
question.

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

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


[jboss-user] [Beginners Corner] - Re: create domain

2008-12-08 Thread PeterJ
Perhaps you should explain a little bit about what a "domain" is in WebLogic? 
JBoss AS might or might not have a similar concept but use a different name for 
it, so without knowing what it is, it is hard to say.

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

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


[jboss-user] [JBoss jBPM] - Re: creating new pooledactors for every task instance in JBP

2008-12-08 Thread stringaling
Thanks for your response.

I made the change to swimlanes;  but it doesn't seem to affect the behavior of 
creating records in the JBPM_POOLEDACTOR table for every task instance. 

I guess this is just how it works. Perhaps I'll repost on the JBPM-DEV list for 
comment.

Thanks,
David

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problems running JBoss

2008-12-08 Thread PeterJ
Aditya, I am not sure why you posted to an old topic. In addition, why did you 
not follow the suggestion made by Jaikiran - without that information we cannot 
help you.

"jaikiran" wrote : You will be seeing the actual exceptions somewhere at the 
beginning of the logs. Post those here.

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

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


[jboss-user] [JBoss Portal] - Re: Can't get JBoss Portal Source Code to deploy

2008-12-08 Thread PeterJ
You do not have to build Portal, nor JBoss AS, in Eclipse in order to use 
Eclipse to develop portlets. What I did was create a simple web application 
project and added the jboss-portal.sar/lib/portal-portlet-lib.jar file to the 
libraries in my project's build path.  

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5 and CorbaOrb

2008-12-08 Thread peiguo
JBoss 5 spits out several stack trace complaining CorbaOrb. Is this the norm? 
or does it indicate something is wrong, either with my installation, or JBoss 
itself?

Below is just one example of such message.


  | 2008-12-08 08:46:52,841 DEBUG 
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Unable to 
retrieve orb
  | javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not 
registered.
  | at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)
  | at 
org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559)
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:507)
  | at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4388)
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
  | at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
  | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
  | at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
  | at $Proxy36.start(Unknown Source)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
  | at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  | at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
  | 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.system.ServiceController.doChange(ServiceController.java:688)
  | at org.jboss.system.ServiceController.start(ServiceController.java:460)
  | at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | at 
org.jboss

[jboss-user] [JBoss Portal] - Re: Can't get Portal+AS binary to run on windows

2008-12-08 Thread PeterJ
You are using a very old version of JDK 6. I recommend either updating you JDK 
to 6u7 or 6u10, or perhaps going with the latest JDK 5.

Also,what you posted was the deployment report which rarely indicates why the 
deployments failed. Earlier in the console log  there should be an exception 
stack trace earlier in the console log which gives the real cause. You might 
have to increase the buffer size for the command prompt to prevent the stack 
trace from scrolling off of the window (I set mine to 900 lines), or you can 
redirect stdout to a file. So if you are still having problems, please post the 
first exception stack from the console log.  

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

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


[jboss-user] [EJB/JBoss] - Re: EJBs in a Load Balanced Environment

2008-12-08 Thread ejsdeveloper
Hi Daniel,

Thanks for the link. There is lots to read here. Any shortcuts or hints?

Thanks again.

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

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


[jboss-user] [Beginners Corner] - Re: Persist rich extendeddatatable state

2008-12-08 Thread priestex
Hi nfeybesse,

Thanx for your response.
Looked at the issue you pointed out but I still dont understand how to 
implement the tablestate.

I'd appreciate if you could give me sample code that does this and I will try 
see if I get the same problem as you.

I'd be happy to vote on the bug if I can replicate is as well.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: JMX bean creating InitialContext: Works from JMX consol

2008-12-08 Thread dasmith836
Jboss 4.2.2

On the client?  This exception is happening on the server, NOT on the client.

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

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


[jboss-user] [JBoss jBPM] - find actors

2008-12-08 Thread pgros
Hi is there any possibility to get a list of actors for all TaskInstances?
or have i to remember by my own to which actors i assigned tasks

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM/Spring/jUnit

2008-12-08 Thread pojomonkey
I agree that my original use of the assignment handler for the start-task etc. 
was flawed - hence why I've now removed it.

anonymous wrote : 
  | All I was hoping for with this thread was to get some ideas as to why the 
DelegationException is thrown when I invoke createStartTaskInstance() from a 
jUnit test, but NOT when the same code is run as part of the normal running of 
the app.

"kukeltje" wrote : That is new information (or maybe I missed it somewhere in 
the split posts). Most often it is a classloader issue if you see this 
different behaviourIt was in my first post, but probably not obvious. Yes, it 
does seem to be a classloader issue - running in the context of JUnit - for now 
I'm getting:
java.lang.ClassCastException: org.springmodules.workflow.jbpm31.JbpmHandlerProxy
  | at org.jbpm.graph.def.Action.execute(Action.java:121)
Following from:
getJbpmTemplate().execute(new JbpmCallback() {
  | public Object doInJbpm(final JbpmContext context) {
  |   
  | // Create a new process instance
  | final ProcessInstance pi = 
context.newProcessInstanceForUpdate(processName);
  | 
  | if (pi != null) {
  | pi.getRootToken().signal();
  | }
  | 
  | return null;
  | }
  | });
  | 

As I've got a deadline looming, I have no choice but to give up on trying to 
solve this conundrum, for now.

Thanks for your input so far. If anyone has any similar experience trying to 
JUnit test their Spring app (with jBPM 'under the hood') then I'd be glad to 
hear how you got around this issue.

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

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


[jboss-user] [Beginners Corner] - Using same job class in Quartz scheduler

2008-12-08 Thread ramboid
How can I use the same class as a quartz job in Quartz?  I am creating quartz 
jobs with the quartz implementaion of  JBoss 4.2.3.GA.  From a web object I add 
the job to the scheduler and create the cron.  I add the job class name in the 
job detail as follows:
org.quartz.JobDetail jd = new org.quartz.JobDetail("myjob",sched.DEFAULT_GROUP, 
NewJob.class);
I want to use the same job class (NewJob.class) with different parameters in 
the job detail and add it to the scheduler with a adifferent cron trigger but 
Quartz errors out saying that the class is already in use.  I must create a 
copy of the job class with a different name and then I can successfuly schedule 
the jobs.  The job class is just calling different web objects depending on the 
parameters of the job detail but the code of the class is the same in the two 
copies of the job class.  I want to avoid creating the same class with 
different names everytime that I have to schedule one of these calls.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a service on Windows (using options)

2008-12-08 Thread Marcos_APS
Hello, jaikiran!

I've just installed JBoss as a service on Windows. It's working ok. But I got a 
little scared the first time I restarted the server machine and noticed that 
the JBoss service was not initiated. Then I went to Control Panel | Services 
and noticed that the JBoss service was configured to start manually. So I 
changed it to start automatically, restarted the server again and it worked. 
So, why when we install JBoss as a service this isn't the default, I mean, to 
start the service automatically? I think it's difficult to figure out that.

Marcos

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

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


[jboss-user] [J2EE Compliance] - Re: Sending cyrillic data to ActionHandler

2008-12-08 Thread helter_skelter
did you find the solution ? please

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

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


[jboss-user] [JBossWS] - Re: how to deal with unicode

2008-12-08 Thread helter_skelter
have you find the solution ? please

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss5, Hibernate and EHCache

2008-12-08 Thread cluib
I tracked the problem within the debugger and found the source of the error. 
Obivously it is a different naming scheme they have in JBoss 5.

Looking at the constructor of Hibernate's SessionFactoryImpl(), I saw the 
creation of a local variable named 'cacheRegionPrefix' (String 
cacheRegionPrefix = settings.getCacheRegionPrefix()), which is then later used 
as argument for a cache region name.
Now, in JBoss this cacheRegionPrefix results into something like this:

  | persistence.unit:unitName=dpjwApp-ear-1.0.ear/dpjw-core-1.0.jar#dpjw_office.
  | 
whereas in JBoss 4.2.3 it was

  | dpjwApp-ear-1_0_ear,dpjw_office.
  | .

Carlo

Nice to see: BUT what can WE do here???

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

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


[jboss-user] [EJB 3.0] - Re: Problem in injecting simple env entries in EJB

2008-12-08 Thread jaikiran
Which version of JBoss and Java do you use? Also, please post the entire 
console logs.

While posting logs or xml content or code, remember to wrap it in a code block. 
Also please hit the Preview button before posting, to ensure your post is 
correctly formatted.


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

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


[jboss-user] [EJB 3.0] - Re: Problem in injecting simple env entries in EJB

2008-12-08 Thread plethora
Ti,
 Thanks for your recommendation. But it did not work . The problem is simple 
env entries are not getting bound to the JNDI namespace . 

 Plethora

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

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


[jboss-user] [JBossWS] - Spring integration, how to inject beans in a @Webservice cla

2008-12-08 Thread smalbequi
Hi,

For now, I use a StaticWebApplicationContext but it is not intended for use in 
production !

Have you an better solution ?

Thanks in advance

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

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


[jboss-user] [JBoss Messaging] - javax.jmx.Session & JMS XA Connection Factory

2008-12-08 Thread ivan.rododendro
Hello, 
we have a SLSB who register himself as producer of a topic, in post construct 
we create Conection, Session & Porducer, and in send() we call 
session.createObjectMessage():

 @PostConstruct
  | public void postConstruct() {
  |   try {
  | connection = connectionFactory.createTopicConnection();
  | session = connection.createSession(true, 
Session.SESSION_TRANSACTED);
  | producer = session.createProducer(destination);
  | producer.setTimeToLive(messageValidityPeriod * 6);
  | } catch (final JMSException e) {
  | logger.error("unable to create JMS producer", e);
  | }
  | }

 
  | public void send(final Map properties, final 
ProvisioningEvent event) {
  | try {
  | final ObjectMessage message = session.createObjectMessage();
  | 
  | message.setObject(event);
  | 
  | [...]
  | 
  | producer.send(message);
  |   
  | } catch (final JMSException e) {
  | if (logger.isInfoEnabled()) {
  | logger.info("JMSException: " + e.getMessage());
  | }
  | }
  | }

Connetction Factory is JmsXA.

It worked in JBAS50-CR2 (JBM 1.4.1-CR1 ?), but with JBAS5.0-GA it does not work 
anymore: 

anonymous wrote : javax.jms.IllegalStateException: The session is closed

on calling  session.createObjectMessage() in method send().

Do the session must be created for each method call?

Thank you
Ivan


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

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


[jboss-user] [Beginners Corner] - Re: JBoss and EJB restrictions

2008-12-08 Thread Frito
AFAIK, JBoss does not use a security manager to force spec compliance here.

Using IO or native libaries in EJBs can lead to errors, inconsistencies and 
memory leaks, depending on container configuration or container behaviour.

You can combine MBeans with EJBs to do whatever you wanted to do...

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

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


[jboss-user] [JBoss Tools (users)] - How to do exploded deployment?

2008-12-08 Thread margotmedia
Hello.

I'm under the impression that it is possible to do exploded deployment with 
JBoss Tools on a JBoss server (at least I think I read that somewhere) but I 
can't find out how to do this for the sake of my life.

I'm using Eclipse 3.4.1 with the latest WTP & JBoss Tools updates applied (WTP 
v3.0.3 & JBossAS Tools 2.0.0.Beta1).

Could you please give me a hint where I am supposed to configure this  and 
which package I have to install (I'm using 
http://download.jboss.org/jbosstools/updates/development ).

Any help would be really appreciated since without this feature developing EAR 
projects is just a waste of time because WTP insists on recreating & 
redeploying the whole EAR project upon every little change within an xhtml file.

Also I would like to hear how others can live with WTP if you have to do EAR 
projects since there has to be a trick because the current situation is just 
laughable (I should mention that I also have to use Maven (integrated via 
m2eclipse plugin) to build the project on command line / in the continuous 
integration server, so using only Eclipse is no option).

Thanks a lot in advance for any help!

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer and OSGI support

2008-12-08 Thread hgomez
Great.

I'll do right now

Thanks Ales

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: eclipse + jboss + web services

2008-12-08 Thread Renani
Hi,

The tutorial here was for JBoss developer Studio, not Eclipse plugin with Jboss 
Tools. 

I'm having problem with understanding how to create a project in Eclipse with 
Jboss tools. The tutorials I've found refer to using the new project..wizard 
and choose j2ee under the JBoss IDE. There is no such thing. The tutorials are 
written for earlier version of Jboss tools I assume. 
The new project categories which have Jboss in the name now is JBoss jBPM and 
JBoss tools Web.

I've red severel getting started guides from this communities, but the 
information in these documents were old. 

Is there an updated tutorial for Eclipse JBoss tools (NOT JBoss developer 
studio)?


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a service on Windows (using options)

2008-12-08 Thread Marcos_APS
"jaikiran" wrote : The version that you downloaded works for JBoss-4.2.3 GA 
version too. You can ignore the "JBoss Application Server 5.0 is starting" 
message or you can even edit to anything of your choice in the service.bat:
  | 
  | set SVCDISP=JBoss Application Server 5.0
  |   | set SVCDESC=JBoss Application Server 5.0.0 GA/Platform: Windows x86
  |   | 
  | 
  | You can change these.

Thank you very much, jaikiran.

Marcos

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a service on Windows (using options)

2008-12-08 Thread jaikiran
The version that you downloaded works for JBoss-4.2.3 GA version too. You can 
ignore the "JBoss Application Server 5.0 is starting" message or you can even 
edit to anything of your choice in the service.bat:

set SVCDISP=JBoss Application Server 5.0
  | set SVCDESC=JBoss Application Server 5.0.0 GA/Platform: Windows x86
  | 

You can change these.

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

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


[jboss-user] [JBoss Messaging] - Re: Timeout for Disconnected JBM Client

2008-12-08 Thread rtm333
No, I have not played with the prefetch size, yet. Where would I do this (have 
not found any attribute of this name)? What value would you suggest?

The message concerned is a TextMessage with a String of a length of about 300 
as payload. 

Thanks,
Ralf Torsten


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a service on Windows (using options)

2008-12-08 Thread Marcos_APS
Can you please point me to the right JBoss Native package to download for JBoss 
4.2.3.GA?

Thank you.

Marcos

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

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


[jboss-user] [JBossWS] - Re: OutOfMemory exception when loading xml schemas in WSDL

2008-12-08 Thread almarro1
Thank you very much, bschmoll1

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a service on Windows (using options)

2008-12-08 Thread Marcos_APS
Thank you for the answer.

Just another doubt related to that. I've just downloaded the JBoss Native 
package contained in the file:

jboss-native-2.0.6-windows-x86-ssl.zip

Looking in the README-service.txt, I see mentions like this:

C:\> cd c:\jboss-5.0.0\bin
  | C:\> service.bat install
and

C:\> net start JBAS50SVC
  |   The JBoss Application Server 5.0 service is starting.
  |   The JBoss Application Server 5.0 service was started successfully.
I'm using JBoss 4.2.3.GA. Will this version of the JBoss Native work with it? 
It seems that it is made for JBoss 5.

Marcos

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

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


[jboss-user] [JBoss Messaging] - Re: Examples failing for JBM 1.4.1.GA on JBAS 4.2.2.GA

2008-12-08 Thread timfox
[Moved from design forum to user forum]

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a service on Windows (using options)

2008-12-08 Thread jaikiran
You will have to edit the service.bat file. See here for an example:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=145181


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

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


[jboss-user] [JBoss jBPM] - jpdl-jbpm Standalone service

2008-12-08 Thread tommy111
hi dears

how can i create jpdl-jbpm standalone service?
pls help me

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Starting JBoss as a service on Windows (using options)

2008-12-08 Thread Marcos_APS
Hello, everybody!

I'm almost starting JBoss as a service on Windows using JBoss Native. But 
before that, I have one doubt.
I always start JBoss on the server using the following command line option with 
the provided arguments:

run -b mydomain.com

I use just that. How and where do I provide the same options when installing or 
starting JBoss as a service with JBoss Native.?

Thank you.

Marcos

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Beta

2008-12-08 Thread mareshkau
[VPE]We doesn't support x64 platform's now.

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer and OSGI support

2008-12-08 Thread alesj
"hgomez" wrote : 
  | Any samples around?
  | 
Check jboss-classloading.xml tests --> jboss-cl sub-project.

Or jboss-dependency.xml tests --> jboss-deployers sub-project:
 - 
http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/dependency/test/DependenciesTestCase.java

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: setParameter() IllegalArgumentException

2008-12-08 Thread NSchweig
Hi

forget my post; I invoked another method

The problem is still the same.

The id column in the User table is never null because the id is generated 
automatically.

... CMTUSER

  | @Id
  | @GeneratedValue(strategy = GenerationType.AUTO)
  | private Long id;
  | ...
  | 

Any more ideas? I hope so!
Nicki

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer and OSGI support

2008-12-08 Thread hgomez
Thanks ales.

Any samples around ?

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer and OSGI support

2008-12-08 Thread alesj
"hgomez" wrote : or if I could  just use simple Pojos and still get the 
start/stop/reload support ?
  | 
Sure, you don't need OSGi for this.
Plain MC beans ((-jboss)-beans.xml) + some class(loading)|generic dependency 
does the trick.

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

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


[jboss-user] [JBoss jBPM] - Re: Auto-installation of jBPM 3.3.0

2008-12-08 Thread karypid
To answer to myself, the command is:

java -jar jbpm-installer-3.3.0.GA.jar AUTO_INST_FILE.xml

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

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


[jboss-user] [JBossWS] - wstools.bat, how to use existing schema definitions?

2008-12-08 Thread s.emiliozzi
Hello, I am using wstools.bat to generate a wsdl in order to expose some 
stateless EJBs 2.1 as web services. The type of input/output parameters the 
EJBs accept are java classes generated starting from common XSD schema.
The schema are also used by some BPEL processes so we want to have homogeneity 
throughout the application. I noticed that wstools generated wsdl cointains an 
inline definition of the schema, which is similar but not equal to the original 
one. My goal would be to configure wstools in order to use the existing XSD 
schema that map the java classes which are used as parameters by the EJBs. I 
would like to avoid to modify by hand the generated files, because in the 
development stage the original XSD are subject to change quite often. I am 
trying to figure out how to write a correct config.xml file for wstool 
generation, referring to this documentation:

http://www.jboss.org/file-access/default/members/jbossws/downloads/schema-docs/tools/jbossws-tool_1_0.html

The only tag that helps my case seems to be globalType tag, but I am not sure I 
am using it correctly. Any help would be really appreciated.

Regards,
Stefano Emiliozzi

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

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


[jboss-user] [Clustering/JBoss] - All TCP connections are in CLOSE_WAIT State ...

2008-12-08 Thread ravikumar.palaparthi
hi

i m using jboss4.2.2.GA and ocle 10g

OS : RHEL5

Problem Description:
Users get a 503 error message when the try to login in to the website. it seems 
they cannot connect to the Application via ajp proxying.

1. My apache error_log looks like this when the 503 issues are occuring..

[Mon Nov 24 16:35:06 2008] [error] (70007)The timeout specified has expired: 
ajp_ilink_receive() can't receive header
[Mon Nov 24 16:35:06 2008] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Nov 24 16:35:06 2008] [error] (120006)APR does not understand this error 
code: proxy: read response failed from 127.0.0.1:8009 (localhost)
[Mon Nov 24 16:35:55 2008] [error] (70007)The timeout specified has expired: 
ajp_ilink_receive() can't receive header
[Mon Nov 24 16:35:55 2008] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Nov 24 16:35:55 2008] [error] (120006)APR does not understand this error 
code: proxy: read response failed from 127.0.0.1:8009 (localhost)
.
.
2. All TCP connections in CLOSE_WAIT are owned by Jboss.
[EMAIL PROTECTED] ipv4]# /usr/sbin/lsof -i -nP |grep CLOSE_WAIT
java 9765 jboss 17u IPv4 4902598 TCP 127.0.0.1:8009->127.0.0.1:47019 
(CLOSE_WAIT)
java 9765 jboss 45u IPv4 4949931 TCP 127.0.0.1:8009->127.0.0.1:57210 
(CLOSE_WAIT)
java 9765 jboss 62u IPv4 4861032 TCP 127.0.0.1:8009->127.0.0.1:43717 
(CLOSE_WAIT)
java 9765 jboss 63u IPv4 4905920 TCP 127.0.0.1:8009->127.0.0.1:47020 
(CLOSE_WAIT)
java 9765 jboss 64u IPv4 4948850 TCP 127.0.0.1:8009->127.0.0.1:57209 
(CLOSE_WAIT)
java 9765 jboss 69u IPv4 4949970 TCP 127.0.0.1:8009->127.0.0.1:59327 
(CLOSE_WAIT)
java 9765 jboss 72u IPv4 4950165 TCP 127.0.0.1:8009->127.0.0.1:48921 
(CLOSE_WAIT)
java 9765 jboss 97u IPv4 4911734 TCP 127.0.0.1:8009->127.0.0.1:42311 
(CLOSE_WAIT)
java 9765 jboss 105u IPv4 4861441 TCP 127.0.0.1:8009->127.0.0.1:34712 
(CLOSE_WAIT)

All TCP connections are in CLOSE_WAIT State ...

B coz of this i am unable access my application

while accessing application its giving error mg "503 service unavailable"


I am unable to fix this issue ...

If anybody have the idea about to fix this problem 

plz share knowledge for me ..

Thanks,
Ravi Palaparthi

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss5, Hibernate and EHCache

2008-12-08 Thread cluib
With JBoss 5 going to GA, I gave it a try with our application which is a EJB3 
application with Hibernate as JPA provider running on JBoss 4.2.x. We have also 
configured to use EhCache. 

Installing the application as EAR on JBoss 5 now shows an error on startup for 
which I have no idea to solve it. Here is the relevant stacktrace:

  | 09:16:25,199 INFO  [SessionFactoryImpl] building session factory
  | 09:16:26,167 WARN  [EhCacheProvider] Could not find configuration 
[persistence.u
  | 
nit:unitName=dpjwApp-ear-1.0.ear/dpjw-core-1.0.jar#dpjw.org.dpjw.base.domain.Dis
  | trict]; using defaults.
  | 09:16:26,167 ERROR [AbstractKernelController] Error installing to Start: 
name=pe
  | rsistence.unit:unitName=dpjwApp-ear-1.0.ear/dpjw-core-1.0.jar#dpjw 
state=Create
  | java.lang.IllegalArgumentException: Cache name cannot contain '/' 
characters.
  | at net.sf.ehcache.Cache.setName(Cache.java:1272)
  | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:501)
  | at 
org.hibernate.cache.EhCacheProvider.buildCache(EhCacheProvider.java:9
  | 4)
  | at 
org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.buil
  | dEntityRegion(RegionFactoryCacheProviderBridge.java:96)
  | at 
org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:
  | 255)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
  | a:1327)
  | at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(Annotat
  | ionConfiguration.java:867)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Con
  | figuration.java:669)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFa
  | ctory(HibernatePersistence.java:132)
  | at 
org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceU
  | nitDeployment.java:311)

Is there anybody here who can give us a pointer to a solution?

Carlo

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

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


[jboss-user] [JBoss jBPM] - Auto-installation of jBPM 3.3.0

2008-12-08 Thread karypid
How can I use the auto-installation script that the jBPM 3.3.0 installer 
generates?

I assume something like:

java -jar jbpm-installer-3.3.0.GA.jar SOME_OPTION MY_FILE.xml


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: setParameter() IllegalArgumentException

2008-12-08 Thread NSchweig
Thank you for your hints.

I do not know what happened. Since this morning it works.
In the way I described it above. I did NOTHING in a different way!

I do not understand but I am happy :-)

Thanks and greetings
Nicki

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot find method addChild with this signature

2008-12-08 Thread jaikiran
Please post the output of

jar -tf lasser.war

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Using TCLFilter with JBoss 4.2.2

2008-12-08 Thread k.baranski
Few lines where badly formated:

(after first code block)
I also tried adding  and changing DeployUrl 
to appnameX.

(after second code block)
I tried to change false in 
ear-deployer.xml, but has no result.
I use true in jboss-service.xml

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

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


[jboss-user] [Beginners Corner] - Re: Persist rich extendeddatatable state

2008-12-08 Thread nfeybesse
Hi priestex

There isn't any problem to save the state of the table with the tableState 
property.

But when extendedtable is rerendered, I have a problem : the tableState isn't 
refreshed and isn't reloaded.

Look at this : https://jira.jboss.org/jira/browse/RF-5041 

Could you vote for the issue if you have the same problem ?

Thanks

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Using TCLFilter with JBoss 4.2.2

2008-12-08 Thread k.baranski
I'm trying to configure log4j appender with org.jboss.logging.filter.TCLFilter. 
My appender definition looks like that:

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
I also tried adding  and changing DeployUrl to appnameX.


I have two JBoss Seam apps: in ${JBOSS_HOME}/server/default/deploy/appname1.ear 
and ${JBOSS_HOME}/server/default/deploy/appname2.ear, both contains the 
following:
lib
META-INF
jboss-seam.jar
appnameX.jar
appnameX.war

Content of my jboss-app.xml:

  | 
  | 
  |   seam.jboss.org:loader=appnameX
  | 
  | 
  | 
(I also tried appnameX:loader=appnameX)
I tried to change false in ear-deployer.xml, but has no result.

I use true in jboss-service.xml

Unfortunatelly nothing works as I expected. Could anybody tell me, what is 
wrong im my configuration?

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

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


[jboss-user] [Microcontainer] - Microcontainer and OSGI support

2008-12-08 Thread hgomez
Hi to all,

First I wish to congrats you with AS 5 and of course its great microcontainer.

I wish to rewrite one of our company Java real-time monitor.

This monitor handle many tasks and we wish to be able to stop/start/reload 
(with updated code) any task at runtime.

I was thinking using OSGI and Felix first, but OSGI miss the necessary IOC glue.

The MC seems the perfect foundation to rewrite our monitor and I wonder if the 
OSGI support is allready useable, or if I could  just use simple Pojos and 
still get the start/stop/reload support ?

Regards

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Temoraly Undeployment through the JMX-Console

2008-12-08 Thread mark.bramnik
Hi, I have a question about the deployment process.
I know that I can put my ear application into the 'deploy' directory of my 
instance and the JBoss will deploy it. Removing the ear file will cause 
undeployment during the runtime.
However I would like sometimes to temporaly disable the application to prevent 
the users to make a request to it at all (i'm interested in both http requests 
and ejb3 from the remote rich client) and then enable the application after I 
do some maintenence work (for example, change something in the BackEnd DB).

Can I do it via the JMX-Console somehow and not to physically remove the ear 
from my deployment directory?

Thanks a lot in advance.






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

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


[jboss-user] [Javassist user questions] - Re: package rename

2008-12-08 Thread spampete
ok, sorry for this stupid question, package rename is included in class rename.

Now, when I rename my com.company.app.TestClassA to com.test.A, I get a strange 
and quite unexpected "import com.company.app.TestClassA".. how come ?

currently using javassist 3.9.0, don't know if this was already occuring before.

regards


  | package com.company.app;
  | 
  | public class TestClassA{
  |   public TestClassA(){
  | // 
  |   }
  | }
  | 

becomes 


  | package com.test;
  | 
  | import com.company.app.TestClassA;
  | 
  | public class A{
  |   public A(){
  | // 
  |   }
  | }
  | 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - All TCP connections are in CLOSE_WAIT State

2008-12-08 Thread ravikumar.palaparthi
hi

i m using jboss4.2.2.GA and ocle 10g

OS : RHEL5

Problem Description:
Users get a 503 error message when the try to login in to the website. it seems 
they cannot connect to the Application via ajp proxying.

1. My apache error_log looks like this when the 503 issues are occuring..

[Mon Nov 24 16:35:06 2008] [error] (70007)The timeout specified has expired: 
ajp_ilink_receive() can't receive header
[Mon Nov 24 16:35:06 2008] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Nov 24 16:35:06 2008] [error] (120006)APR does not understand this error 
code: proxy: read response failed from 127.0.0.1:8009 (localhost)
[Mon Nov 24 16:35:55 2008] [error] (70007)The timeout specified has expired: 
ajp_ilink_receive() can't receive header
[Mon Nov 24 16:35:55 2008] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Nov 24 16:35:55 2008] [error] (120006)APR does not understand this error 
code: proxy: read response failed from 127.0.0.1:8009 (localhost)
.
.
2. All TCP connections in CLOSE_WAIT are owned by Jboss.
[EMAIL PROTECTED] ipv4]# /usr/sbin/lsof -i -nP |grep CLOSE_WAIT
java 9765 jboss 17u IPv4 4902598 TCP 127.0.0.1:8009->127.0.0.1:47019 
(CLOSE_WAIT)
java 9765 jboss 45u IPv4 4949931 TCP 127.0.0.1:8009->127.0.0.1:57210 
(CLOSE_WAIT)
java 9765 jboss 62u IPv4 4861032 TCP 127.0.0.1:8009->127.0.0.1:43717 
(CLOSE_WAIT)
java 9765 jboss 63u IPv4 4905920 TCP 127.0.0.1:8009->127.0.0.1:47020 
(CLOSE_WAIT)
java 9765 jboss 64u IPv4 4948850 TCP 127.0.0.1:8009->127.0.0.1:57209 
(CLOSE_WAIT)
java 9765 jboss 69u IPv4 4949970 TCP 127.0.0.1:8009->127.0.0.1:59327 
(CLOSE_WAIT)
java 9765 jboss 72u IPv4 4950165 TCP 127.0.0.1:8009->127.0.0.1:48921 
(CLOSE_WAIT)
java 9765 jboss 97u IPv4 4911734 TCP 127.0.0.1:8009->127.0.0.1:42311 
(CLOSE_WAIT)
java 9765 jboss 105u IPv4 4861441 TCP 127.0.0.1:8009->127.0.0.1:34712 
(CLOSE_WAIT)

All TCP connections are in CLOSE_WAIT State ...

B coz of this i am unable access my application

while accessing application its giving error mg "503 service unavailable"


I am unable to fix this issue ...

If anybody have the idea about to fix this problem 

plz share knowledge for me ..

Thanks,
Ravi Palaparthi

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

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


[jboss-user] [JBoss jBPM] - Re: Packaging issues with 3.3.0 / MySQL

2008-12-08 Thread roschmel
There is only the enterprise ear file in the lib directory within the jbpm 
installation. Within the ear the enterprise classes are in an exploded jar 
file. This is quite unusual and not very handy when it comes to dependency 
handling within the ide - but of course its not really a major issue.

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

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


  1   2   >