[jboss-user] [EJB/JBoss] - Re: [URGENT] Classloading issue

2006-07-12 Thread jaikiran
Have a look at:

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

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

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



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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: log4j email appender not working with jboss

2006-07-12 Thread jaikiran
anonymous wrote : I'm seeing the same issue here, and I've also noticed the 
following

How is your application packaged? Are using your own log4j file in your webapp 
or are you using the log4j.xml present in %JBOSS_HOME%/server/conf directory. 
Post the contents of the log4j.xml file that you are using. 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Windows Explorer automatically pops up displaying C:\Program

2006-07-12 Thread Markus.Wahl
Windows explorer displays a windows for directory C:\Program (containing 
jboss-4.0.4.GA) ever since i installed jboss 4.0.4.GA.

The shell is popping up after I log on to Windows XP. It returns automatically 
after a few seconds if I close the window. It does this about 4 times.

Why? How do I turn it off? It is slightly annoying.




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

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


[jboss-user] [Installation, Configuration & Deployment] - maximum concurernt users --- jboss

2006-07-12 Thread [EMAIL PROTECTED]

Hi 
Can any one answer to the following query

Is Jboss3.0  suitable for hosting high traffic internet sites? 

whats the maximum concurernt users jboss can support?

Regards
Ramesh


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Classloading: There are JARs inside my EAR, and my brain

2006-07-12 Thread jaikiran
I am not sure which version of jboss you are using. Currently, we use 
JBoss-3.2.3 and we have a similar case where there are jar files in our ear 
file and the way we configure it is as follows:

- Create a application.xml file containing the following:


  | http://java.sun.com/dtd/application_1_3.dtd";>
  | 
  | 
  | My Struts Example
  | 
  | 
  | first.jar 
  |   
  |   
  |   
  | second.jar
  |   
  |   
  | 

- Place this application.xml file in the META-INF directory of yourApp.ear

This works for us without any issues. See if this approach suits you.




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

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


[jboss-user] [Beginners Corner] - Re: File Path in EAR..!!!

2006-07-12 Thread jaikiran
anonymous wrote : WEB-INF/conf/tm.xml

This means that your tm.xml file is in youWar.war/WEB-INF/conf directory. So 
your code should look like:

InputStream inputStream = 
this.getClass().getClassLoader().getResourceAsStream("WEB-INF/conf/tm.xml");
  | 
  | InputStreamReader inputStreamReader = new InputStreamReader(inputStream) ;
  | 
  | thidPartyLib.someAPI(inputStreamReader);



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

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


[jboss-user] [JBoss Portal] - Re: Customize Navigation Portlet

2006-07-12 Thread yj4jboss
Hi,
   I was trying to implement the Navigation Portlet but could not find the 
following in the portal librairies ??

import org.jboss.portal.security.PortalPermissionFactory;
  | import org.jboss.portal.security.PortalPolicyException;

could you tell me which jar file contain these ??

I am using jboss-portal 2.2.0 on Fedora Core 5 and MySQL 4.1.2.

Thnx,
Yogesh


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

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


[jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean

2006-07-12 Thread TheThirdEye
A bit more information :

the MBeanServer (mbs) used is a remote mbean server obtained through the 
RMIAdaptor

mbs = (MBeanServerConnection) ctx.lookup("jmx/invoker/RMIAdaptor");
  | 

This is the full stack trace generated

javax.management.ReflectionException: Class not found: com.pack.mockMsg
  | at 
org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:1243)
  | at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1222)
  | at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:233)
  | at 
org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:279)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:251)
  | at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at 
org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:87)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
  | at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.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.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
  | at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | at sun.rmi.transport.Transport$1.run(Transport.java:153)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.ClassNotFoundException: com.pack.mockMsg
  | at 
org.jboss.mx.loading.UnifiedLoaderRepository3.loadClass(UnifiedLoaderRepository3.java:593)
  | at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1192)
  | ... 40 more

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

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


[jboss-user] [EJB 3.0] - Re: Cannot get JBoss to JBoss EJB3 Talk

2006-07-12 Thread hceylan
I really need to solve problem. 
Please help

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE Mailing Lists

2006-07-12 Thread [EMAIL PROTECTED]
When will we shut down the forums to avoid redundant "lists" ?

Is the mail archives searched when you use the search feature here on 
jboss.com/org ? 

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

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


[jboss-user] [Management, JMX/JBoss] - java.lang.ClassNotFoundException --- from createMBean

2006-07-12 Thread TheThirdEye
Hi,

I am trying to create a Mock mbean using the following statment

mbs.createMBean(MOCK_MSG_CLASS_NAME, testMsg);
  | 

where MOCK_MSG_CLASS_NAME --- "com.pack.mockMsg"
and testMsg = Object Name


I have imported the package com.pack.mockMsg. I recieve the following exception 
when I exucute the testCase through Eclipse ..

  | Caused by: java.lang.ClassNotFoundException: com.pack.mockMsg
  | at 
org.jboss.mx.loading.UnifiedLoaderRepository3.loadClass(UnifiedLoaderRepository3.java:593)
  | at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1192)
  | 
Any help is greatly appriciated !

Regards,
RM


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Could not restore ejb timers exception occured to JBossD

2006-07-12 Thread mookambikainfo
Hi,

I do faced with the same problem. If there avails any solution for this, Kindly 
post the same.

Regards

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

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


[jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool

2006-07-12 Thread ampieb
Sounds promising. With REST, do you mean you would like the user to freely 
traverse the associations amongst objects, and the client having enough state 
to know exactly "where" in the network of domain objects it is?


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Insert into Orace TimesTen In Memory DataBase

2006-07-12 Thread grdzeli_kaci
sorry when i was wrote 

insert into PAATA.STUDENT (ID,NAME,SURNAME,AGE,GROUPID) values 
(1,'asdasd','asdasdasd',22,2)

i get an error 

anonymous wrote : 
  | java.sql.SQLException: [TimesTen][TimesTen 6.0.2 ODBC 
Driver][TimesTen]TT2206: Table PAATA.STUDENT not found -- file "comp.c", lineno 
2031, procedure "sbCompCacheTbl()"
  | at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6327)
  | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6460)
  | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6425)
  | at com.timesten.jdbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3934)
  | at 
com.timesten.jdbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:420)
  | at 
com.timesten.jdbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:360)
  | at untitled3.Untitled1.main(Untitled1.java:26)
  | 


and if i remove shemaname PAATA from insert 

insert into STUDENT (ID,NAME,SURNAME,AGE,GROUPID) values 
(1,'asdasd','asdasdasd',22,2)

i get an error like this :




  | java.sql.SQLException: [TimesTen][TimesTen 6.0.2 ODBC 
Driver][TimesTen]TT2206: Table ADMINISTRATOR.STUDENT not found -- file 
"comp.c", lineno 2031, procedure "sbCompCacheTbl()"
  | at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6327)
  | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6460)
  | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6425)
  | at com.timesten.jdbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3934)
  | at 
com.timesten.jdbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:420)
  | at 
com.timesten.jdbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:360)
  | at untitled3.Untitled1.main(Untitled1.java:26)
  | 
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Slow load up time for Portal 2.4.0 CR1

2006-07-12 Thread free1000
Sounds like a slow session start up to me as it happens either after leaving 
the browser for a bit, or switching browser types. 

Check what is happening when a new session is started. Are you hitting any 
authentication services, EJB's, etc. Is there something which happens on 
session start which requires work. 

Then Id also check the JVM settings and make sure it has plenty of memory, 
maybe tweak the startup params in the startup scripts. 

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

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


Re: [jboss-user] unsubscribe

2006-07-12 Thread Tai Wai Wang
 
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Insert into Orace TimesTen In Memory DataBase

2006-07-12 Thread grdzeli_kaci
i have created table in oracle timesten 
[
  | CREATE TABLE "PAATA"."STUDENT" (
  |   "ID" INTEGER NOT NULL, 
  |   "NAME" VARCHAR(200), 
  |   "SURNAME" VARCHAR(200), 
  |   "AGE" INTEGER, 
  |   "GROUPID" INTEGER
  | ) ;
  | /code]
  | 
  | then i tried to insert from java 
  | 
  | 
  |   | import java.sql.DriverManager;
  |   | import java.sql.Connection;
  |   | import java.sql.*;
  |   | 
  |   | public class TestTimesTen {
  |   |   public static void main(String[] args) {
  |   | try {
  |   |   Class.forName("com.timesten.jdbc.TimesTenDriver");
  |   |   String URL = "jdbc:timesten:DSName";
  |   |   Connection _Connection = DriverManager.getConnection(URL);
  |   |   Statement stmt = _Connection.createStatement();
  |   |   int res1 = stmt.executeUpdate("insert into PAATA.STUDENT 
(ID,NAME,SURNAME,AGE,GROUPID) values (1,'asdasd','asdasdasd',22,2)");
  |   | 
  |   |System.out.println("asdasdasdasd");
  |   | }
  |   | catch (SQLException ex) {
  |   |   ex.printStackTrace();
  |   | }
  |   | catch (ClassNotFoundException ex) {
  |   |   ex.printStackTrace();
  |   | }
  |   |   }
  |   | }
  |   | 
  |   | 
  | 
  | 
  | but i get an error :( i don't know why :(
  | 
  | 
  |   | java.sql.SQLException: [TimesTen][TimesTen 6.0.2 ODBC 
Driver][TimesTen]TT2206: Table ADMINISTRATOR.STUDENT not found -- file 
"comp.c", lineno 2031, procedure "sbCompCacheTbl()"
  |   | at 
com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6327)
  |   | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6460)
  |   | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6425)
  |   | at com.timesten.jdbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3934)
  |   | at 
com.timesten.jdbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:420)
  |   | at 
com.timesten.jdbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:328)
  |   | at untitled3.Untitled1.main(Untitled1.java:16)
  |   | 
  |   | 
  | 
  | can anybody help me ? 
  | thanks
  | 

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

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


[jboss-user] [Clustering/JBoss] - Re: New to JBoss Clustering? Please read before you post.

