[JBoss-user] [JBoss jBPM] - can any one help me????

2005-12-21 Thread Nassim
hi evry body, 
i have problems when starting "hsqldb.server"; the server doasn't start 
normaly, i have these error: 
java.lang.NoClassDefFoundError 
at org.hsqldb.persist.Logger.closeLog(Unknown Source) 
at org.hsqldb.Database.reopen(Unknown Source) 
at org.hsqldb.Database.open(Unknown Source) 
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source) 
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source) 
at org.hsqldb.Server.openDatabases(Unknown Source) 
at org.hsqldb.Server.run(Unknown Source) 
at org.hsqldb.Server.access$000(Unknown Source) 
at org.hsqldb.Server$ServerThread.run(Unknown Source) 

and when i try this example on eclipse 
public static void main(String[] args) { 
// TODO Auto-generated method stub 

JbpmSessionFactory jbpmSessionFactory = 
JbpmSessionFactory.buildJbpmSessionFactory(); 

jbpmSessionFactory.getJbpmSchema().createSchema(); 
JbpmSession jbpmSession = jbpmSessionFactory.openJbpmSession(); 

ProcessDefinition processDefinition = ProcessDefinition.parseXmlString( 
"" + 
" " + 
" " + 
" " + 
" " + 
" " + 
" " + 
" " + 
"" 
); 

// Let's open a new persistence session 

// ... and begin a transaction on the persistence session 
jbpmSession.beginTransaction(); 

// Save the process definition in the database 
jbpmSession 
.getGraphSession() 
.saveProcessDefinition(processDefinition); 

// Commit the transaction 
jbpmSession.commitTransaction(); 
// And close the jbpmSession. 
jbpmSession.close(); 


} 


it give this message at the end and the execution stops 

Initializing c3p0 pool... [EMAIL PROTECTED] [ connectionPoolDataSource -> 
[EMAIL PROTECTED] [ acquireIncrement -> 1, acquireRetryAttempts -> 30, 
acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> 
null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, 
connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, 
factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, 
idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxIdleTime -> 0, 
maxPoolSize -> 3, maxStatements -> 0, maxStatementsPerConnection -> 0, 
minPoolSize -> 1, nestedDataSource -> [EMAIL PROTECTED] [ description -> null, 
driverClass -> null, factoryClassLocation -> null, jdbcUrl -> 
jdbc:hsqldb:hsql://localhost:1701, properties -> {user=**, password=**} 
] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin 
-> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies 
-> false ] , factoryClassLocation -> null, numHelperThreads -> 3, 
poolOwnerIdentityToken -> 1df8b99 ] 



thank you for any help 
Nassim

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

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


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


[JBoss-user] [JBoss Portal] - JBoss Portal with SEAM. Does it make sense and is it possibl

2005-12-21 Thread hurzeler
Hello there,

I like SEAM/JSF very much but also like the Content Management of JBoss Portal 
2.2. Hence here is my question. 

Do you think it makes sense to use SEAM in JBoss Portal? What are the pros and 
cons?

If it is sensible to combine the two has anyone tried it? How can it be 
acomplished?

Please tell us your thoughts and experiences.

Merry XMas and Happy New Year

Bernie

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

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


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


[JBoss-user] [JBoss Seam] - Seam in JBoss Portal 2.2. Does it make sense and is it possi

2005-12-21 Thread hurzeler
Hello there,

I like SEAM/JSF very much but also like the Content Management of JBoss Portal 
2.2. Hence here is my question. 

Do you think it makes sense to use SEAM in JBoss Portal? What are the pros and 
cons?

If it is sensible to combine the two has anyone tried it? How can it be 
acomplished?

Please tell us your thoughts and experiences.

Merry XMas and Happy New Year

Bernie

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

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


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


[JBoss-user] [JBoss jBPM] - More than one external partnerLink

2005-12-21 Thread fwshk
Excuse me,

I am making a process with total 3 partnerLink:
 - client: For create instance of the process
 - sessionFactory: Copy from ATM example
 - MyMath: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74284

The process is about
receive (client[myRole])
invoke (sessionFactory[partnerRole])
assign
invoke (MyMath[partnerRole])
assign
invoke (MyMath[partnerRole])
assign
invoke (client[myRole])

I have modified bpel-application.xml to have serviceCatalogs
Then I deploy the process and check its WSDL
http://127.0.0.1:8080/LoanRequest/client?wsdl
Everything goes correct