2006-07-12 Thread [EMAIL PROTECTED]
It works now.

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

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


[jboss-user] [JBoss AOP] - Re: Interceptors not fired on methods called from within bea

2006-07-12 Thread jnorris10
A few more questions related to this:

1) I have this interceptor deployed as a separate .aop artifact, separate from 
my application ear.  Is it possible to somehow deploy this inside the ear (and 
therefore have my new aspect domain scoped inside it)?

2) I have called my aop descriptor "jboss-aop.xml".  Since this inherits a 
domain from the main ejb3 interceptor stack, would this be better named 
"test-ejb3-interceptors-aop.xml" like the "aspectdomain" unit test, or does 
this name mean something else?  What are the best practices for naming this?  
(btw, I could only get the .aop to deploy by calling it "jboss-aop.xml")

3) I have created a reusable transaction retry handler that ties into the jboss 
EJB3 interceptor stack (like the example above).  Would this be a useful in the 
jboss aop aspect library as a reusable component?  If so, what are the best 
practices for packaging this?

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

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


[jboss-user] [JBoss Seam] - Is this the correct way to go about this?

2006-07-12 Thread joff
We are developing a Seam application using JBoss Seam current CVS, Sun JSF 1.2, 
and Facelets.

We currently have this type of model:

Our EJB3 entities are:
CompanyCustomerUser

Company has many customers, who in turn have many users.

We have developed what we are calling "DAOs" or Data Access Objects, so that we 
can pull out (for example) a List of all Company objects (this is outside of 
any form context so no EJB3 is currently involved).

For example, our CompanyDAO implementation looks like this:
@Name("dao_company")
  | public class CompanyDAOImpl implements Serializable, CompanyDAO {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | @In(create=true)
  | private transient EntityManager entityManager;
  | 
  | @SuppressWarnings("unchecked")
  | @WebRemote
  | public List getCompanies() {
  | Query query = entityManager.createQuery("FROM Company company");
  | return (List) query.getResultList();
  | }
  | }

We would like to add a getCompanyByID() method to this class. However, because 
this method needs to be called from the JSF layer, we have to pass in the 
parameter as a field annotated with @RequestParameter. When we do this, the 
getCompanies() method (which does not use the annotated parameter) can no 
longer be called unless this field is filled in.

We have two questions:
Is this the correct way to be doing this type of "pull" data access? We have 
looked at the "Blog" example, but it does not seem as complex as what we are 
trying to do.
Is it possible to have multiple @RequestParameter fields on a JavaBean like the 
one above, which do not all have to be populated when any given method (which 
may or may not use them) is called?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to set Character Encoding correctly?

2006-07-12 Thread spec_third
Hi,anybody help me

I write two jsp files. Content as following:
a.jsp


  | <%@ page language="java" contentType="text/html; charset=UTF-8"%>
  | 
  |   
  |  
  | 
  | 
  | 
  | function _goto(){
  |  location.href=encodeURI("b.jsp?names=??");
  | }
  | 
  |   
  | 

b.jsp
--

  | <%@ page language="java" contentType="text/html; charset=UTF-8"%>
  | 
  |   
  |  
  | 
  | 
  | <%
  |request.setCharacterEncoding("UTF-8");
  |String names = request.getParameter("names");
  |System.out.println("Names:"+names);
  | %>
  |   
  | 

following is configuration:
jbossweb-tomcat50.sar/server.xml


  |  
  | 
  | 

Console print:
Names:

While I set 'useBodyEncodingForURI' to false,Console print is OK:
Names:??

why? what is real meaning of 'useBodyEncodingForURI=true'. 

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

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


[jboss-user] [JBoss Seam] - Re: ajax4js and seam integration - my guide

2006-07-12 Thread gus888
Hi Holger,

Thank you very much for your guidance. Now, I did not get the 
"java.lang.ClassNotFoundException: No ClassLoaders found for:
org.ajax4jsf.framework.util.config.FilterBean" when I start the JBoss4.0.4.GA. 
However, when I run my application from browser, I got another exceptions:
javax.servlet.ServletException: org.apache.jasper.JasperException
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:64)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:224)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 
I did put all the libs:
el-api.jar
el-ri.jar
jsf-facelets.jar
ajax4jsf.jar
oscache-2.2.jar 
in $JBOSSSERVERHOME/default/lib. Thank you and anybody in advance for further 
guidance. 

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

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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
I must really be missing something here. I traced into the 
jbpmContext.save(processInstance) call, and the call stack eventually arrives 
at the following method in the 
org.jbpm.svc.save.CheckUnpersistableVariablesOperation class:


  | public void save(ProcessInstance processInstance, JbpmContext jbpmContext) {
  | Collection updatedVariableContainers = 
VariableContainer.getUpdatedVariableContainers(processInstance);
  | if (updatedVariableContainers!=null) {
  | 
  |   // loop over all updated variable containers
  |   Iterator iter = updatedVariableContainers.iterator();
  |   while (iter.hasNext()) {
  | VariableContainer variableContainer = (VariableContainer) 
iter.next();
  | Map variableInstances = variableContainer.getVariableInstances();
  | if (variableInstances!=null) {
  | 
  |   // loop over all variable instances in the container
  |   Iterator varInstancesIter = 
variableInstances.entrySet().iterator();
  |   while (varInstancesIter.hasNext()) {
  | Map.Entry entry = (Map.Entry) varInstancesIter.next();
  | String name = (String) entry.getKey();
  | VariableInstance variableInstance = (VariableInstance) 
entry.getValue();
  | 
  | // if the variable is of the unpersistable type...  booom!
  | if (variableInstance instanceof UnpersistableInstance) {
  |   Object value = variableInstance.getValue();
  |   if (value!=null) {
  | throw new JbpmException("variable '"+name+"' in 
'"+variableContainer+"' contains '"+value+"': type 
'"+value.getClass().getName()+"' is unpersistable according to the 
jbpm.varmapping.xml configuration");
  |   } else {
  | throw new JbpmException("variable '"+name+"' in 
'"+variableContainer+"' was created with a non persistable value");
  |   }
  | }
  |   }
  | }
  |   }
  | }
  |   }
  | 

Tracing through this code, I don't see where or how either log data or the 
process instance is ever saved to the database. I must be missing it, but where 
in this code (or in any code) is the actual save made to the database? Again, 
I'm using jbpm3.1.1. 

Thanks for your help...

Brad

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent

2006-07-12 Thread [EMAIL PROTECTED]
Here's the issue:  the plugin.xml requires a global max. For right now I set 
the global max at 7.5 minutes (450,000 ms). Any user-defined max will not be 
able to go beyond this global max. If you think this global max is too low, 
please suggest a higher one. 

For the release we are making this week, there is no preference dialog yet, and 
you are correct to notice that changing the xml does not change the results for 
you. 

My code checks the plugin preferences (which you are not yet able to set) and 
if they are not set, it defaults to 18 ms (instead of the 12 ms from 
before, but as you said still not high enough for you.) 

The build this week will go out with this 3 minute effective max unless you all 
make a big stink about it and demand a higher one, in which case I can probably 
convince Marshall to initiate a rebuild and set the effective max to the global 
max for this release.  

I suppose I should have done that anyway. 

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

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


[jboss-user] [EJB 3.0] - Stateful session beans call by value in 4.0.4.GA-Patch 1 , d

2006-07-12 Thread gantzm
Is the 'call-by-value' semantics supposed to work for stateful session beans 
when using a single VM in 4.0.4.GA-Patch1 ?  I've searched this forum and the 
Wiki and seem to get confusing and sometimes conflicting information.  At 
present it isn't working for me as the object I get back from a JNDI lookup 
wasn't loaded from the correct class loader.  

Is this the expected behaviour, or is this a bug?  The 'call-by-value' 
semantics appear to be working for stateless session beans.

The current project I'm working on is packaged as such:


  | myEjbs.ear
  |   ejb1.jar
  | 
  | myApps.ear
  |   simpleApp.war
  | WEB-INF/lib/ejb1-client.jar
  | 



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

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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
After further review, I think the links given may have left some important 
information out, in combination with possibly some confusing comments in the 
default jbpm.cfg.xml file. Anyway, I altered my jbpm.cfg.xml file once again, 
to be exactly the same as the default file (the reason I did this is that I 
think the default file may be getting overwritten with an empty jbpm.cfg.xml 
due to how the ant build script is working). 

Anyway, I did this, and those changes to the jbpm.cfg.xml (the ones recommended 
in the links given and the ones I performed) build to the jbpm.sar.cfg.jar 
which is inside the sar file. After deploying this new sar, JBoss starts 
cleanly again. However, running the process and saving the process does not 
write anything to the JBPM_LOG table or the JBPM_PROCESSINSTANCE table. Both 
are still empty. So I guess I'm right back where I started. Here's my current 
jbpm.cfg.xml file:


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

Help!  

Thanks,

Brad

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent

2006-07-12 Thread mjdinsmore
Rob, You mentioned:
"[EMAIL PROTECTED]" wrote : How long is it taking your server to start? If it 
is actually close to where my timeout is, I can either try to increase the 
timeout or allow the user to do it.

Does your later comment:

"[EMAIL PROTECTED]" wrote : For this week's release I've up'd the default 
timeout to 18 ms, and I've added what I feel is better information to the 
event log regarding what's going on. You'll also be able to select an item in 
the 'event log' section of the view and, if the properties view is visible, get 
some additional information. 
  | 
  | Hopefully this will help. At least I'm certain if it happens again I'll get 
more useful information back. 
  | 
  | - Stryker

mean that you did not add the user configurable timeout?  I tried changing 
...\eclipse\plugins\org.jboss.ide.eclipse.as.core_1.0.0.Alpha\plugin.xml with 
the startTimeout and stopTimeout values to something else but it didn't seem to 
have any effect.  I'd be happy if the timeout was set to 30 ms as even 
18 ms isn't going to be anywhere close to long enough for things to start 
up... (the larger value would at least give me breathing room)

Am I missing something?  Should that manual change in the plugin.xml file 
actually be used?

thanks,
Mike

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

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


[jboss-user] [JBoss Messaging] - Can not read data for version 3. Supported versions: 1, 2

2006-07-12 Thread toddjtidwell
I have deployed JBoss Messaging 1.01 CR3 as per the instructions given.  I have 
created my own destinations successfully.  However, my standalone producer 
application is throwing the following error:

ava.io.IOException: Can not read data for version 3.  Supported versions: 1, 2
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:458)
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:328)
at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:116)
at org.jboss.remoting.Client.invoke(Client.java:610)
at org.jboss.remoting.Client.invoke(Client.java:602)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:198)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.invokeNext(ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.java)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPConfig(ClientConnectionFactoryDelegate.java)
at 
org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:234)
at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:197)
at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:109)
at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:104)


Server Side, I am seeing this error in the logs:

20:07:35,544 ERROR [ServerThread] failed
java.lang.IllegalStateException: Invalid format type 36
at org.jboss.jms.server.remoting.JMSWireFormat.read(JMSWireFormat.java:6
99)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:350)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:412)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:239)

Does anyone have any ideas?


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

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


[jboss-user] [JBossCache] - Re: TreeCache/Hibernate/JBossAS optimistic locking problem

2006-07-12 Thread [EMAIL PROTECTED]

  | //$Id: OptimisticTreeCache.java 9965 2006-05-30 13:00:28 -0500 (Tue, 30 May 
2006) [EMAIL PROTECTED] $
  | package org.hibernate.cache;
  | 
  | import java.util.HashMap;
  | import java.util.Iterator;
  | import java.util.Map;
  | import java.util.Set;
  | import java.util.Comparator;
  | 
  | 
  | import org.apache.commons.logging.Log;
  | import org.apache.commons.logging.LogFactory;
  | import org.jboss.cache.Fqn;
  | import org.jboss.cache.optimistic.DataVersion;
  | import org.jboss.cache.config.Option;
  | import org.jboss.cache.lock.TimeoutException;
  | 
  | /**
  |  * Represents a particular region within the given JBossCache TreeCache
  |  * utilizing TreeCache's optimistic locking capabilities.
  |  *
  |  * @see OptimisticTreeCacheProvider for more details
  |  *
  |  * @author Steve Ebersole
  |  */
  | public class OptimisticTreeCache implements OptimisticCache {
  | 
  | // todo : eventually merge this with TreeCache and just add optional 
opt-lock support there.
  | 
  | private static final Log log = LogFactory.getLog( 
OptimisticTreeCache.class);
  | 
  | private static final String ITEM = "item";
  | 
  | private org.jboss.cache.TreeCache cache;
  | private final String regionName;
  | private final Fqn regionFqn;
  | private OptimisticCacheSource source;
  | 
  | public OptimisticTreeCache(org.jboss.cache.TreeCache cache, String 
regionName)
  | throws CacheException {
  | this.cache = cache;
  | this.regionName = regionName;
  | this.regionFqn = Fqn.fromString( regionName.replace( '.', '/' ) 
);
  | }
  | 
  | 
  | // OptimisticCache impl 
~~~
  | 
  | public void setSource(OptimisticCacheSource source) {
  | this.source = source;
  | }
  | 
  | public void writeInsert(Object key, Object value, Object 
currentVersion) {
  | writeUpdate( key, value, currentVersion, null );
  | }
  | 
  | public void writeUpdate(Object key, Object value, Object 
currentVersion, Object previousVersion) {
  | try {
  | Option option = new Option();
  | DataVersion dv = ( source != null && 
source.isVersioned() )
  |  ? new DataVersionAdapter( 
currentVersion, previousVersion, source.getVersionComparator(), 
source.toString() )
  |  : NonLockingDataVersion.INSTANCE;
  | option.setDataVersion( dv );
  | cache.put( new Fqn( regionFqn, key ), ITEM, value, 
option );
  | }
  | catch ( Exception e ) {
  | throw new CacheException( e );
  | }
  | }
  | 
  | public void writeLoad(Object key, Object value, Object currentVersion) {
  | try {
  | Option option = new Option();
  | option.setFailSilently( true );
  | option.setDataVersion( NonLockingDataVersion.INSTANCE );
  | cache.remove( new Fqn( regionFqn, key ), "ITEM", option 
);
  | 
  | option = new Option();
  | option.setFailSilently( true );
  | DataVersion dv = ( source != null && 
source.isVersioned() )
  |  ? new DataVersionAdapter( 
currentVersion, currentVersion, source.getVersionComparator(), 
source.toString() )
  |  : NonLockingDataVersion.INSTANCE;
  | option.setDataVersion( dv );
  | cache.put( new Fqn( regionFqn, key ), ITEM, value, 
option );
  | }
  | catch (Exception e) {
  | throw new CacheException(e);
  | }
  | }
  | 
  | 
  | // Cache impl 
~
  | 
  | public Object get(Object key) throws CacheException {
  | try {
  | Option option = new Option();
  | option.setFailSilently( true );
  | //  option.setDataVersion( NonLockingDataVersion.INSTANCE );
  | return cache.get( new Fqn( regionFqn, key ), ITEM, 
option );
  | }
  | catch (Exception e) {
  | throw new CacheException(e);
  | }
  | }
  | 
  | public Object read(Object key) throws CacheException {
  | try {
  | return cache.get( new Fqn( regionFqn, key ), ITEM );
  | }
  | catch (Exception e) {
  | throw new CacheException(e);
  | }
  | }
  | 
  | public void update(Object key, Object value) throws CacheException {
  | try {
  | Option option = new Option();
  | option.setDataVersion( NonLockingDataVersion.INSTA

[jboss-user] [JBossCache] - Re: TreeCache/Hibernate/JBossAS optimistic locking problem

2006-07-12 Thread [EMAIL PROTECTED]
So if you could, I can post here the latest changes I have made to the 
o.h.c.OptimisticTreeCache class for you to verify.  It should fix the vast 
majority of the issue you were seeing.  There are still some "transactionality 
mismatch" (for lack of a better term) issues Hibernate and JBoss Cache need to 
work through.  For Hibernate users this would effect only two areas I am aware 
of:
1) query result caching.  This will not work at all with JBoss Cache in 
optimistic mode.  The underlying issue being that Hibernate tries to write some 
info needed for query result caching into the underlying cache during 
after-transaction processing which JBoss Cache barfs at.  Actually this *will* 
work as long as the queries are not requested less than .6 seconds after 
updates to any of the "table spaces" that affect that result...
2) an edge case where CMT is utilized relying on Hibernate's 
flush-on-completion where Hibernate made no calls into the TreeCache prior to 
the commit/flush and the flush actually needs to write state changes...

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

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


Re: [jboss-user] unsubscribe

2006-07-12 Thread Rajesh Rao


--- Dug <[EMAIL PROTECTED]> wrote:

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: File Path in EAR..!!!

2006-07-12 Thread AshuDagr8
Here are the output's 

InputStream = null

jar -tf myApp.war gives 

META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
WEB-INF/
WEB-INF/jboss-web.xml
WEB-INF/web.xml
WEB-INF/classes/
WEB-INF/classes/sss/
WEB-INF/classes/sss/tt/
WEB-INF/classes/sss/tt/rt/
WEB-INF/classes/sss/tt/rt/FT.class
WEB-INF/classes/sss/tt/xd/
WEB-INF/classes/sss/tt/xd/P.class
WEB-INF/classes/sss/tt/xd/Tt.class
WEB-INF/classes/sss/tt/xd/TD.class
WEB-INF/classes/sss/tt/xd/TS.class
WEB-INF/conf/
WEB-INF/conf/tm.xml
WEB-INF/Data/
WEB-INF/Data/Fc.xml
WEB-INF/lib/
WEB-INF/lib/ct-1.0.1-xml.jar
WEB-INF/lib/cus-1.7.2.jar

I am trying to read /conf/tm.xml and /Data/Fc.xml in class TD.class..

Any Suggestions ?

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: auth-method Form and Subject access

2006-07-12 Thread atorres
The Principal returned by the request is a SimplePrincipal, it doesn't have the 
getSubject method :(

I discovered that the subject is in the JNDI tree:
ctx.lookup("java:/comp/env/security/subject");

another interesting thing is that if I create the subject myself by using the 
LoginContext , no subject is placed in the jndi context.
I'm not very confident with the jndi solution yet, but it looks like it works. 
I will take a look in the valves of tomcat too waren!

Thanks

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

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


[jboss-user] [JBoss Seam] - ajax4js and seam integration - my guide

2006-07-12 Thread Holger Prause
Hello,

after spending 3 days with trying to integrate ajax framworks with jboss seam i 
finally get a integration with ajax4jsf working

1) first download ajax4js https://ajax4jsf.dev.java.net/nonav/ajax/ajax-jsf/

2) copy the following jars to  $JBOSSSERVERHOME/default/lib

el-api.jar
el-ri.jar
jsf-facelets.jar
ajax4jsf.jar
oscache-2.2.jar

this has to be done becourse of a global JBoss Classloader Issue (cant find the 
the posting i found for that, i am sorry) , when i deployed these jars with my 
application i got a lot of problems, well u can try out maybe u get it working.

Also make sure sure the jars mentionend above are not deployed with your 
application!

3)

change web.xml to and make sure no application view handler is defined.


  | 
  | http://java.sun.com/dtd/web-facesconfig_1_0.dtd";>
  | 
  | 
  | 
  | 
  | org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener
  | 
  | 
  | 
  | 
  | 


change faces-config.xml to

  | web-app version="2.4" 
  | xmlns="http://java.sun.com/xml/ns/j2ee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
  | 
  | 
  | 
  | org.jboss.seam.servlet.SeamListener
  | 
  | 
  | 
  | 
  | Seam Redirect Filter
  | 
org.jboss.seam.servlet.SeamRedirectFilter
  | 
  | 
  | 
  | 
  | Ajax4jsf Filter
  | ajax4jsf
  | org.ajax4jsf.Filter
  | 
  | 
  |ajax4jsf
  |*.seam
  | 
  | 
  | 
  | 
  | 
  | Seam Redirect Filter
  | *.seam
  | 
  | 
  | 
  | Seam Exception Filter
  | 