Unfortunately, when I test it using JUnit
The test was complete but there are no partnerLink was invoked
(I add some println within the partnerLink's methods)

Afterward, I edit bpel-application.xml to remove one definitionCatalog
Re-deploy the process and test it, it show an error as preferred
That means I make mistake in bpel-application.xml

Could you give me some sample about bpel-application.xml
which has defined for two or more external partnerLink?


  | bpel-application.xml
  | http://jbpm.org/bpel";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://jbpm.org/bpel 
  | http://jbpm.org/bpel/bpel_application_1_0.xsd";>
  |   
  | 
  |   
  | 
  | 
  | 
  |   
  |   http://schemas.xmlsoap.org/ws/2004/08/addressing";>
  | USE_ACTUAL_URI_FROM_CATALOG
  | http://learning/MyMath";>
  |   imp1:MyMath
  | 
  |   
  |   
  | 
  | 
  | 
  |   
  |   http://schemas.xmlsoap.org/ws/2004/08/addressing";>
  | USE_ACTUAL_URI_FROM_CATALOG
  | 
  |   ses:sessionService
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  | 
  |   http://localhost:8080/session/sessionFactory?wsdl"; />
  | 
  | 
  | 
  |   http://localhost:8080/MyMath/MyMath?wsdl"; />
  | 
  |   
  | 
  | 

Thank you very much. ^^
Roy

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

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


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


[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process

2005-12-21 Thread zhgd
I'm also waiting ...

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Securing web console

2005-12-21 Thread bo0m3r4n9
Hello!! I have spent a lot of hours with the same problem and finally i was 
able to fix it, just trying out everything because nowhere on the internet i 
found the solution, so here it is what has worked for me:

On the web.xml file located at /deploy/jmx-console.war/WEB-INF/, i added this 
tag, because i found it on another example configuration files of Tomcat. I 
don't know why hasn't been included in the default file provided by the JBoss 
installation, so here it is:


  |
  |  BASIC
  |  Secured services
  |

I hope this helps!!



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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - why only one appender work

2005-12-21 Thread jack0501
I use jboss cluster, so I want separate server.log and cluster.log.
treat file and console appender as root.
before I add cluster appender, every thing works fine. but after I add cluster 
appender, only cluster.log work, server.log is empty.
are someone can help me out.
Thank you very much

source log4j.xml is in the following:
http://jakarta.apache.org/log4j/"; 
debug="true">
 
   
 
 
 
 
 

 
   
 
   


 
 
 
 
 

 
   
 
   


  
  
  

  
 
  
   


   
   
   
   

   
   
 
  
  
 
 
  
  
  

   
  
   
 
   
   
   
   
   
   
   
   
   
   

   





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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Active Directory and LdapExtLoginModule?

2005-12-21 Thread Neelixx
Boy, you guys just thought of everything, huh? 

Looking through the LdapExtLoginModule code (to place a hack), I found the 
defaultRole option.  Unfortunately, this option wasn't covered in the Wiki.

Okay, so that fixes my main problem of my thousands of users who have the 
default primary group of "Domain User"

As for the rest, I'll just fix it in Active Directory by adding my own groups, 
rather than using the primary groups, and hacking into LdapExtLoginModule (or 
creating a new login module).

For those who want to use the defaultRole option, just add it to your 
configuration:


  | myDefaultRole
  | 

You can then use "myDefaultRole" as a defined role in your app.  Of course, 
I've only tested in JUnit.  I'll place it in my production-code soon.

ActiveDirectory and LdapExtLoginModule is great!

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

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


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


[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM

2005-12-21 Thread [EMAIL PROTECTED]
Surely in the context of JBoss, Tomcat is going to be delegating to JBoss' 
security infrastructure?

No??

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: How do i start

2005-12-21 Thread aquila_deus
"Matrix1234" wrote : i want to  make an EJB application.
  | 
  | i wan to write a JSP and that JSP would access EJB's.
  | 
  | writing the code is not a problem but my problem is how do i test my 
application ?
  | 
  | 
  | JBoss needs the war file to deployed. it does not accept folder structer of 
the deployment.
  | 
  | suppose, i made sme mistake in my JSP , then should i unwar  my war file 
and make it correct and then again warring it and deploy that ?
  | 
  | this is very time consuming.
  | 
  | 
  | does Jboss accept the web application  folder structer . i want have a 
folder "myapps" . in this folder i want to keep everything. JSPs, EJBs etc etc.
  | 
  | if i make my  web application folder into a  ear file it would create 
trouble in DEBUGGING.
  | 
  | 
  | How do i start then ?

Hi! If you want to use directory rather .war, just name the directory as 
your_app.war

The app is restarted if u touch WEB-INF/web.xml

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

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


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


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

2005-12-21 Thread [EMAIL PROTECTED]
This does not sound right. Pojo cache serializes to cache loader are all 
primitive fields (e.g, String & int) in the node hashmap. So unless the 
granularit is causing loader to slow down, otherwise it should not be 1 order 
of magnitude slower.

Can you provide a test case?

-Ben

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

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


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


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

2005-12-21 Thread selpiso
:-)
hi, i stuck now. actually, i created 2 ear file and deploy it in Jboss. I want 
to pass data by bean in first ear file to bean in second ear file . For 
example, package1.ear and package2.ear. How to do that? Please help me?


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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Active Directory and LdapExtLoginModule?

2005-12-21 Thread Neelixx
By the way, kudos to the creator of LdapExtLoginModule!  I think it was Scott 
Stark??  Love the double-searching!  Makes my life so much easier in a complex 
Active Directory environment.

Okay, on to my issue.  Has anyone (other than me) used LdapExtLoginModule for 
Active Directory?  I have everything working, but as usual, Microsoft does 
things their way, making it difficult to build a true LDAP-compliant 
application.

For those that have successfully used it in an AD environment, have you gotten 
around the primary group issue?  

Microsoft leaves out the DN of the memberOf attribute for the groups that are 
set as the "Primary Group".  For general users, this would be the "Domain 
Users" group.  For others, maybe it's a "Domain Admins" group, or some other 
group.

It has taken me days of troubleshooting to figure out why my users that are 
"Domain Users" were not showing up in my Roles search, until I ran an LDIF 
export, and found the issue.

Here is what Microsoft has to say about it.  Their reason for it was because 
there is a limitation of 5000 users in a group.  But not sure how to get around 
it, without doing some hacking in the LdapExtLoginModule code.

http://support.microsoft.com/kb/275523/en-us

Anyone come across this issue?  If so, how did you get around it?

Thanks!!

--Aaron

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: I am getting this error.....when trying to access a simp

2005-12-21 Thread debjani25
I had solved the problem by using a JAASLoginFilterclass and it worked. 
Actually the password and the user name were correct. It was not authorizing 
the user at the server. So this class helped me to authorize the user and i 
also used ant to build my filesit worked fine.

Thanxs

Debjani

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: Setting SystemProperties through the SystemPropertiesSer

2005-12-21 Thread genman

I meant  elements.

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: Setting SystemProperties through the SystemPropertiesSer

2005-12-21 Thread genman

You can add  to your -ds.xml files, check the DTD.

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: is it posible to mix DailyRollingFileAppender and Rollin

2005-12-21 Thread genman

Look around for log4j custom appenders.

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

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


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


[JBoss-user] [Beginners Corner] - Re: Need help with JBoss connection pooling and performance!

2005-12-21 Thread genman

Could be prepared statement caching is not working out for you.  Perhaps you're 
not closing them?

What did your profiler saying?  It could be your use of the JDBC on the legacy 
server wasn't correct.  Likely an unclosed result set or something.

The pooling is a little bit of overhead, but not significant (more than 1-2ms 
I'd say)

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

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


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


[JBoss-user] [JBoss jBPM] - Re: Token reflects old node after a successful signal

2005-12-21 Thread enazareno
Hi Aron,

 I'm using MySQL 4.1. Maybe you shouldn't re-use JbpmSession. Try opening a 
new session everytime and close it immediately, throw it away. Use 
JbmpSessionFactory.getInstance().openJbpmSession instead. anonymous wrote : 
This is a web-app and normally, we have used the session-per-request pattern, 
so there is one session created for each request and that's retrieved with 
JbpmSession.getCurrentJbpmSession(); 

I think a JbpmSession represents one database connection. If you're worried 
about performance issues, don't be, IF you are using database connection 
pooling. Upon closing the jbpm session it does not actually close the 
connection but returns it to the pool. If you implement your own pooling, I 
suggest you instead let the container manage it, it is already provided and it 
takes away your headaches. If you're uncomfortable with hibernate like me, I 
don't let hibernate manage my pooling. But its quite easy to configure. In the 
hbm.hibernate.properties file you could add this entry: 
hibernate.connection.datasource=[your datasource name]  
and comment out connection settings in the jbpm.hibernate.cfg.xml. 

Here was my problem. I am using JBoss. In a CMT (container managed 
transaction), it does not allow you to do a beginTransaction and 
commitTransaction. I only used saveProcessInstance. It inserts some data to the 
database but was incomplete. I was pretty sure that the problem was due to 
committing the data. I was able to solve this by doing the ff. statements (the 
flush and close statements was the key)
   

  |   JbpmSession s = JbpmSessionFactory.getInstance().openJbpmSession();
  |   try {
  |s.getGraphSession().saveProcessInstance( p );
  |   }
  |   catch( Exception e) {
  |//error handling here   
  |   } 
  |   finally {
  |   try { s.getSession().flush(); } catch( Exception igmore ) {;}
  |   try { s.close(); } catch (Exception ignore) {;}
  |   }
  | 

Anyway, this might not be the solution to your problem but it might give you an 
idea. 

Regards,

Elmo

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

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


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


[JBoss-user] [JBoss jBPM] - Re: Need Help for Sub-Process

2005-12-21 Thread tom_sri74
Dear friends,

Please response my above issue. It is very urgent

thanks
Srikanth

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

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


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


[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process

2005-12-21 Thread znjqolf
Thanks for you reply..

to RAlfoeldi:
   I mean i want to control this process instance, suspend and resume it at any 
time or at any step.

to kukeltje:
   Thanks, i will look at it.Maybe it work..

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

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


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


[JBoss-user] [JBoss Portal] - Is there a way to config customized error pages to use when

2005-12-21 Thread jiehuanli
Is there a way to config customized error pages to use when exception happens 
in a portlet?  Currently it just prints the stacktrace in the portlet.  I'd 
like to display some more user-friendly contents in place of the stacktrace.

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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: add xsl mime type on jboss2.4.4-tomcat3

2005-12-21 Thread kendee
I've changed the stylesheet to have .xml extension. But the result is still the 
same. It works fine on IE, but on Mozilla Firefox, it says:
"Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:"
 I don't understand why it doesn't work, since I have configured jboss to 
recognize mime type .xsl and also .xml.

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

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


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


[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM

2005-12-21 Thread patrick_ibg
It's not that simple... there's two security concerns here:

1. Web Security, which restricts access based on URL
2. EJB Security which restricts access to EJBs and methods.

If you're using the JSF/Seam/EJB3 stack simply for web applications, then Web 
Security is enough and EJB security is overkill. You need EJB security if the 
EJB3 layer will be accessed by other clients (such as remote Swing apps). You 
can get by with just EJB security, but it's not the most elegant thing for web 
apps.

Tomcat 5 provides a JAASRealm (still unofficial "beta"). However, the user 
principal that you get from doing this does not propagate to the EJB3 layer. 
Nor does it put the "user" entity in the session object, which is common 
practice in web applications. (You have to do this yourself.) Worse, there 
doesn't seem to be a way to do web container based authentication completely 
within JSF/Faces (by that I mean using JSF nav rules, XHTML for the login page, 
etc.)

I've been trying to get my arms around this issue for a good month now and I 
still haven't seen or figured out a good solution that will fit my needs using 
JAAS and JSF/Facelets. After all my research, I think I'm going to resort to a 
homebrew solution that involves servlet filters, with JSF/Seam/EJB3 handling 
all the rest (loading user roles, "outjecting" the user entity to the 
session-context, etc.). I'll post my solution as soon as I'm done, but my plan 
is simple:

1. login page / action similar to LoginAction in the booking example. 
(@LoggedIn probably won't be needed anymore.)
2. login action outjects the user entity to the session.
3. user entity has one-to-many "roles" (eagerly fetched).
4. "roles" have permission to view URLs (defined as regex patterns). this has 
to be in an xml config file to be loaded on startup by the servlet filter (see 
below).
5. servlet filter looks for the user entity in the session context, matches the 
current URL against those defined in the xml config, and sees if the user is in 
one of the roles allowed by the matching URL.
6. if so, servlet filter continues (processing is handed to the faces servlet). 
otherwise, the browser is forwarded to an error page.

I think this should work. My only concern is JSF's use of "postbacks" and 
whether that will play tricks on URL-based authorization.


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

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


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


[JBoss-user] [Remoting] - Re: Bug in sertvlet remote transport.

2005-12-21 Thread edale
Looks like you posted the original ServletServerInvoker code instead of the 
fixed code.  I reverse-engineered the fix -- seems to work for me.  Here's the 
missing piece:



  |  public byte[] processRequest(HttpServletRequest request,byte[] 
requestByte, HttpServletResponse response) throws ServletException, IOException
  |{
  |   byte[] retval = null;
  |
  |   Map metadata = new HashMap();
  | 
  |   Enumeration enumer = request.getHeaderNames();
  |   while(enumer.hasMoreElements())
  |   {
  |  Object obj = enumer.nextElement();
  |  String headerKey = (String) obj;
  |  String headerValue = request.getHeader(headerKey);
  |  metadata.put(headerKey, headerValue);
  |   }
  | 
  |   Map urlParams = request.getParameterMap();
  |   metadata.putAll(urlParams);
  | 
  |   String requestContentType = request.getContentType();
  | 
  | 
  |   try
  |   {
  |  Object invocationResponse = null;
  | 
  |  ServletInputStream inputStream = request.getInputStream();
  |  UnMarshaller unmarshaller = 
MarshalFactory.getUnMarshaller(HTTPUnMarshaller.DATATYPE);
  |  Object obj = unmarshaller.read(new 
ByteArrayInputStream(requestByte), metadata);
  |  inputStream.close();
  | 
  |  InvocationRequest invocationRequest = null;
  | 
  |  if(obj instanceof InvocationRequest)
  |  {
  | invocationRequest = (InvocationRequest) obj;
  |  }
  |  else
  |  {
  | if(isBinary(requestContentType))
  | {
  |invocationRequest = getInvocationRequest(metadata, obj);
  | }
  | else
  | {
  |invocationRequest = createNewInvocationRequest(metadata, 
obj);
  | }
  |  }
  | 
  |  try
  |  {
  | // call transport on the subclass, get the result to handback
  | invocationResponse = invoke(invocationRequest);
  |  }
  |  catch(Throwable ex)
  |  {
  | log.debug("Error thrown calling invoke on server invoker.", ex);
  | invocationResponse = null;
  | response.sendError(500, "Error processing invocation request.  
" + ex.getMessage());
  |  }
  | 
  |  if(invocationResponse != null)
  |  {
  | response.setContentType(requestContentType);
  | int iContentLength = getContentLength(invocationResponse);
  | response.setContentLength(iContentLength);
  | ByteArrayOutputStream outputStream = new 
ByteArrayOutputStream();
  | Marshaller marshaller = 
MarshalFactory.getMarshaller(HTTPMarshaller.DATATYPE);
  | marshaller.write(invocationResponse, outputStream);
  | retval = outputStream.toByteArray();
  |  }
  | 
  |   }
  |   catch(ClassNotFoundException e)
  |   {
  |  log.error("Error processing invocation request due to class not 
being found.", e);
  |  response.sendError(500, "Error processing invocation request due 
to class not being found.  " + e.getMessage());
  |   }
  | 
  |   return retval;
  |}
  | 
  | 



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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Please help -- 'Failed to create sec mgr'

2005-12-21 Thread [EMAIL PROTECTED]
The only way that change will have any effect is if your war has jboss classes 
in it. 

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: java.io.StreamCorruptedException accessing Keystore

2005-12-21 Thread atulksh
I myself found the problem. In my build.xml the ant task to copy the keystore 
to the proper location had filtering="true" for tokens. This was somehow 
messing up the keystore and it was getting modified. Removing the filtering 
solved the problem. So the keystore was getting corrupt and the exception was 
perfectly valid.

Atul.

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

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


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


[JBoss-user] [JBossWS] - Re: How to map a complexType on jboss 4?

2005-12-21 Thread [EMAIL PROTECTED]
Download the sun jwsdp, and use wscompile to generate it (and the wsdl file for 
you).

-Jason

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

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


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


[JBoss-user] [JBossWS] - Re: webservices question

2005-12-21 Thread [EMAIL PROTECTED]
"brodiepi" wrote : I agree, I believe the end point listing page should look 
AND sound more professional. This looks like something a script kiddy through 
together.

Feel free to contribute another one.

-Jason

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

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


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


[JBoss-user] [JBossWS] - Re: Access Permissions problem

2005-12-21 Thread [EMAIL PROTECTED]
Do you have the following system properties defined?

  | http.proxyHost
  | http.proxyPort
  | http.proxyUser
  | http.proxyPassword
  | 
  | -Jason

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

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


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


[JBoss-user] [JBossWS] - Re: JBoss 4.0.3SP1 - Cannot find type mapping meta data for:

2005-12-21 Thread [EMAIL PROTECTED]
Can you post your SEI, wsdl, and jaxrpc-mapping.xml file?

-Jason

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

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


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


[JBoss-user] [JBossWS] - Re: .NET Client access JBoss and Invalid Element Exception

2005-12-21 Thread [EMAIL PROTECTED]
Try pasting your wsdl file in a [ code ] block. From what i can see it looks 
like your array type is missing the required nested element. 

You should have something in your schema that looks like this

  | 
  |
  | 
  | 
  |   | 
  |   | Also, try adding your jaxrpc-mapping customizations like so (note the 
variable mapping):
  |   | 
  |   | 
  |   |   | 
  |   |   |sei._arrays.java.lang.StringArray
  |   |   |typeNS:StringArray
  |   |   |complexType
  |   |   |
  |   |   |   value
  |   |   |   value
  |   |   |  
  |   |   | 
  |   |   | 
  |   | 
  |   | -Jason

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

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


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


[JBoss-user] [EJB/JBoss] - question about default jndi name

2005-12-21 Thread balteo
Hello,
I noticed that whenever I don't provide a default LOCAL jndi name jboss 
defaults to something like that:
local/[EMAIL PROTECTED]
What does the number following the ejb name means?
Thanks in advance,
Julien.

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

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


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


[JBoss-user] [EJB/JBoss] - Various questions about performance features of ejb containe

2005-12-21 Thread balteo
Hello,
I noticed looking up an ejb the first time is much slower than the second time. 
 PLEASE NOTE that I have not cached anything in my code nor do I have a service 
locator. Does jboss cache the ejb lookups? If so do I still need to implement a 
service locator with a cache?
Thanks in advance,
Julien Martin.

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

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


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


[JBoss-user] [JBoss Portal] - Re: different portlets to different users

2005-12-21 Thread mholzner
what you see there are (currently) pages, not portlets. 
But the good news is: yes, you can do that. 
You will have to create those pages, place the desired portlets on them, and 
then secure them via  a security constraint that allows the mentioned roles 
read access to the individual page. As a result, user a (in role A) will only 
see page A (if pages B and C are assigned to different roles)

You can provide all the needed info in the *-object.xml , or later on via the 
management UI


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

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


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


[JBoss-user] [JBoss Seam] - Re: Commandbutton doesn't work inside dataTable

2005-12-21 Thread [EMAIL PROTECTED]
In the CVS version, @DataModel gets its scope from the component that owns it 
(unless the component is STATELESS). This would always be correct.


Btw, make sure you are using a current CVS build of Seam. There were many 
bugfixes in this area.

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

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


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


[JBoss-user] [JBoss Seam] - Re: Commandbutton doesn't work inside dataTable

2005-12-21 Thread Rorschach
Apparently the default scope set to the underlying DataModel is what's causing 
my particular issue.  If I set the scope on my @Datamodel manually (using the 
@Out annotation) to Session, or Conversation, the command button fires the 
method as expected.



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

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


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


[JBoss-user] [JBoss Seam] - Re: Add/List/Edit/Remove example in Seam

2005-12-21 Thread [EMAIL PROTECTED]
great - xml code is not getting escaped..


Here it is with []'s instead:

[hibernatetool destdir="${destdir}"]

   [jdbcconfiguration configurationfile="seamtest.cfg.xml" 
packagename="org.jboss.seam.example.crud"/]   
  
   [!-- setup global properties --]  
   [property key="seam_appname" value="Registration"/]
   [property key="seam_shortname" value="crud"/]

   [hbmtemplate exporterclass="org.hibernate.tool.hbm2x.seam.SeamExporter" 
filepattern="."/]

 [/hibernatetool]

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

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


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


[JBoss-user] [JBoss Seam] - Re: Add/List/Edit/Remove example in Seam

2005-12-21 Thread [EMAIL PROTECTED]
>From seamtest-build.xml in hibernatetools:

 
  
  
 
   
   

   

 


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

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


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


[JBoss-user] [JBoss Seam] - Re: CVS Seam and Injecting Stateful Session Beans

2005-12-21 Thread [EMAIL PROTECTED]
Does the @Local interface of your stateful bean have a method named 
getInstance()?

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

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


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


[JBoss-user] [JBoss Seam] - Re: Add/List/Edit/Remove example in Seam

2005-12-21 Thread [EMAIL PROTECTED]
anonymous wrote : I would love to, but I'm using IntelliJ.

So use eclipse for reverse engineering, and IntelliJ for development.

The tool does not generate eclipse-specific code ;)

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

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


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


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

2005-12-21 Thread jlukar

I am thinking that writing a BLOB to DB in itself should not be that slow.  Its 
is probably the way the aspectized POJO is being serialized and writen to DB is 
taking a while. 

To not use BLOB, would mean I have to break up my POJO and write out fields 
seperatly to jbosscache table, right ?   

I assume that should be done using JDBCCacheLoader or my own custom cache 
loader.  Is this correct ?

Do you think, hybernate buys me anything here, or am I totaly confused.

thanks for info.

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

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


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


[JBoss-user] [JBoss Seam] - Re: Commandbutton doesn't work inside dataTable

2005-12-21 Thread Rorschach
After further investigation, it appears this is a "JSF" specific problem and 
not particular to Seam.

Still researching.

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

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


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


[JBoss-user] [EJB 3.0] - Re: Persisting enums...

2005-12-21 Thread greening
The just-released proposed final draft has a new annotation allowing enum 
fields to be persisted ordinals or strings.  

public enum EmployeeStatus {FULL_TIME, PART_TIME, CONTRACT}
public enum SalaryRate {JUNIOR, SENIOR, MANAGER, EXECUTIVE}
@Entity public class Employee {
...
public EmployeeStatus getStatus() {...}
   @Enumerated(STRING)
   public SalaryRate getPayScale() {...}
...
}

When do y'all expect to release a new EJB3 alpha that roughly conforms with the 
PFD?

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

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


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


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

2005-12-21 Thread heismann
I was able to deploy a par using the DeployParTask.  Here is a snippet from my 
ant script.

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

The contents of the classpath are as follows: 

C:\dev\workspaces\WFMS\tmp\deployPars
C:\dev\workspaces\WFMS\tmp\deployPars\jbpm.properties
C:\dev\workspaces\WFMS\tmp\deployPars\hibernate.cfg.xml
C:\dev\workspaces\WFMS\tmp\deployPars\createdPars
C:\dev\workspaces\WFMS\tmp\deployPars\antlr-2.7.5H3.jar
C:\dev\workspaces\WFMS\tmp\deployPars\asm.jar
C:\dev\workspaces\WFMS\tmp\deployPars\cglib-2.1.jar
C:\dev\workspaces\WFMS\tmp\deployPars\commons-collections-2.1.1.jar
C:\dev\workspaces\WFMS\tmp\deployPars\commons-logging.jar
C:\dev\workspaces\WFMS\tmp\deployPars\dom4j-1.6.jar
C:\dev\workspaces\WFMS\tmp\deployPars\ehcache-1.1.jar
C:\dev\workspaces\WFMS\tmp\deployPars\hibernate3.jar
C:\dev\workspaces\WFMS\tmp\deployPars\jbpm-3.0.2.jar
C:\dev\workspaces\WFMS\tmp\deployPars\jbpm-identity-3.0.2.jar
C:\dev\workspaces\WFMS\tmp\deployPars\ojdbc14.jar

jbpm.properties

  | #
  | # this file overwrites the defaults as specified in JbpmConfiguration
  | # for the default values, see org.jbpm.JbpmConfiguration
  | #
  | 
  | jbpm.log.package.org.jbpm=warn
  | jbpm.log.package.org.jbpm.persistence.hibernate=warn
  | 
  | hibernate.dialect=org.hibernate.dialect.Oracle9Dialect
  | hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
  | 
hibernate.connection.url=jdbc:oracle:thin:@DATABASE_MACHINE1521:DATABASE_INSTANCE
  | hibernate.connection.username=USER
  | hibernate.connection.password=USER_PW
  | hibernate.show_sql=true
  | hibernate.query.substitutions=true 1, false 0
  | 
  | 


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

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


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


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

2005-12-21 Thread [EMAIL PROTECTED]
You're saying BLOBs are terribly slow ?
You know that you can override the types of the columns in the created table ? 
And you can also override the SQL for the INSERT and UPDATE statements, so you 
could possibly replace the BLOB with a VARCHAR. But (and my understanding of 
SQL is limited), VARCHARs have a limited length, so your data would have to be 
below that limit.
If you suggest a different mapping, we'll be happy to take a look. Especially 
if it improves performance

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

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


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


[JBoss-user] [JBoss Portal] - Re: Reporting a few errors

2005-12-21 Thread dmiklancic
A few additional pieces of information that may prove helpful:

When in "phalanx" or "nodesk" layouts ...

1.  Select "theme selector", select the "information" or "help" mode icon -- 
generates the NPE error.  This work fine in the "generic" layout.

2.  Select "theme test," select the Rewrite Portlet Content button -- nothing 
happens.  In the "generic" layout, a small popup window appears.

Once I receive a NPE exception, I often have to close the browser session and 
begin again to get back to the theme selector portlet to change the layout back 
to generic so things start to work again.



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

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


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


[JBoss-user] [JBoss Portal] - Re: Reporting a few errors

2005-12-21 Thread dmiklancic
With some additional testing, I believe I have narrowed the problem:

Installed JBoss Portal 2.2.0-bundled on Windows, executed run.bat, launched IE 
6.0 browser with http://localhost/portal.

(In Phalanx layout)
Select Test page
Select "missing instance test" -- works (displays "powered by JBoss" only)
Select browser's back button
Select "exception test" -- displays Exception Portlet
Select "action Runtime Exception" -- HTTP Status 500
Select browser's back button twice
Select "missing instance test" again -- exception trace as listed above by PMO.

Now, switch to generic layout and repeat.  The second selection of "missing 
instance test" displays "powered by JBoss" rather than the messy exception 
trace.

Now, switch to the nodesk layout and repeat.  The second selection of "missing 
instance test" fails as it did in the Phalanx layout, except "nodesk" is 
indicated rather than "phalanx".  Exceprt follows:

root cause 
  | 
  | java.lang.NullPointerException
  | 
org.jboss.portal.theme.tag.basic.ForEachWindowInRegionTag.next(ForEachWindowInRegionTag.java:73)
  | 
org.jboss.portal.theme.tag.basic.ForEachWindowInRegionTag.doStartTag(ForEachWindowInRegionTag.java:114)
  | 
org.apache.jsp.nodesk.index_jsp._jspService(org.apache.jsp.nodesk.index_jsp:453)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)


It appears the generic layout is working fine and the others have a NPE issue.  
Hope this helps isolate the problem.  

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - java.io.StreamCorruptedException accessing Keystore

2005-12-21 Thread atulksh
Hi,
I am getting java.io.StreamCorruptedException when I try to access a keystore 
file. The keystore was generated using JDK 1.2.2 (old application) and I am 
trying to access the same code that ran in Weblogic 5.1 under JDK 1.2.2 in 
JBoss 4.0.2 using JDK 1.4.2. The JCE jar version that I am using with JDK 1.2.2 
is JCE 1.2.

I did a test where I tried to invoke an independant java program which loads 
the keystore under JDK 1.4.2 and it worked absolutely fine. The code that I 
used in this small program is the same exact one that gets invoked inside the 
web application.

The exception I am getting is -

java.io.StreamCorruptedException
at java.io.ObjectInputStream.readTypeString(ObjectInputStream.java:1372)
at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:607)
at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:778)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1528)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA12275)
at java.security.KeyStore.load(KeyStore.java:1150)

The code that is being used is -

  Provider sunJce = new com.sun.crypto.provider.SunJCE();
  Security.addProvider(sunJce);
  KeyStore ks = KeyStore.getInstance("JCEKS", "SunJCE");
  FileInputStream is = new FileInputStream(keyStoreFile);
  ks.load(is,args[1].toCharArray());

What can be the problem. Please help. I am really stuck here.

Atul.


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

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


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


[JBoss-user] [JBoss jBPM] - Re: jBPM BPEL Hello example exception

2005-12-21 Thread [EMAIL PROTECTED]
It is official - Oracle stores empty strings as NULL, even as of version 10g 
(see Nulls). MySQL and Hypersonic do not exhibit this behavior either. I don't 
think there is a workaround at the JDBC driver or Hibernate dialect levels, 
because they would need a way to distinguish between a NULL and an empty string.

This pushes the problem up to the application level. I've filed BPEL-74 to 
track this issue.

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Does JBoss 4.0 support EJB 1.1 in conjunction with CMP 1.1?

2005-12-21 Thread davidnia
Hello,

I am new JBoss and have an EJB 1.1 application I want to migrate to JBoss 4.0, 
however I could not find any information in the admin's guide or the beginner's 
guide about older EJB versions.   All I have seen reference EJB 3 and CMP 2.

The string "cmp 1" does not appear in the documentation...

Does JBoss 4.0 support EJB 1.1 in conjunction with CMP 1.1?

Thanks in advance

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Where to create a new user object in web session?

2005-12-21 Thread Neelixx
Heh!  It's almost always the simplest way, isn't it?  I guess that's just me.  
I seem to try to make things more difficult than they really need to be.

THANKS, Scott!  I probably would have never come up with that.  I probably 
would have tried to build an algorithm that solve coldfusion.

Sheesh!  I need more coffee.

Again, thanks.



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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Web Container Security in JBoss 4.0.1

2005-12-21 Thread gkagka
I am trying to use Web Container Security to protect the content for one of my 
applications running on JBoss 4.0.1 and MySQL environment. Below are the 
details of my application/environment.

The application deploys without any errors. When I access a page under 
protected folder (http://localhost:8080/jsf-etc/protected/about.html), it 
presents the login form (LoginForm.html). And if I type wrong login 
information, say admin/abc, it shows LoginError.html. Which is correct.

Problem: When I provide correct login information, admin/admin or gka/gka, it 
returns 403 status message shown below. What's missing or wrong here? 

Any help will be appreciated. Thanks in advance.


HTTP Status 403 - Access to the requested resource has been denied
type Status report
message Access to the requested resource has been denied
description Access to the specified resource (Access to the requested resource 
has been denied) has been forbidden.
Apache Tomcat/5.0.28


Application: jsf-etc.ear

META-INF/MANIFEST.MF
META-INF/application.xml
META-INF/jboss-app.xml
jsf-etc-login-config.xml
jsf-etc-login-service.xml
jsf-etc.war

application.xml
---

http://java.sun.com/dtd/application_1_3.dtd";>

  JSF ETC
  JSF ETC
  

  jsf-etc.war
  jsf-etc

  


jboss-app.xml
-

http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";>

  
jsf-etc-login-service.xml
  


jsf-etc-login-config.xml


http://www.jboss.org/j2ee/dtd/security_config.dtd";>




rhdb
java:/MySqlDS

select password from principals where username=?


select role, groupname from roles where username=?







jsf-etc-login-service.xml
-



jsf-etc-login-config.xml

jboss.security:service=XMLLoginConfig


jboss.security:service=JaasSecurityManager




Web Module: jsf-etc.war
---
META-INF/MANIFEST.MF
WEB-INF/lib/jsp-api.jar
WEB-INF/lib/jstl.jar
WEB-INF/lib/standard.jar
WEB-INF/jboss-web.xml
WEB-INF/web.xml
LoginError.html
LoginForm.html
index.html
protected/safe.html


jboss-web.xml
-

http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";>

  java:/jaas/jsfetc
  jsf-etc
  
admin
admin
  



web.xml
---



  
Faces Servlet
javax.faces.webapp.FacesServlet
1
  
 
  
Faces Servlet
*.faces
  
 
  
index.html
  

  

  Protected Area
  Security constraint for "protected" folder
  /protected/*
  POST
  GET


  Only 'admin' can login
  admin


  No SSL yet
  NONE

  
 
  
FORM

  /LoginForm.html
  /LoginError.html

  
 
  
Secure Role
admin
  




LoginForm.html
--


Login Form

Login Form

Username:   
Password:  






Database tables in localhost/rhdb database
--
select * from principals;
+--+--+
| username | password |
+--+--+
| gka  | gka  |
| admin| admin|
+--+--+

select * from roles; 
+--+---+---+
| username | role  | groupname |
+--+---+---+
| gka  | admin | any   |
| admin| admin | dontcare  |
+--+---+---+


mysql-ds.xml in jboss-4.0.1\server\default\deploy folder





MySqlDS
jdbc:mysql://localhost:3306/rhdb
com.mysql.jdbc.Driver
rhdb
rhdb

org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter



mySQL














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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: j_security_check and DatabaseServerLoginModule don't wor

2005-12-21 Thread jobbyjoseph
Try
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=67763
Jobby

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Simple JAAS Configuration ?

2005-12-21 Thread jobbyjoseph
Hi Guys,
I had the same problem and was fixed.

What i did was set UseJBossWebLoader to true and Java2ClassLoadingCompliance to 
true. This is in the 
JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml

true
  | true
  | 

Jobby


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

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


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


[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process

2005-12-21 Thread kukeltje
Or look at 3.1alpha. afaik, there is functionality to suspend and resume. It is 
alpha, so the code might not be finished.  

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

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


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


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

2005-12-21 Thread jlukar
I turned on JDBC persistance with Informix backend using TreeCacheAOP.

The performance numbers are horribly slow.

The "jbosscache" table created as part of service startup  has the  columns 
"fqn","node","parent" with types varchar(255), blob, varchar(255) respectively.

The inserts of my pojo business objects as they are serialized into byte stream 
by the cache,  are taking on the average of 15 seconds  for each row. The DB is 
on another server off of the subnet.

denormolizing the pojo object and writing a row out with all pojo fields to 
non-blob/byte  columns as varchar, integers, etc.  is a lot faster.

Is this going to be the expected behaviour where JDBC persistance of POJO 
objects using serialized byte stream as default mechanism by TreeCache/AOP is 
going to be magnitude slower ?

Can someone suggest a way to use JDBC persistance and yet make it fast or as 
fast as file persistance, etc. ?   Maybe my own cacheLoader scheme ?

I have to use JDBC/informix(vs. sleepycat) in order to not worry about local 
disk failure issues on persistance and recovery.   A remote DB seems to be way.

thanks

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

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


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


[JBoss-user] [Management, JMX/JBoss] - Re: Multiple Java versions in JBoss server?

2005-12-21 Thread ihunter
Hi Dimitris,

Thanks for the response.

We're using Orbacus which does work on 5 in later versions, but we're 
definatley stuck at an early version. We'd love to use Jacorb, make life much 
easier but theres a whole load on Orbacus.

Looks like we'll have to abandon EJB3 for now. :-(

Cheers
Ian


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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Please help -- 'Failed to create sec mgr'

2005-12-21 Thread jobbyjoseph
Hi Scott,
Thanks a lot for you replay.  I checked and i don't have any jboss jar files in 
my deployment. I actually fixed this problem. I found out this from another 
post 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=71536

What  i did was set UseJBossWebLoader to true and Java2ClassLoadingCompliance 
to true. This is in the 
JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml

  true
  |   true

I am not sure whether this is actually the fix but look like it worked for me.  
If possible can you please tell me what other change will this make to my 
application.

Thanks,
Jobby

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss Application Server 4.0.3 SP1

2005-12-21 Thread fritzwf
No error message.  It finishes the install without any errors.  But the
'all' directory only contains log and tmp folder.  Nothing else.

I am installing it on Windows XP SP2 by just double clicking on the jar install 
file.

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

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


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


[JBoss-user] [EJB 3.0] - Re: ClassCastException

2005-12-21 Thread [EMAIL PROTECTED]
yes, wars are scoped by default now.  This means you have to remove the 
duplicate Book.class you have in both the war and the par.

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

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


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


[JBoss-user] [JBoss Portal] - Re: Portal Startup Console Output

2005-12-21 Thread fritzwf
Has anyone run the Portal 2.2 final with the JBoss 4.0.3SP1 using the 'all' 
configuration?

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

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


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


[JBoss-user] [JBoss Portal] - Re: Portal Startup Console Output

2005-12-21 Thread fritzwf
Thanks for the output.  Those appear to be exactly the same warnings I get.  
Trying to get it to work with JBoss AS 5 but it gives me a bunch of other 
problems.

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

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


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


[JBoss-user] [JBoss Portal] - Re: Layout in JBossPortal-2.2

2005-12-21 Thread mholzner
there are two new layouts in 2.2: phalanx and generic 
"phanlanx" uses the same constructs as you saw them in 2.0. 
"generic" uses the new default approach, where the theme takes over a lot more 
of the look and feel of the portal. The portal now comes with four default 
themes that all work with the generic layout. 

So, instead of writing scriptlets in JSPs you can now use the generic layout 
and use one of the delivered themes as a starting point.
Or if you prefer the old way, take the phalanx layout as starting point.
To see a direct comparison of old vs new we implemented the phalanx layout as 
Nphalnax theme, again using the generic layout

There is also a lot of documentation about this in the reference guide

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

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


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


[JBoss-user] [News & Announcements] - 3.2.8RC1 release availabe

2005-12-21 Thread [EMAIL PROTECTED]
JBossAS version 3.2.8RC1 has been released and is available for download 
here.

The jboss-3.2.8RC1 for the J2EE 1.3 codebase is a bug fix and minor feature 
enhancement release candidate.


Release Notes - JBoss Application Server - Version  JBossAS-3.2.8RC1

Feature Request

[JBAS-1365] - Allow arbitrary creation of filters in ListenerServiceMBeanSupport
[JBAS-1382] - Externalize the clustering PartitionName setting to a single 
system property reference
[JBAS-1448] - Update the ServerInfo listThreadDump to use the jdk 5 stack traces
[JBAS-1449] - Update the ServerInfo memory ops to use the jdk 5 mbeans
[JBAS-1451] - Need additional trace level logging about security domain cache 
validation
[JBAS-1610] - Integrate jdk5 MXBeans (platform MBeans) to JBoss
[JBAS-1722] - Allow for a Principal instance as the Context.SECURITY_PRINCIPAL 
in LoginInitialContextFactory
[JBAS-1739] - Add default users/roles properties to the UsersRolesLoginModule
[JBAS-1758] - A BarrierController service to allow start/stop dependecies 
triggered by notifications
[JBAS-1839] - Need to improve naming debugging
[JBAS-1896] - Disable full class and resource access by default in RMI dynamic 
class loading service
[JBAS-2143] - Allow JaasSecurityManagerService to run in single-threaded mode
[JBAS-2365] - support for overager-period and max-bean-age in jdbc2 pm
[JBAS-2366] - support for dynamic-ql in jdbc2 pm
[JBAS-2459] - Add support for JMSXDeliveryCount to JBossMQ
[JBAS-2460] - Add support for JMSXDeliveryCount to JMS MDBs
[JBAS-2507] - support for <, <=, > and >= comparisons for types mapped with 
user-type-mapping
[JBAS-2547] - Port Slow performance of JaasSecurityManager changes to 3.2
[JBAS-2555] - Add shutdown flag to the ServerMBean


Bug

[JBAS-51] - bug in cascade-delete with relationships in Jboss CMP
[JBAS-1027] - HA-JNDI binding replicants not initialized properly
[JBAS-1101] - NullPointerException at org.jfree.data.DefaultTableXYDataset
[JBAS-1168] - batch-cascade-delete problem
[JBAS-1181] - Performance degredation with local IIOP calls
[JBAS-1270] - UserTransaction with non default ProviderURL
[JBAS-1352] - Generalized detached invoker proxy factory handling of 
IClientContainer
[JBAS-1354] - Dependency on the ServiceController is broken
[JBAS-1362] - bin/shutdown reports -S to be the default option
[JBAS-1368] - Deadlocks in Message Persistence when working with Sybase
[JBAS-1369] - Running JMS server out of threads disables further connections
[JBAS-1379] - HA-JNDI write operations have deadlock problem
[JBAS-1380] - UIL2 server accept thread can be lost due to unexpected error
[JBAS-1386] - commit option B does not work with CMP 1.x
[JBAS-1456] - Login module is executed twice from web tier initiated 
authentication
[JBAS-1480] - Web Console: Monitors: Errors in the log
[JBAS-1484] - ClassCastException while creating JNDI SubContext
[JBAS-1495] - Looking up a session bean on one server from within another in 
JBoss 3.2.7
[JBAS-1499] - classcast exception after jaas login, while context lookup
[JBAS-1500] - session.invalidate does not gets replicated
[JBAS-1511] - http session replication produces WARN message about null session
[JBAS-1516] - Tomcat5: StandardContext getConfigBase tries to create a directory
[JBAS-1522] - HttpNamingContextFactory fails due to system property read when 
under a security manager
[JBAS-1539] - EntityEnterpriseContext does not clear  ejbLocalObject
[JBAS-1546] - ejbSelect methods with same name, diferent signatures does not 
work
[JBAS-1560] - Clustered stateful session bean removal of expired passivated 
instances causes deadlock
[JBAS-1569] - CMR loaders should be initialized before queries are compiled in 
jdbc2 pm
[JBAS-1570] - NPE in jdbc2.Schema when no tx
[JBAS-1571] - Logging of cluster rpc method exceptions at warn level is 
incorrect
[JBAS-1577] - white-space in ServiceMBean EVENT types
[JBAS-1580] - Problem when Submitting Massive Load into HttpSession
[JBAS-1588] - Collection synchronization into cmp2
[JBAS-1589] - Typo in JBossMQ's TxManager
[JBAS-1622] - findSessions doesn't find all sessions in http session replication
[JBAS-1626] - ClientReconnectInterceptor doesn't work
[JBAS-1632] - clustering unit test failure
[JBAS-1633] - Random IllegalStateException when session id is recycled
[JBAS-1737] - jmx-console fails to pass java.lang.Object values to op 
invocations
[JBAS-1741] - Deadlock can occur when acting on startup notification from 
jboss.system:type=Server and trying to access the web server.
[JBAS-1771] - MainDeployer.parseManifestLibraries does not log underlying 
exceptions
[JBAS-1776] - Persistent MBean cannot be reloaded and thus fails to redeploy
[JBAS-1784] - Injected mbean dependencies do not honor the dependency contract
[JBAS-1787] - Twiddle gives StreamCorruptionException when invoking custom 
MBeans
[JBAS-1790] - Cannot build from Branch_3_2
[JBAS-1807] - static analysis found infinite recursive loops in jboss code
[JBAS-1816] - StatusServlet xs

[JBoss-user] [Installation, Configuration & Deployment] - Patch deployment for ear application

2005-12-21 Thread upankar
I have an ear file that consists of two jars and one war. Now if i need to 
patch out 2/3 class files of one of the constituent jars, what is the standard 
way of doing it ?
In a standalone envioronment (outside of an app server), we generally put the 
class files in exploded package/directory form, and refer to that first thing 
in the classpath before the master jar. I dont think we can use the same 
practice here in jboss since putting them in jboss classpath shall mean those 
classes will be loaded during start-up, and will have access issues if we refer 
any of the application classes from within it. 

One way, i believe, will be to have the ear in exploded form, and then replace 
the required files. But is there any other standard way ? Whats the practice 
generally followed ??

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

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


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


[JBoss-user] [JBoss jBPM] - configure log

2005-12-21 Thread jnjintc
Hi,
Is there a way in JBPM 3.1 (or 3.2)  to control and configure what gets logged? 
I want to control the amount of information that gets logged to the JBPM log 
tables

thanks,
Adam

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

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


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


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - EJB Database Access stall

2005-12-21 Thread sumitsu
I recently completed transitioning an RMI standalone application (which 
operated via naming lookup on rmiregistry) to EJBs running under JBoss 4.0.3.  
The application makes JDBC calls to a database in order to get user/login 
information.

The problem is that, at seemingly random intervals, requests from the JDBC 
connection class running on JBoss to the database suddenly start to hang 
forever, and, in nearly every case, no Java exception is produced in server.log 
or on the terminal output.  The EJBs continue to accept JDNI requests from the 
associated web application as normal (as evidenced by debug statements), but 
once the behavior starts, database calls fail to return, producing no error 
output at all (as far as I can tell), until the JBoss server is restarted and 
the EJBs reloaded.

I believe I have isolated the stall to the following log4j call (as it is the 
first in the sequence of logger calls in the database-access sequence not to 
produce log output):


  | log.debug("About to get a connection (active count=" +
  | ((oracle.jdbc.pool.OracleConnectionCacheImpl)dataSource).getActiveSize() + 
",curr-cache=" + 
  | 
((oracle.jdbc.pool.OracleConnectionCacheImpl)dataSource).getCacheSize()+")");
  | 

The reason that I think this to be a JBoss-related problem is that restarting 
the JBoss server does correct the problem temporarily, and that the older 
RMI-registry implementation never had such an issue, despite using exactly the 
same JDBC code.  It has been maddening trying to resolve the problem, as it is 
essentially impossible to reproduce it on command.  Increased usage does seem 
to be some sort of factor, as the problem occurs more frequently during periods 
of heavy load (every few hours, as opposed to every few days), but I have yet 
to successfully induce the malfunction by artificially loading the application 
with requests.  Trying to solve this via trial-and-error would therefore be an 
extremely slow process.

Has anyone else had a similar problem with getActiveSize() or getCacheSize() 
calls blocking indefinitely, or with database calls eminating from 
JBoss-deployed EJBs randomly starting to stall out?

Thanks,

Branden Smith
[EMAIL PROTECTED]

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

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


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


[JBoss-user] [Remoting] - Re: Compressing(Un)Marshaller - blocking read on server side

2005-12-21 Thread edeprez
forgot to mention, I'm using 1.4.0 beta

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

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


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


[JBoss-user] [Remoting] - Compressing(Un)Marshaller - blocking read on server side

2005-12-21 Thread edeprez
Hi,

I modified the examples SimpleServer and SimpleClient in order to check out the 
compressing marshallers:

added the following line in both classes before creating the 
SimpleClient/SimpleServer in main

  | MarshalFactory.addMarshaller("compress", new CompressingMarshaller(), new 
CompressingUnMarshaller());
  | 

and modified the locator to this: 
   socket://localhost:5400/?datatype=compress

When running, the stuff, I could see that
on the client side, in SocketClientInvoker.tansport() the marshaller writes its 
data without complain and blocks when trying to read response... seems normal.

on the server side, in ServerThread.processInvocation(), in the following 
statement :
Object obj = unmarshaller.read(socketWrapper.getInputStream(), null);
the socketWrapper.getInputStream() goes down to ObjectInputStream's constructor 
which blocks on readStreamHeader() until a read timeout exception is thrown

Anyone got a suggestion?

Thanks!

Eric.

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - is it posible to mix DailyRollingFileAppender and RollingFil

2005-12-21 Thread jack0501
I need an appender that can change file both daily or when the actual file 
size reaches a max size (something like mixing DailyRollingFileAppender and
RollingFileAppender) and delete the old log file per some days.
is it posible to obtain such appender without modifying source? If i need to
modify the source... any of you have done it before? 
Thanks.

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

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


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


[JBoss-user] [JNDI/Naming/Network] - EJB 3.0 Remote Interface Not Bound

2005-12-21 Thread kael20
Hiya folks,

 I have seen other people having a similar problem unfortunately either 
there were no solutions or their solutions were not working for me.  The 
problem I am having is accessing my bean from another server using 
InitialContext lookup.

Now I have my initialContext set up correctly to point toward the correct jndi 
and then I have the code:

  | hello = (RemoteHello)ctx.lookup(Hello.class.getName());
  | 

RemoteHello is the remote interface for the bean.  

I am getting this error trying to access that class:

  | hello = (RemoteHello)ctx.lookup(Hello.class.getName());
  | 

When I go into my jmx console and look at the global jndi namespace I see this 
for RemoteHello:


  | +- com.testing.hello.RemoteHello (proxy: $Proxy148 implements No 
ClassLoaders found for: com.testing.hello.RemoteHello (no security manager: RMI 
class loader disabled))
  | 

Being new to this, is that supposed to say implements no classloaders?

Any help would be greatly appreciated, thank you.

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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: how to get the number of bytes sent by the servlet respo

2005-12-21 Thread ashisha
Hi NigelWhite, 

I have a complex object and not s String. I do not want to count byte by byte, 
as that will take time.. Hence, wondering if there is a readymade api in tomcat 
that i can access.

Thanks for all your help...

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

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


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


[JBoss-user] [JBoss Seam] - CVS Seam and Injecting Stateful Session Beans

2005-12-21 Thread js8523
Hi All 

I am using the current version of Seam from CVS. 

I am trying to reproduce the crud code (generated from tool) in my application. 
Whenever I try to inject a Stateful session bean using (@In) I get the 
following error: 

SEVERE: Error Rendering View
  | javax.faces.el.EvaluationException: /showsite.xhtml @23,65 
value="#{siteEditor.instance.name}": $Proxy113
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
  | at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
  | at 
org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225)
  | at 
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:131)
  | at 
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:49)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:521)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:518)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:518)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:447)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:44)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.faces.el.EvaluationException: Bean: $Proxy113, property: 
instance
  | at 
org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:404)
  | at 
org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:71)
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:137)
  | at com.sun.el.parser.AstValue.getValue(AstValue.java:96)
  | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183)
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
  | ... 33 more
  | Caused by: java.lang.reflect.InvocationTargetException
  | 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.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400)
  | ... 39 more
  | Caused by: java.lang.IllegalArgumentException: could not inject: 
siteEditor.contractOperations
  | at org.jboss.seam.Component.setFieldValue(Component.java:872)
  | at org.jboss.seam.Com

[JBoss-user] [Testimonials] - cpetstore help

2005-12-21 Thread kaldenecker
Can someone please help me out with cpetStore on JBoss 4.0 2 ?

Where is this documented ? Can someone post the instructions please ? 

thanks 
kaldenecker

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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: My jsp always return null

2005-12-21 Thread claudia.pt
I think the problem is in method getPlace because is returning an objecto of 
type Place instead of a List object...

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: how to keep the latest log message after jboss restarted

2005-12-21 Thread [EMAIL PROTECTED]
Change the Append parameter to true.


  | 
  |
  | 


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

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


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


[JBoss-user] [EJB 3.0] - OneToOne problem

2005-12-21 Thread alvarommz
Hi, folks

Currently and for this case I have the following configuration, to be run under 
: JBoss.4.0.3 Sp1 and the EJB3 release coming with this version of JBoss:

This is the root class


  | @Entity
  | @Table( name="cdmn_facturas", schema= "CellDom" )
  | @Inheritance(strategy=InheritanceType.JOINED,  discriminatorValue = 
"OFactura", discriminatorType=DiscriminatorType.STRING)
  | @DiscriminatorColumn(name="ObjClass")
  | public class OFactura  implements Serializable
  | {
  |  protected String FactId;
  | 
  |  @Id(generate=GeneratorType.NONE)
  |  @Column( name="FactId", nullable=false )
  | public String getFactId()
  | {
  |return FactId;
  | }
  | 
  | 
  | 
  | }
  | 

This is the sublcass involved in the problem


  | @Entity
  | @Table( name="cdmn_FacturasCompra", schema= "CellDom" )
  | @Inheritance(discriminatorValue = "OFacturaCompra")
  | @PrimaryKeyJoinColumn(name = "FactId", referencedColumnName="FactId" )
  | public class OFacturaCompra extends OFactura implements Serializable
  | {
  | protected ORemision Remision;
  | 
  | 
  | @OneToOne( targetEntity=ORemision.class, 
  | fetch=EAGER, 
  | cascade=CascadeType.ALL)
  | @JoinColumn( name="RemId",  referencedColumnName="RemId" )
  | public ORemision getRemision()   
  | {
  | return Remision;
  | }
  | 
  | public void setRemision( ORemision remision )
  | {
  |  this.Remision = remision;
  | }
  | 
  | 
  | }
  | 

and this is the associated class involved in the problem:


  | @Entity
  | @Table(name="cdmn_Remisiones", schema= "CellDom")
  | public class ORemision extends CEJB3Validator implements Serializable
  | {
  | 
  | private String  RemId;
  | private OFacturaCompra  fact;  
  | 
  | 
  | 
  | @Id(generate=GeneratorType.NONE)
  | @Column( name="RemId", nullable=false )
  | public String getRemId()
  | {
  | return RemId;
  | }
  | 
  | ...
  | @OneToOne(targetEntity=OFacturaCompra.class, mappedBy="Remision", 
fetch=EAGER )
  | public OFacturaCompra getFact()
  | {
  | return fact;
  | }
  | 
  | public void setFact(OFacturaCompra factNo)
  | {
  |   this.fact = factNo;
  | }
  | }
  | 

well this configuration at deploy stage posts the following exception:

anonymous wrote : 
  | 10:03:39,500 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=XCellDomain.par
  | java.lang.NullPointerException
  | at org.hibernate.util.StringHelper.qualify(StringHelper.java:264)
  | at 
org.hibernate.cfg.ToOneMappedBySecondPass.doSecondPass(ToOneMappedBySecondPass.java:38)
  | at 
org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1023)
  | at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:218)
  | at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:988)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:607)
  | at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:75)
  | at 
org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:473)
  | at 
org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:202)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:78)
  | at 
org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:512)
  | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:253)
  | at org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230)
  | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:

[JBoss-user] [JBossWS] - Re: JBoss 4.0.3SP1 - Cannot find type mapping meta data for:

2005-12-21 Thread jeff_porter


The only difference I can see is that "prefix" is not contained in the 
typeQName that is used for the lookup.

I doubt this is a problem. but I'm in need of some help here.

Note: I'm now thinking the String[] presumption is wrong.

 

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

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


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


[JBoss-user] [JBossWS] - Re: JBoss 4.0.3SP1 - Cannot find type mapping meta data for:

2005-12-21 Thread jeff_porter

Missing QName key...

key= QName  (id=1417)
  | localPart= "sendNotificationForTask"
  | namespaceURI= 
"http://www.iarc-online.com/eprojects/ebusiness/documents/v1";
  | prefix= "ns2"
  | qNameAsString= 
"{http://www.iarc-online.com/eprojects/ebusiness/documents/v1}sendNotificationForTask";
  | 
  | 

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

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


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


[JBoss-user] [JBossWS] - Re: JBoss 4.0.3SP1 - Cannot find type mapping meta data for:

2005-12-21 Thread jeff_porter

The exception (IllegalStateException) is thrown from this statement...



  | BeanXMLMetaData tmMetaData = 
metaDataRegistry.getTypeMappingMetaData(typeQName);
  | if (tmMetaData == null)
  | throw new IllegalStateException("Cannot obtain type mapping meta data 
for: " + typeQName);




typeQName
  | 
  | 
  | typeQName= QName  (id=238)
  | localPart= "sendNotificationForTask"
  | namespaceURI= 
"http://www.iarc-online.com/eprojects/ebusiness/documents/v1";
  | prefix= ""
  | qNameAsString= 
"{http://www.iarc-online.com/eprojects/ebusiness/documents/v1}sendNotificationForTask";
  | 

The entry in metaDataRegistry...
  | [48]= HashMap$Entry  (id=1395)
  | hash= -522621968
  | key= QName  (id=1417)
  | next= null
  | value= BeanXMLMetaData  (id=1418)
  | 
  | 


BeanXMLMetaData   values...
  | 
  | value= BeanXMLMetaData  (id=1418)
  | elementDescMap= LinkedHashMap  (id=1426)
  | delegate= HashMap  (id=1430)
  | entrySet= null
  | keySet= null
  | loadFactor= 0.75
  | modCount= 1
  | size= 1
  | table= HashMap$Entry[16]  (id=1433)
  | [0]= HashMap$Entry  (id=1440)
  | hash= -333616800
  | key= "NotificationForTask_1"
  | next= null
  | value= BeanXMLMetaData$ElementMetaData  
(id=1442)
  | asAttribute= false
  | asContent= false
  | fieldName= 
"NotificationForTask_1"
  | itemXmlType= null
  | minOccurs= null
  | xmlName= QName  (id=1444)
  | xmlType= null
  | [1]= null
  | [2]= null
  | [3]= null
  | [4]= null
  | [5]= null
  | [6]= null
  | [7]= null
  | [8]= null
  | [9]= null
  | [10]= null
  | [11]= null
  | [12]= null
  | [13]= null
  | [14]= null
  | [15]= null
  | threshold= 12
  | values= null
  | keys= LinkedHashMap$OrderedSet  (id=1431)
  | delegate= ArrayList  (id=1432)
  | elementData= Object[10]  (id=1434)
  | [0]= "NotificationForTask_1"
  | [1]= null
  | [2]= null
  | [3]= null
  | [4]= null
  | [5]= null
  | [6]= null
  | [7]= null
  | [8]= null
  | [9]= null
  | modCount= 1
  | size= 1
  | this$0= LinkedHashMap  (id=1426)
  | elementOrderList= ArrayList  (id=1427)
  | elementData= Object[10]  (id=1429)
  | [0]= "NotificationForTask_1"
  | [1]= null
  | [2]= null
  | [3]= null
  | [4]= null
  | [5]= null
  | [6]= null
  | [7]= null
  | [8]= null
  | [9]= null
  | modCount= 1
  | size= 1
  | 




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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: JACC provider under JBoss 4.0.3

2005-12-21 Thread [EMAIL PROTECTED]
Create a jira issue with the details of the deployment configuration.
http://jira.jboss.com/jira/browse/JBAS

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

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


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


[JBoss-user] [EJB 3.0] - Re: Entity beans deployment - database data erased on follow

2005-12-21 Thread [EMAIL PROTECTED]
Look in ejb3.deployer/META-INF/persistence.properties and you'll see the 
default table creation strategy.  On my 4.0.3 install it is:


  | hibernate.hbm2ddl.auto=create-drop
  | 

I don't seem to recall that always being the default, but in any event you'll 
find you want to override the table creation strategy by setting this property 
in your persistence.xml file.





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

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


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


[JBoss-user] [EJB 3.0] - Re: Entity beans deployment - database data erased on follow

2005-12-21 Thread [EMAIL PROTECTED]
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73750

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

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


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


[JBoss-user] [Beginners Corner] - Re: if i use log4j.xml file how to write for rootCategory??

2005-12-21 Thread [EMAIL PROTECTED]
The category name this.getClass()

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: conf directory

2005-12-21 Thread [EMAIL PROTECTED]
Other than conf/log4.xml which is reread on change, these are static files.

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Question about client login module

2005-12-21 Thread [EMAIL PROTECTED]
See the security chapter in http://www.jboss.com/products/jbossas/docs

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

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


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


[JBoss-user] [EJB 3.0] - Entity beans deployment - database data erased on following

2005-12-21 Thread razel
when I deploy an application containing entity beans and then deploy it again, 
all database data inserted is erased. What am I doing wrong?

Thanks

rodrigo lopes

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

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


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


[JBoss-user] [Beginners Corner] - Re: Problems with JNP: Class not Found Exception

2005-12-21 Thread [EMAIL PROTECTED]
Use the jbossall-client.jar to simplify things.

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Where to create a new user object in web session?

2005-12-21 Thread [EMAIL PROTECTED]
Adding the user to the session when its does not exist and getUserPrincipal 
returns non-null would be one way.

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

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


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


[JBoss-user] [EJB 3.0] - Re: Persisting enums...

2005-12-21 Thread Apex
OK, problem solved, enums persist fine my problem was realted to tomcats 
classloader not dealing with enums but now i have set the web magic to use 
Jboss' classloader instead

:p

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: I am getting this error.....when trying to access a simp

2005-12-21 Thread [EMAIL PROTECTED]
Which says the debjanid user was not authenticated, either a bad password or an 
incorrect security configuration.

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

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


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


[JBoss-user] [EJB 3.0] - Re: Transaction does not rollback

2005-12-21 Thread [EMAIL PROTECTED]
You could throw an exception that is marked with 
@ApplicationException(rollback=true) instead of just throwing a generic 
Exception.  The container will mark the tx for rollback without you needing to 
inject SessionContext.

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Custom callback handler

2005-12-21 Thread [EMAIL PROTECTED]
The page is http://wiki.jboss.org/wiki/Wiki.jsp?page=JaasSecurityManagerService 
and you need to search for CallbackHandlerClassName 

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Question regarding SecureIdentityModule

2005-12-21 Thread [EMAIL PROTECTED]
See http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords and 
the more generic JaasSecurityDomainIdentityLoginModule.

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

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


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


[JBoss-user] [Clustering/JBoss] - Re: clustering & database

2005-12-21 Thread [EMAIL PROTECTED]
1. http session repl is the easiest one.
2. Use 3.2.7 and later



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

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


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


[JBoss-user] [EJB 3.0] - Re: Transaction does not rollback

2005-12-21 Thread [EMAIL PROTECTED]
application defined exceptions to not rollback the current transaction. You 
need to use the context setRollbackOnly to achieve this effect.

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

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


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


[JBoss-user] [JBossWS] - Re: JBoss 4.0.3SP1 - Cannot find type mapping meta data for:

2005-12-21 Thread jeff_porter

The problem occurs from line 290 of InvokerProvider.java

I'm 90% sure its an Array of Strings issue.

The code in InvokerProvider.java says...

  BeanXMLMetaData tmMetaData = 
metaDataRegistry.getTypeMappingMetaData(typeQName);
  |   if (tmMetaData == null)
  |  throw new IllegalStateException("Cannot obtain type 
mapping meta data for: " + typeQName);
  | 
  |   



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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: My LoginModule needs more than just j_username and j_pas

2005-12-21 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves

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

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


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


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Repeated Transaction Timeouts

2005-12-21 Thread pareshpg
Has anybody found the solution to this problem? Even after increasing the 
timeout and the resetting the SpecCompliant attribute, I am not being able to 
solve the problem. Jboss version is 3.2.3. 
Please help.

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

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


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


  1   2   >