org.jboss.seam.servlet.SeamExceptionFilter
  | 
  | 
  | 
  | Seam Exception Filter
  | *.jsf
  | 
  | 
  | 
  |  
  |  
  | javax.faces.STATE_SAVING_METHOD
  | client
  |
  | 
  | org.ajax4jsf.VIEW_HANDLERS
  | com.sun.facelets.FaceletViewHandler
  | 
  | 
  | javax.faces.DEFAULT_SUFFIX
  | .xhtml
  | 
  | 
  | facelets.REFRESH_PERIOD
  | 2
  | 
  | 
  | facelets.DEVELOPMENT
  | true
  | 
  | 
  | com.sun.faces.validateXml
  | true
  | 
  | 
  | com.sun.faces.verifyObjects
  | true
  | 
  | 
  | org.ajax4jsf.SKIN
  | DEFAULT
  | 
  | 
  | 
  | Faces Servlet
  | javax.faces.webapp.FacesServlet
  | 1
  | 
  | 
  | 
  | 
  | Faces Servlet
  | *.seam
  | 
  | 
  | 
  | 
  | 
org.apache.myfaces.webapp.StartupServletContextListener
  | 
  | 
  | 
  | 


4) if u have a have any h:commandLink with parameters (f:param)
   replace them with a4j:commandLink or the parameter will get lost

It works good for me even conversations seems (what a wordplay) to work.

Thats it, well its only a temporary guide until maybe some of the jboss crew 
can give a more detailed and better solution, hopefully its integrated in the 
next release :-)  (copying the jars in the servers /default/lib directory 
really gives me a bad taste)

Hope i could help someone,

Bye,

Holger





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

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


[jboss-user] [JBoss Seam] - Re: Ajax¤JSF wi th Seam

2006-07-12 Thread gus888
Hi TOBAD and Gavin,

I tried to use the ajax4jsf on JBoss Seam, but unfortunatly, I always got an 
exception when I run it on JBoss4.0.4.GA:
anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.ajax4jsf.framework.util.config.FilterBean
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java :204)
  | ...
In my web.xml, I added the following codes: 
  |   
  |  
  | Ajax4jsf Filter
  | ajax4jsf
  | org.ajax4jsf.Filter
  |  
  |  
  |ajax4jsf
  |/*
  |  
  | 
I also added the ajax4jsf.jar and oscache-2.2.jar in WEB/lib/.

I really appreciate it if you can give me some guidance. Thank you in advance.

GUS

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

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


[jboss-user] [JBoss Seam] - Re: Can Seam be configured to support JSP and Facelets in an

2006-07-12 Thread vlasov01
Guofeng,

It's working now. Thank you for your help!


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

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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
I followed the instructions in these documents. As instructed in the links you 
referenced, I added the following to my jbpm.cfg.xml file and rebuilt / 
deployed my sar:


  | 
  |   
  |   
  | 
  | 

Upon doing this, JBoss now gives the following error (which causes more errors) 
on startup:


  | 2006-07-12 17:07:06,906 DEBUG [org.jbpm.configuration.JbpmContextInfo] 
creating jbpm context with service factories '[logging]'
  | 2006-07-12 17:07:06,906 DEBUG [org.jbpm.JbpmContext] creating JbpmContext
  | 2006-07-12 17:07:06,906 DEBUG [org.jbpm.msg.command.CommandExecutorThread] 
command 'null' threw exception. rolling back transaction
  | org.jbpm.configuration.ConfigurationException: no messaging service 
available
  | at 
org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:116)
  | at 
org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:79)
  | 2006-07-12 17:07:06,906 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
  | 2006-07-12 17:07:06,906 ERROR [org.jbpm.msg.command.CommandExecutorThread] 
java.lang.NullPointerException
  | 

Have any idea how to rectify this problem?

Thanks for your help,

Brad

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

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


[jboss-user] [JBoss jBPM] - Oracle 10G and JBPM 3.1.1 Issues

2006-07-12 Thread kazam
Hi there,

Following the documentation, I generate the scripts for oracle and they execute 
nicely both oracle.create.sql and oracle.drop.sql.

However, the tests are failing.
Library : classes12.jar from Oracle10g database.
Hibernate Dialect: Oracle9Dialect

I have made the following change as mentioned in the 
jbpm-starters-kit-3.1.1/jbpm-db/readme.html


  | modify jbpm.3/src/resources/hibernate.cfg.xml: add line 
  | true 1, false 0
  | 

However, the testresults have a success rate of 1.5% with no failures but 262 
errors out of 266 tests.

Below I am providing some part of the output of the ant oracle.test target.
Where can I post or upload the entire ant target log file.

  | [junit] 19:38:42,625 [main] INFO  C3P0ConnectionProvider : C3P0 using 
driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:[EMAIL 
PROTECTED]:1521:devdb
  | [junit] 19:38:42,625 [main] INFO  C3P0ConnectionProvider : Connection 
properties: {user=jbpmtest, password=}
  | 
  | [junit] 19:38:43,093 [main] INFO  Configuration : Reading mappings from 
resource: org/jbpm/graph/exe/ProcessInstance.hbm.xml
  | [junit] 19:38:43,093 [main] INFO  HbmBinder : Mapping class: 
org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
  | [junit] 19:38:43,109 [main] INFO  Configuration : Reading mappings from 
resource: org/jbpm/graph/exe/Token.hbm.xml
  | ...
  | ... (continues ...)
  | [junit] 19:38:43,734 [main] INFO  Configuration : processing 
association property references
  | [junit] 19:38:43,734 [main] INFO  Configuration : processing foreign 
key constraints
  | [junit] 19:38:43,750 [main] INFO  Configuration : processing extends 
queue
  | [junit] 19:38:43,750 [main] INFO  Configuration : processing collection 
mappings
  | [junit] 19:38:43,750 [main] INFO  Configuration : processing 
association property references
  | [junit] 19:38:43,750 [main] INFO  Configuration : processing foreign 
key constraints
  | [junit] 19:38:43,750 [main] INFO  SchemaExport : Running hbm2ddl schema 
export
  | [junit] 19:38:43,765 [main] INFO  SchemaExport : exporting generated 
schema to database
  | [junit] 19:38:43,765 [main] INFO  C3P0ConnectionProvider : C3P0 using 
driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:[EMAIL 
PROTECTED]:1521:devdb
  | [junit] 19:38:43,765 [main] INFO  C3P0ConnectionProvider : Connection 
properties: {user=jbpmtest, password=}
  | [junit] 19:38:43,765 [main] INFO  C3P0ConnectionProvider : autocommit 
mode: false
  | [junit] 19:38:43,765 [main] DEBUG JbpmContext : closing JbpmContext
  | [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.062 sec
  | [junit] TEST org.jbpm.context.exe.CustomVariableStringIdDbTest FAILED
  | 

I would really appreciate if someone who has successfully done this can help me 
out.

Thanks,Kazam.

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

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


[jboss-user] [JBoss Portal] - default portal question ?

2006-07-12 Thread ericmacau
Hello,

How can I change my portal to default?
And change the jboss portal to "admin" ?
So that it can show my portal page when calling "http://localhost:8080/portal";.



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

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


[jboss-user] [Security & JAAS/JBoss] - Re: auth-method Form and Subject access

2006-07-12 Thread warrenc6
Just an anfter thought. If you subclass realm and genericprincpal and add a 
principal.getSubject() method then return the origional subject. Then you can 
get it from ((MYPrincipal)request.getPrincipal()).getSubject()

This is what jboss appear to have done. so if you happen to have authenticated 
an instanceof JBossGenericPrincipal you can call getSubject

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Http Session lost in Linux (SUSE LINUX)

2006-07-12 Thread gloriag


We are using JBoss 4.0.1 on SUSE Linux Sever 9(i586) , we noticed that whenever 
user clicks different items on our web application,  tomcat servlet container 
renders different http session ids so the objects set in the session got lost.  

For example user first clicks page Home, userName admin got set in the session, 
then the same user clicks page DiscoverySetup, new session comes up, when it 
tries to retrieve username, it has been gone. 

ControllerServlet-doHandleRequest: httpsession id = 
0E6B272FDE584B4CED757CF57743BA79
ControllerServlet-doHandleRequest: userName = admin page = Home

ControllerServlet-doHandleRequest: httpsession id = 
B511D07B4C0EC1CBB85AFCF9D1EA5F48
ControllerServlet-doHandleRequest: userName = null page = DiscoverySetup 


The same application runnin on windows is fine. It is also fine on RedHat 
Linux. 

Any idea on how to fix it? Do we need to apply patch for jboss or Suse? or any 
special tomcat configuration for Suse? Thanks

Regards,

Gloria


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

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


[jboss-user] [EJB 3.0] - CMP type mapping for String with Postgres

2006-07-12 Thread mcgrathl
I switched my DefaultDS to PostgreSQL using directions similar to this: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951811

I edited the datasource-mapping element of standardjbosscmp-jdbc.xml so that it 
looks like the one below.  The mapping below seems to specify that objects of 
type java.lang.String should be stored in columns of type TEXT (which are 
variable in length with no limit), however, columns of type varchar(255) (which 
are variable in length with limit of 255) are getting created in my database 
for Strings.  Do I understand this correctly?  Could I be missing something?

(Another possibly related thing I noticed since switching this file is that 
it's almost almost seems like the reserved-words portion of this file is being 
ignored.  I had an entity bean named User that never caused problems when 
hsqldb was the defaultds, but now it errors when trying to create a table named 
User.)

Thanks


  | http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |   java:/DefaultDS
  |   PostgreSQL
  | 
  |   true
  |   false
  |   false
  |   30
  |   false
  |   true
  |   false
  |   foreign-key
  |   
  |  on-load
  |  1000
  |  *
  |   
  |   1000
  |   false
  | 
  |   
  |  
UUIDKeyGeneratorFactory
  |  java.lang.String
  |  VARCHAR
  |  VARCHAR(32)
  |   
  | 
  |   
  |   
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler
  |   false
  |
  | 
  |
  | 
  | (snip)-
  | 
  | 
  |  PostgreSQL
  |  SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR 
UPDATE
  |  CONSTRAINT ?1 PRIMARY KEY 
(?2)
  |  ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN 
KEY (?3) REFERENCES ?4 (?5)
  |  ?1
  |  t
  |  _
  |  32
  |  true
  |  TRUE
  |  FALSE
  | 
  |  
  | concat
  | (?1 || ?2)
  |  
  |  
  | substring
  | substring(?1 FROM ?2 FOR ?3)
  |  
  |  
  | lcase
  | lower(?1)
  |  
  |  
  | length
  | length(?1)
  |  
  |  
  | locate
  | (CASE position(?1 in substring(?2 from ?3)) WHEN 
0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END)
  |  
  |  
  | abs
  | abs(?1)
  |  
  |  
  | sqrt
  | sqrt(CAST(?1 AS double precision))
  |  
  |  
  | ucase
  | upper(?1)
  |  
  |  
  | count
  | count(?1)
  |  
  | 
  |  
  | java.lang.Boolean
  | CHAR
  | BOOLEAN
  |  
  |  
  | java.lang.Byte
  | TINYINT
  | INT2
  |  
  |  
  | java.lang.Short
  | SMALLINT
  | INT2
  |  
  |  
  | java.lang.Integer
  | INTEGER
  | INT4
  |  
  |  
  | java.lang.Long
  | BIGINT
  | INT8
  |  
  |  
  | java.lang.Float
  | FLOAT
  | FLOAT(7)
  |  
  |  
  | java.lang.Double
  | DOUBLE
  | FLOAT8
  |  
  |  
  | java.lang.Character
  | CHAR
  | CHAR(1)
  |  
  |  
  | java.lang.String
  | VARCHAR
  | TEXT
  |  
  |  
  | java.util.Date
  | TIMESTAMP
  | TIMESTAMP with time zone
  |  
  |  
  | java.sql.Date
  | DATE
  | DATE
  |  
  |  
  | java.sql.Time
  | TIME
  | TIME
  |  
  |  
  | java.sql.Timestamp
  | TIMESTAMP
  | TIMESTAMP with time zone
  |  
  |  
  | java.math.BigDecimal
  | NUMERIC
  | NUMERIC
  |  
  |  
  | java.lang.Object
  | VARBINARY
  | BYTEA
  |  
  |   
  |  
  | (snip)-
  | 
  |
  |
  |
  | alias  
  | alter
  | between
  | char   
  | column 
  | commit
  | create
  | date
  | default
  | delete
  | drop
  | file
  | from
  | grant
  | group
  | index
  | integ

[jboss-user] [EJB 3.0] - Problem with containment interacting with inheritance?

2006-07-12 Thread knaveofhearts
I posted the following yesterday to the "O'Reilly EJB 3.0 Workbook."  I chose 
that forum because the question was motivated by the book, but there is 
obviously more activity here, and the post has  gotten no replies there.  I 
still don't see what is wrong with what I did.  The database is HSQLDB, 
configured as in the workbook examples.
---
I am missing something fundamental about transactions and the discussion of 
entity relationships in ch. 7 combined with inheritence, as in ch. 8.  There 
are a client, a stateless session bean, and 3 entities: GeopolUnit, Planet, and 
Country.  Planet and Country both inherit from GeopolUnit.  Planet is supposed 
to contain a list of countries, in a one-to-many unidirectional relationship.  
In the client, I can create a planet and a country separately.  But when I try 
to create the planet already containing a country by un-commenting the 
"planet.add(country);" line in the client code listing below, I get the error.  
I have tried various combinations of putting methods into transactions and 
flushing things, but so far have been unsuccessful.  (I think I ought to be 
able to omit the "createCountry" call in the client because of the cascade 
PERSIST constraint, but I get the same kind of error regardless of whether that 
call is in or out.)

Any help is appreciated.
K/H

[java] Exception in thread "main" java.lang.RuntimeException: 
org.jboss.tm.JBossRollbackException: Unable to commit, 
tx=TransactionImpl:XidImpl[Forma tId=257, GlobalId=mulder.vorticityCorp.com/24, 
BranchQual=, localId=24] status=STATUS_NO_TRANSACTION; - nested throwable: 
(javax.persistence.PersistenceEx ception: 
org.hibernate.TransientObjectException: com.ejbWB.geopolUnit.Country)
  |  [java] at 
org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:198)
  |  [java] at 
org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:180)
  |  [java] at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
  |  [java] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
  |  [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |  [java] at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  |  [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |  [java] at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  |  [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |  [java] at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  |  [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |  [java] at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  |  [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |  [java] at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  |  [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |  [java] at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:225)
  |  [java] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
  |  [java] at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  |  [java] at 
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
  |  [java] at 
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
  |  [java] at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
  |  [java] at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
  |  [java] at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
  |  [java] Caused by: org.jboss.tm.JBossRollbackException: Unable to 
commit, tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=mulder.vorticityCorp.com/2 4, BranchQual=, localId=24] 
status=STATUS_NO_TRANSACTION; - nested throwable: 
(javax.persistence.PersistenceException: org.hibernate.TransientObjectExcept 
ion: com.ejbWB.geopolUnit.Country)
  |  [java] at 
org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:372)
  |  [java] at org.jboss.tm.TxManager.commit(TxManager.java:240)
  |  [java] at 
org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)
  |  [java] at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
  |  [java] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
  |  [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(Metho

[jboss-user] [Security & JAAS/JBoss] - Re: wrong principal although authenticated in 4.0.4 GA

2006-07-12 Thread warrenc6
JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) I see a 
similar thing.

is this only on the create method then subsequent methods are correct? 

{simulated logging}
create method principal : anonymous
first protexted method principal: admin


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

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


[jboss-user] [Security & JAAS/JBoss] - Re: auth-method Form and Subject access

2006-07-12 Thread warrenc6
You cant really, as it is dicarded in the process, sorry. You get null because 
in the executing context no subject is set. =)  

The authentication does not affect the Java systems level security layer.

The JASS login Realm will have authenticated using the tomcat callbackhandler 
and returned the subject.getPrincipal to the  Form Authenticator which has 
stuffed it in the request session.  

>From experience in web servers you need to do something called a access 
>context switch.  After looking at the code in tomcat this seems impossible. 

If later versions 5.05 or perhaps the Jboss version, you would need to write or 
find a Filter or Valve which gets the subject out of the session and calls 
Subject.doAs(session.getAttribute("sum_random_subject_key" , PA{ run { 
chain.forward

You could write a logincontext which trusts you (the caller) and returns a 
Subject

Then the code actually runs as who it is logged in as.  I have had to write a 
security context switcher for jetty and tomcat in the past.  

I don't know if this is now standard in the later releases. Good luck.

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

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


[jboss-user] [JBoss Portal] - Re: ERROR IN org.jboss.portal.core.CoreController Object Nor

2006-07-12 Thread [EMAIL PROTECTED]
If you use the mysqladmin interface you can set the variables for mysql.

You have to do this in mysql5 for portal to work.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Adding data to session after login

2006-07-12 Thread warrenc6
The flaw is that loginmodule and request sessions are not interoperable

I propose a solution thus, 

after requesting j_login_config and performing a successful login automaticall 
redirected to the protected resource.  Perhaps you need to use a FilterChain 
mapping on * and call getUserPrinciapl then cast the ServletRequest to 
HttpServletRequest and get the session. Check the session for the principal is 
null or equality. If it is null or not not equal,  then the user has logged in 
or relogged in.  

Hope this help/works

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

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


[jboss-user] [JBoss Portal] - Re: ERROR IN org.jboss.portal.core.CoreController Object Not

2006-07-12 Thread AlAtaKe
Hi, Roy, thanks for your help.

My ini.ini file is empty, and not exist the my.cfg.

The tables exist in mysql database, but http://localhost:808/portal/ or 
http://localhost:808/portal/index.html only show error page:


HTTP Status 404 - 


type Status report
message 
description The requested resource () is not available.

Apache Tomcat/5.5.17

I have a file with all console JBOSS output, but i understand this file, but i 
see errors, i need post this file??

This file contents many WARNS and Errors like this

line 61. 
18:55:20,833 WARN  [ServiceController] Problem starting service 
portal:policy=PortalPolicyConfigStore,type=Component

line 195.
18:55:28,036 ERROR [LocaleUtils] Locale name null or empty, ignoring

lines 809 to 826
18:55:43,848 WARN  [ObjectDeployment] Cannot create portal object 
Portal[default] because the parent '' that the deployment descriptor references 
does not exist
18:55:43,848 WARN  [ObjectDeployment] Cannot create portal object Page[CMS 
Manager] because the parent 'default' that the deployment descriptor references 
does not exist
18:55:43,864 WARN  [ObjectDeployment] Cannot create portal object 
Page[management] because the parent 'default' that the deployment descriptor 
references does not exist
18:55:43,864 WARN  [ObjectDeployment] Cannot create portal object Page[Secure 
Policy Config] because the parent 'default.default' that the deployment 
descriptor references does not exist
18:55:43,864 WARN  [ObjectDeployment] Cannot create portal object 
Window[CatalogPortletWindow] because the parent 'default.CMS Manager' that the 
deployment descriptor references does not exist
18:55:44,067 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, 
warUrl=.../deploy/jmx-console.war/
18:55:44,458 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: portal:policy=PortalPolicyConfigStore,type=Component
  State: FAILED
  Reason: java.lang.IllegalArgumentException: No transaction manager provided
  I Depend On:
portal:policy=JaccPortalPolicyConfigurator
portal:service=TreeCacheProvider,type=transient
portal:policy=PortalPolicyConfigService
  Depends On Me:
portal:deploymentFactory=PortletApp


I can't startup a JBOSS Portal, can you help me??

Thanks again.

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

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


[jboss-user] [JBoss Seam] - Re: Functional testing with Seam, DBUnit, and TestNG

2006-07-12 Thread dhinojosa
Thank you, thank you, thank you.  I was having a hard time getting a good 
testing strategy down.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: JBoss Security

2006-07-12 Thread [EMAIL PROTECTED]
I am also after this answer, but have yet to stumble upon it, it would be nice 
if some MQ gurus, could plaaasssee give us some insight, my thread is 
here...

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


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

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


[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-12 Thread kukeltje
A lot of the codebase is shared between 3.1 and 3.2, so it is fairly stable 
(have not found many issues that were not already in 3.1) although it is an 
'alpha'

I've given demos to customers using 3.2 just because I can create snappier 
screens much more quickly.



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

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


[jboss-user] unsubscribe

2006-07-12 Thread Bruce Powell




Hi 
,
Regards
Dr Bruce 
Powell | Development
Emerging 
Systems 
Unit 18, 9 Hoyle Avenue Castle Hill NSW 2154 
Australia | D 
+61 2 8853 4711 | F +61 2 9659 9366 | [EMAIL PROTECTED]


www.emerging.com.au 

**
This e-mail message and 
any attached files may contain information that is copyright or 
confidential.   It has been 
prepared for the private and confidential use by the intended recipient and may 
not be disclosed to anyone else.  
Any review, re-transmission, disclosure, dissemination or other use of, 
or taking of any action in reliance upon, this information by persons or 
entities, other than the intended recipient, is unauthorised.   If you have received this e-mail 
in error, please notify us immediately by reply e-mail and delete this e-mail 
together with any attachments.
**
 
 




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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread kukeltje
Searching helps alot:

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

If not, please get back

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

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


[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-12 Thread brado
Ronald, 

I'll give 3.2 a shot -- quick question though: how stable is the code? I do 
have some flexibility, and I don't need to leverage all the features of jBPM 
immediately, but I do wish to have the things I do leverage deployable in a 
production environment. I do not need real-time, mission-critical performance 
immediately, but likewise, I couldn't have it failing constantly either. If it 
is somewhere in between, leaning towards the "very reliable" end of the 
spectrum, then it would probably work fine for my present needs. It it at least 
respectable from a stability standpoint in your opinion? 

Brad

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

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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
Ronald,

Yeah, I think for now I'd be happy to just see the data from the JBPM_LOG table 
-- problem is I don't seem to be getting any data populated in the table. The 
user guide states:

"Various kinds of logs are generated by jBPM : graph execution logs, context 
logs and task management logs. 
...
The LoggingInstance will collect all the log entries. When the ProcessInstance 
is saved, all the logs in the LoggingInstance  will be flushed to the database. 
"

I have a business process deployed to my server, and I'm getting the process 
definition, creating a process instance, and immediately saving the process 
instance to the database. Then I execute my business process. Following, I 
immediately save my process instance again. I am not seeing anything saved to 
my JBPM_PROCESSINSTANCE or JBPM_LOG table. 

Here's basically the code block I'm using:


  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | GraphSession graphSession = jbpmContext.getGraphSession();
  | ProcessDefinition processDefinition = 
graphSession.findLatestProcessDefinition("MyProcess");
  | ProcessInstance processInstance = new ProcessInstance(processDefinition);
  | jbpmContext.save(processInstance);
  | Token token = processInstance.getRootToken();
  | token.signal();
  | jbpmContext.save(processInstance);
  | 

I can trace through this in the debugger, and it executes fine, and doesn't 
either throw exceptions or output any errors to the JBoss log. In addition, it 
appears I'm able to retrieve my process definition fine from the database, so 
that should demonstrate that communication with the database is working. 

Any ideas?

Brad

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

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


[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-12 Thread kukeltje
Brad, 

I admire your enthousiasm and get the impression (correct me if I'm wrong) you 
are into UI stuff. I do not know what your timeline is, but let me address some 
things regarding 3.1 vs 3.2

- The 3.1 webapp was 'experimental'
- It will not be realy maintained
- The 3.2 webapp will be the focus since:
   - it is facelets instead of jsf/jsp (always trouble as you have experienced)
   - Authentication in 3.2 webapp will be taken from the container
   - better separation of roles, at least at the high level of 'participant', 
'manager' and 'admin'
   - customizable forms (RAD + look and feel)
   - 

So if your timeline is not to short, I'd definately focus on 3.2 from CVS. It's 
(IMNSHO) worth the try

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

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


[jboss-user] [JBoss Seam] - Re: panelGrid / panelGroup... actions does not work

2006-07-12 Thread CptnKirk
Try putting your commandLink within an 


  | http://www.w3.org/1999/xhtml";
  | xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:h="http://java.sun.com/jsf/html";
  | xmlns:f="http://java.sun.com/jsf/core";>
  |
  | 
  |  
  |  
  |  
  |
  |
  | 
  | 

If that doesn't work, you may want to try a JSF mailing list.

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

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


[jboss-user] [EJB 3.0] - Re: Help w/ TransactionAttributeType.REQUIRES_NEW

2006-07-12 Thread jnorris10
"dabramov" wrote : I tried calling SessionContext.getBusinessObject() and also 
SessionContext.getInvokedBusinessInterface() from a SLSB method. However, I get 
an IllegalStateException - "Not Implemented". 

Yeah, I have that problem too.  However, I see that it's now implemented in 
source control: 
http://fisheye.jboss.com/viewrep/JBoss/jboss-ejb3/src/main/org/jboss/ejb3/BaseSessionContext.java

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

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


[jboss-user] [JBossWS] - How to secure a JSR 181 EJB endpoint

2006-07-12 Thread bpatters
I've developed a set of basic EJB3 Stateless session beans and deployed them to 
JBoss 4.0.4 with jbossws-1.0.1 and am trying to figure out how I secure the 
webservices to use Basic AUTH.
 
Since these are deployed in the ejb jar file within the ear and not within a 
war file, I'm having trouble figuring out which file I need to edit to secure 
access to these webservices.

I don't mind if the wsdl's are also secured.

I'd preferable like to be able to secure specific webservices and not others if 
possible.

I've done lots of searches and tried alot of things, but haven't figured it out 
yet. Any tips?

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

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


[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-12 Thread brado
It turns out this is a bug in JSF. I'll give the solution in just a moment, but 
first, my proposed solution above to getting the left navigation links to work 
on the default page before logging in actually causes other problems once you 
do log in. So there is a bug here, but the bug is either that the login screen 
should not have "Home", "Administration", and "Monitoring" links, OR a separate 
block of code should address the not-logged-in vs. logged-in situations. I 
suppose this could be done with a conditional block or adding a header3.jsp, 
and header2.jsp could be used prior to login, and header3.jsp could be used 
after login. 

Now to the problem: 


  | java.lang.IllegalStateException: Client-id : _id1 is duplicated in the 
faces tree.
  | 

Apparently this is a JSF bug, and it is caused by a problem in auto-assigning 
of component ID's to web components where ID's have not been specified (i.e., 
when created programmatically). The error is occurring in home.jsp, 
specifically in the block of code which creates the "Start new process 
execution" data table. The solution is to drop both data tables in home.jsp 
into subviews that have explicit ID's assigned to them. Here then is the entire 
code of home.jsp (with changes) that eliminate the _id1 duplication problem: 


  | <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
  | <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
  | 
  | 
  | 
  | 
  | Home
  | 
  | 
  | 
  | 
  | Tasklist
  | 
  | 
  |   
  | 
  |   
  | 
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  | 
  |   
  |   
  | 
  |   
  | 
  | 
  |   
  |  
  | 
  | 
  | Start New Process Execution
  | 
  | 
  |   
  | 
  |   
  | 
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  | 
  |   
  |   
  | 
  |   
  | 
  | 
  | 
  |   
  |  
  | 
  | 
  | 
  | 
  | 

If similar duplicate ID problems are happening elsewhere, I'd try the same 
approach, of wrapping data tables in subviews and explicitly assigning id 
values to them. 

Cheers,

Brad

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

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


[jboss-user] [JBoss Seam] - panelGrid / panelGroup... actions does not work

2006-07-12 Thread mcrose
hi

I'm having problems with the actions that are in the panelGroups inside a 
panelGrid

this is the code

  | http://www.w3.org/1999/xhtml";
  | xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:h="http://java.sun.com/jsf/html";
  | xmlns:f="http://java.sun.com/jsf/core";>
  |
  | 
  | 
  |  
  |
  |
  | 
  | 
  | 
  | 

this is a componet of a main page
if I do it whitin a table, it works

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

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


[jboss-user] [JBoss Seam] - Functional testing with Seam, DBUnit, and TestNG

2006-07-12 Thread [EMAIL PROTECTED]
http://blog.hibernate.org/cgi-bin/blosxom.cgi/2006/07/12#seamdbunit

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

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


[jboss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea

2006-07-12 Thread jnorris10
"jnorris10" wrote : Is this bean reference restriction stuff mentioned in the 
spec?  I didn't see anything like this under the Interceptors section.
  | 

This stuff is definitely in the spec.  PeterJ is right, Interceptors only work 
if you call the method via a bean reference.  It's true that in theory you may 
not have this restriction with AOP weaving, but I don't think the spec wants to 
mandate AOP for EJB3 implementers.

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

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


[jboss-user] UNSUBSCRIBE

2006-07-12 Thread cs


--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:

> Why dont you try it out from 1.4 release? I assume
> you are grabbing the cvs from JBossCache, of which
> is head for 2.0 now. We have branched out
> JBossCache_1_4_GA that has the code fix (for 1.4).
> 
> I haven't ported the fix since I am doing heavy
> refactoring in head now. :-)
> 
> View the original post :
>
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957356#3957356
> 
> Reply to the post :
>
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957356
> ___
> jboss-user mailing list
> jboss-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Avoiding the DRY Principle with beans

2006-07-12 Thread dhinojosa
Sweet, but with this I think this can be changed from 


  | @In(create = true) @Out
  | private Employee object;
  | 

to 


  | @In(create = true) @Out
  | private Employee employee;
  | 

Very nice...thanks iradix

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

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


[jboss-user] [EJB 3.0] - Re: Session bean private methods and CMT:

2006-07-12 Thread jnorris10
I've researched this a bit more and I will answer this myself to the best of my 
knowledge, just in cased others have the same question.

"jnorris10" wrote : Am I only able to use CMT on "business methods"?

Yes, since these are the only EJB3 interceptor points defined.

"jnorris10" wrote :  I often want to have private methods on a session bean 
that still have transactional semantics (ie: annotate them with 
@TransactionAttribute(...)).  Can I not do this?  Am I missing something?

No, you can't do this because again only business methods (which are public 
among other things) are subject to CMT behavior because this is the specified 
point at which this EJB3 interceptor stack is tied in.

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

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


[jboss-user] [JBoss AOP] - Re: Interceptors not fired on methods called from within bea

2006-07-12 Thread jnorris10
Thank you!  Your answer has helped me clear up a lot of conceptual issues I had 
about how this all works.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Cache Entry (KEY, VALUE) stats

2006-07-12 Thread chicago_pool_dude
We are using a Jboss implementation in our application we have a interface 
which has these methods 
public long getCreationTime();
public long getExpirationTime();
public long getLastAccessTime();
public long getLastUpdateTime();
public long getVersion();
public boolean isValid();

The interface has a  method which has takes jbosstree i should write a class 
which implements the interface should return these values of entry in the cache 
ie each map entry (key,value ) pair which we specifiy.

Can any one please tell me how to go about this.

Thanks in advance


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

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


[jboss-user] [JBossWS] - Re: endpoint handler

2006-07-12 Thread [EMAIL PROTECTED]
I am experiencing a similar behavior with 4.04.GA.  Has anyone else run into 
this? My handler's init method is called, but the handleRequest method is not.

Thanks,
Ken

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

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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread kukeltje
Brad,

There already is lots of logging. Adding another table for this is imo not the 
way to go. Can you indicate what you miss in the available jbpm_log table. (it 
contains lots, and lots of info)

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

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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread kukeltje
Brad,

There already is lots of logging. Adding another table for this is imo not the 
way to go. Can you indicate what you miss in the available jbpm_log table. (it 
contains lots, and lots of info)

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

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


[jboss-user] [JBoss Seam] - Re: Beginning conversations in @Factory methods

2006-07-12 Thread [EMAIL PROTECTED]
By "stateless", I don't really mean using a SLSB, I mean using only 
request-scoped state, and passing state as request parameters (like the blog 
example does).

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

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


[jboss-user] [JBoss jBPM] - Re: porblem of identification and assigment

2006-07-12 Thread kukeltje
Correct, Mea Culpa. It is deprecated in 3.2 (currently in cvs)

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

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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
Ronald,

Ok, understood. Thanks for the answer. Supposing I were to contribute a history 
table to the db schema, how in your view would be the best way to handle 
writing history? Would it be best to add it as an automatic function done at 
the time a process instance is created, or leave it a manual function that can 
be optionally invoked on a process instance? For example, say with a 
saveHistory() method, where the instance is created in the table if it doesn't 
exist, and it is updated in the table if it already exists...

What are your thoughts on this?

Brad

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - JBossIDE Mailing Lists

2006-07-12 Thread [EMAIL PROTECTED]
JBoss has just opened it's new mail server, and with we have received 5 new 
mailing lists for JBossIDE! Here are links to subscribing for each mailing list 
as well as a description for each:

JBossIDE Users: (Questions & Help with using JBossIDE)
https://lists.jboss.org/mailman/listinfo/jbosside-users

JBossIDE Announce (Big project news, release announcements):
https://lists.jboss.org/mailman/listinfo/jbosside-announce

JBossIDE Commits (messages for all commits into our CVS server):
https://lists.jboss.org/mailman/listinfo/jbosside-commits

JBossIDE Development (discussions for developers and contributors):
https://lists.jboss.org/mailman/listinfo/jbosside-dev

JBossIDE JIRA Issues (messages for new JIRA bugs/feature requests and updates):
https://lists.jboss.org/mailman/listinfo/jbosside-issues

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

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


[jboss-user] [JBoss jBPM] - Re: porblem of identification and assigment

2006-07-12 Thread newbie007
Ronald,

The method "getCurrentJbpmContext" is deprecated in which release?

We are using 3.1.1 and I don't see that one as deprecated.

Thanks.



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

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


[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread kukeltje
Brad, 

To get these kinds of overviews is still one of the ommissions in jBPM. The API 
does not have anything for this (yet), neither does the webapp.


We (the company I work for) do not use specific tables for this. 

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

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


[jboss-user] [JBoss jBPM] - Re: porblem of identification and assigment

2006-07-12 Thread kukeltje
try creating the jbpmConfiguration as little as possible (e.g. not in a request 
object/session but even higher!!)

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

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


[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-12 Thread kukeltje
The id thing happens sometimes, even with 3.2 head. no idea yet why (not 
investigated much either). Often klicking again makes it work (do not use the 
back buttons, it is jsf 1.1)

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

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


[jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group

2006-07-12 Thread kukeltje
Tested 3.2 only... read the postings

3.2-head (head being a cvs keyword) is available in CVS.

Is the user a member of the groups in your DB?


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

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


[jboss-user] [JBoss jBPM] - Re: Timers Documentation and Eclipse incorrect.

2006-07-12 Thread kukeltje
tasks are not cancelled by default when a token leaves a tasknode. Put a 
end-tasks="true"  on the tasknode to achieve this (by default this is false)

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam is just a toy in front of the user using Spri

2006-07-12 Thread chenrici
"[EMAIL PROTECTED]" wrote : 
  | And my core value is to create useful things that many people can use, not 
create things that I can completely own and control.

Is that true? Can you tell me what is useful? 
I have learnt, that usefulness even in science is highly situational and 
relative. So is'nt it more for you to control the definition of usefulness (aka 
Marketing)? 

i personally admire modest people, which building upon the respect for the 
achievements of others come upon unique things. 

Christoph Henrici



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

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


[jboss-user] [JBoss jBPM] - Re: Timers Documentation and Eclipse incorrect.

2006-07-12 Thread kukeltje
ROTFLOL, Sorry all you had to do was do a reply where you have 'edit' 
buttons (try hitting the preview or the 'postreply' button. There is a code tag 
which puts a [ c o d e ]  [ / c o d e ] (remove the spaces) around your 
xml. That would have worked and given you

.

You can also type these tags.

Sorry for the misunderstanding. I hope you used search/replace and not did it  
manually

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

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


[jboss-user] [JBoss AOP] - Re: Interceptors not fired on methods called from within bea

2006-07-12 Thread [EMAIL PROTECTED]
Yes, the interceptors defined in ejb3-interceptors-aop.xml are only invoked 
when calling via the container, i.e via the business interface.

To have it working as per your example you need weaving, but then your ordering 
will not apply

* Call to x() via container
-> All the container interceptors get invoked

* Call to y() from x() (with weaving turned on)
-> Only "woven" interceptors get called

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

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


[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-12 Thread brado
Ronald,

Thanks a lot for your help. The "U" worked like a charm, and allowed me to save 
my record. Login also worked as a result. However, after logging in, if I try 
to click on the "Home" link, I get the following in the JBoss log, even though 
the page seems to render properly:


  | 14:12:04,515 INFO  [[/jbpm]] WARNING: Component _id13 just got an automatic 
id,
  | because there was no id assigned yet. If this component was created 
dynamically
  | (i.e. not by a JSP tag) you should assign it an explicit static id or 
assign it
  | the id you get from the createUniqueId from the current UIViewRoot 
component rig
  | ht after creation!  
  | 

Then, if I click the "Home" link a second time, the page mostly renders, except 
I don't seem to get the table underneath the "Start new process execution" 
header on the page which has the process definitions listed -- I also get the 
following in the JBoss log:


  | 14:14:20,906 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
  | java.lang.IllegalStateException: Client-id : _id1 is duplicated in the 
faces tre
  | e.
  | at 
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic
  | ateIds(JspStateManagerImpl.java:241)
  | at 
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic
  | ateIds(JspStateManagerImpl.java:255)
  | at 
org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerialized
  | View(JspStateManagerImpl.java:204)
  | at org.apache.myfaces.taglib.core.ViewTag.doEndTag(ViewTag.java:122)
  | at org.apache.jsp.home_jsp._jspx_meth_f_view_0(home_jsp.java:144)
  | at org.apache.jsp.home_jsp._jspService(home_jsp.java:76)
  | at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
  | .java:332)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
  | 14)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
  | atcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
  | tionDispatcher.java:463)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
  | ispatcher.java:398)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
  | patcher.java:301)
  | at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
  | h(ServletExternalContextImpl.java:415)
  | at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
  | iewHandlerImpl.java:234)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
  | 300)
  | ...
  | 

I've tried a user ID of 1 and of 10 in the JBPM_ID_USER table, but that doesn't 
seem to have any effect. Anyone have any idea what the problem is?

Brad

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Adding data to session after login

2006-07-12 Thread anavailablename
did you ever find your solution for this? i want to do the exact same thing, 
can't find any other related threads that seem to deal with this issue.

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

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


[jboss-user] [JBoss AOP] - Re: Formal definition of pointcut specification language?

2006-07-12 Thread [EMAIL PROTECTED]
BTW I have changed the build so that future versions will ship with the .jjt 
files as part of the source distribution

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

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


[jboss-user] [JBoss Seam] - Re: Beginning conversations in @Factory methods

2006-07-12 Thread iradix
Gavin,

I think you understand where I'm coming from and thanks for the link.  I've 
been thinking that it would be really helpful to have a resource for Seam 
design patterns before.  There are a couple of things I think I'm missing 
though.

We've already discussed why a page scoped DataModel ends up with detached 
objects, a session scoped one seems to have a similar problem whereby whether 
you load your list by a seam managed or an extended EM, if you inject the 
DataModelSelection into a conversation scoped bean, that bean will possibly 
contain a different EM.  This is a problem that I'd like to avoid.

When it comes to SLSB searches, I might be missing something but it seems like 
that wouldn't work correctly with a JSF DataTable.  If I display a DataTable 
populated from an SLSB and then in the apply request values phase of the 
postback the DataTable recieves a DataModel from a new SLSB the new DataModel 
might be different and the row index may not correspond.  Or am I wrong there?  
This could be solved by avoiding the use of DataTable and passing a custom 
entity identifier but then it seems that I'm missing out on one of the cool new 
features of JSF.  Or maybe this is just the beginning of my 
dissolusionment

Anyway, thanks a lot for the additions.  They are exactly what I was looking 
for.  Maybe when I've got this all figured out I can put in a wiki entry to 
help any one else with similar problems.

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

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


[jboss-user] [JBoss jBPM] - Re: porblem of identification and assigment

2006-07-12 Thread arjakki
Hi ,

 Here are the steps I think of . Yes you have use the JbpmConfiguration 


static JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();

JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();

put the jbpmContext.setSession(..) , you need to set I think of it should be 
your hibernate session 

TaskInstance taskInstance = 
jbpmContext.loadTaskInstanceForUpdate(taskInstanceId);
taskInstance.setActorId(actorId);



Thanks
arjakki

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

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


[jboss-user] [JBoss AOP] - Re: Strange behavior with execution pointcuts.

2006-07-12 Thread jnorris10
Yes, this solves the problem.  Sorry about that.  Thanks for the reply, I 
thought I was misunderstanding something substantial about the pointcut 
language since I am having problems with interceptors not begin fired on 
methods called from within a bean. (I have just posted a description of this 
problem in another thread in this forum).

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

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


[jboss-user] [JBoss AOP] - Re: Formal definition of pointcut specification language?

2006-07-12 Thread jnorris10
This will be great, thanks!

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

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


[jboss-user] [JBoss AOP] - Interceptors not fired on methods called from within bean?

2006-07-12 Thread jnorris10
I am using JBoss 4.0.4.GA (w/ JBoss AOP 1.5.0.GA and EJB RC7).

Here is my jboss-aop.xml:


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

Here is my interceptor:


  | package org.jnorris10
  | 
  | import ... etc.
  | 
  | public class TestInterceptor implements Interceptor, Serializable
  | {
  | private static final long serialVersionUID = 1L;
  | 
  | public TestInterceptor()
  | {
  | }
  | 
  | public String getName()
  | {
  | return "TestInterceptor";
  | }
  | 
  | public Object invoke(Invocation invocation) throws Throwable
  | {
  | try
  | {
  | System.out.println(">>TestInterceptor begin: 
>>");
  | System.out.println("\t" + invocation);
  | return invocation.invokeNext();
  | }
  | finally
  | {
  | System.out.println(">>TestInterceptor   end: 
>>");
  | }
  | }
  | }
  | 

Then here is my stateless session bean:


  | @Stateless
  | @AspectDomain("Test Domain")
  | public class A
  | {
  |  A()
  |  {
  |  }
  | 
  |  public void x()
  |  {
  |  y();
  |  }
  | 
  |  public void y()
  |  {
  |  }
  | }
  | 

The problem is that if I invoke x() on a bean reference to A, the interceptor 
is invoked.  However, the interceptor is *not* invoked on the call to y() from 
x().  It seems that the interceptor is only called when the method is invoked 
across class boundaries and not when it's called internally.  What am I missing?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Beginning conversations in @Factory methods

2006-07-12 Thread petemuir
Sorry, that should be

@DataModel(scope=PAGE)
  | private List foos;
  | 
  | // Factory etc.

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

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


[jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group

2006-07-12 Thread falazar
Have you tested this on 3.1.1?

It does not appear to work there, and many people have written about it, with 
no real response as yet.

Ref: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73247&start=10

It does appear to set the task to the groups in the db, but does not show 
anything in the tasklist.

Where do you get  a copy of 3.2?  is it somwhat stable?

James Ratcliff

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

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


[jboss-user] [JBoss jBPM] - How to Handle Process Execution History

2006-07-12 Thread brado
I am using jBPM 3.1.1. The user guide states regarding persistence of process 
instances:

"The main purpose of persistence is to store process executions during wait 
states."

This suggests pretty strongly that the purpose of persistence in jBPM is 
supporting the runtime execution of processes. However, I also want a history 
of all processes executed. Looking at the jBPM datbase schema, it appears that 
the JBPM_PROCESSINSTANCE table is probably the only candidate for this, and I'm 
guessing that's the same table regular persistence mentioned in the user guide 
writes to. 

Perhaps I'm just overlooking it, but is there a generally accepted means of 
retrieving a history of all processes executed? If not, how is everyone else 
handling this...writing to your own history table I presume? 

Thanks for your help.

Brad 

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

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


[jboss-user] [JBoss Seam] - Re: Beginning conversations in @Factory methods

2006-07-12 Thread petemuir
anonymous wrote : anonymous wrote : You could reload the object when the 
conversation starts?I'm not sure I follow. 
I think
em.refresh(myEntity);
anonymous wrote : If this ID is being added as a request param please make sure 
that it's a non-important ID (ie, not a DB key).

Yup.  This is something I need to fix ;)

I've just tested what was discussed on this thread which works well
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86564&start=10

SearchBean

  | @DataModel
  | private List foos;
  | 
  | // Factory etc.
  | 

EditorBean

  | @In(required=false, value="#{foos.rowData}") 
  | private Foo selectedFoo;
  | 
  | @In(required=true) @Out 
  | private Foo foo;
  | ...
  | @Create @Begin
  | public void begin() {
  |foo = selectedFoo;
  | }
  | ...
  | 

Which, with some (basic) testing, seems to work and not give an LIE (which 
surprises me)

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam is just a toy in front of the user using Spri

2006-07-12 Thread [EMAIL PROTECTED]
"dhartford" wrote : I personally did not look heavily at Seam until the Web 
Beans JSR and it's future inclusion with the Java EE standards stack.  I am 
hoping for the day a Jboss-competitor will create a Web Beans implementation to 
compete against Seam on an apple-to-apple comparison (spring vs Java EE is just 
theological apple-to-orange comparison).

Right, this is also my hope.

I have taken to heart the lesson that "you can't make a technology you own a 
universal technology". There is a natural tension between ownership and 
universality.

And my core value is to create useful things that many people can use, not 
create things that I can completely own and control.

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam is just a toy in front of the user using Spri

2006-07-12 Thread chenrici
"[EMAIL PROTECTED]" wrote :  After several years of Spring development, do you 
see any of the code Spring guys trying to bring their ideas back into Java EE?  
 I saw lots of crying about J2EE, but did they contribute back to the Java 
community for the benefit of everyone?

How stupid! And this by a JBoss "Offical". I am a End-User and currently 
evaluating different technology options in a hopefully objective and 
unemotional way. And then i read this discussion in a Support Forum of 
Jboss.org, looking for help on a Tomcat Server Exception on a Seam Example 
Project. 

I am not a Spring Fan: This isn't a football game, so i don't take sides. We 
evaluate technology to satisfy a complex set of requirements, which are mostly 
unique in the combination for a company and may even contradict.  So there's 
never, again: never a black and white, a clear cut option. And still you decide 
and are successful, if you decide right. 

And another thing, i think i learned over the years:  in every science field i 
know about, creativity and innovation thrives on respect for the contributions 
for the others. 

Also
"[EMAIL PROTECTED]" wrote : 
  | - easy things are easy to do 
  | - difficult things are still easy to do 
  | - the 90% common case can be implemented without effort 
  | - the 10% more difficult problems can be solved in an elegant fashion 
are so terribly misused marketing buzzwords. I heard this so many times in my 
professional life and have learnt not to believe them:  examples from way back: 
when SQL was made commerially available and MFS was introduced my IBM. Now 
Relational Databases and SQL are now the legacy (Problem) and MFS is probably 
not in use much anymore.

I am looking into Seam among many other options. And will continue to see how 
Seam may be adequat for our requirements. 

But reading this posts and epecially Normans, as a JBoss Official, certainly 
don't invoke the impression of enterprise trustworthiness. It's the first time 
i saw, this kind of immature and irrelevant blabling in official support forum. 
Please be aware of the existents of  "soft" requirements: social and cultural 
factors, which are tremdously underestimated, see also James O. Coplien. (Who's 
that? you will probably ask...) .

Now to my initial intention to visit this forum. I admit i should have posted 
this in a seperate Thread. But i can't resist. 

So maybe Norman or Christian can answer me this one: 

The Seam Example application Issues gives me a Tomcat Exception:

INFO  12-07 21:23:30,786 (Log4JLogger.java:info:94)  -reading pages.xml
ERROR 12-07 21:23:31,705 (Log4JLogger.java:error:119)  -Servlet.service() for 
servlet jsp threw exception
java.lang.NoClassDefFoundError: org/apache/myfaces/config/MyfacesConfig
at 
org.apache.myfaces.renderkit.html.HtmlRendererUtils.writePrettyLineSeparator(HtmlRendererUtils.java:466)
at 
org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeBegin(HtmlListRenderer.java:53)
at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
at javax.faces.component.UIData.encodeBegin(UIData.java:547)
at 
javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:464)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:360)
at 
org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:55)

I am running with Tomcat: apache-tomcat-5.5.17, which i downloaded from the 
official apache site. And with: jboss-seam-1.0.1.GA. 
Both out of the box in a "clean" installation. 

Has somebody experienced simliar problems or can explain me the problem? 


Thanx 
Christoph Henrici



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

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


[jboss-user] [JBoss Seam] - Re: Beginning conversations in @Factory methods

2006-07-12 Thread [EMAIL PROTECTED]
I added @End(beforeRedirect=true), @EndTask(beforeRedirect=true) and 
Conversation.endBeforeRedirect() to CVS.

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

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


[jboss-user] [JBoss Seam] - Re: Beginning conversations in @Factory methods

2006-07-12 Thread CptnKirk
Too many conversations going on at once.

anonymous wrote : CptnKirk, do you have a different method for handling this?

You could use some indirection here.  You can have your request param id be a 
key to a session/conversation value.  This way the actual id is never exposed.  
If the param is manipulated it won't be found in the session/conversation and 
you provide error handling from there.

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

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


  1   2   3   4   >