[jboss-user] [JBoss Seam] - Re: Seam 1.2.1, AS 4.2.1, @Restricted method gives NoClassDe

2007-07-30 Thread SmokingAPipe
And it looks like the problem is in org.jboss.seam.util.EL:


  | import com.sun.el.ExpressionFactoryImpl;
  | import com.sun.el.lang.VariableMapperImpl;
  | 

which means that Seam is still dependent on the Sun EL RI, while JBoss AS has 
switched, and packaging the Sun RI in the EAR causes problems apparently.

Any ideas would be welcome.


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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2.1, AS 4.2.1, @Restricted method gives NoClassDe

2007-07-30 Thread SmokingAPipe
Further checking, the Sun RI is used in only two files in Seam:

./main/org/jboss/seam/util/EL.java:import com.sun.el.ExpressionFactoryImpl;
  | ./main/org/jboss/seam/util/EL.java:import 
com.sun.el.lang.VariableMapperImpl;
  | ./main/org/jboss/seam/jsf/SeamELFunctionMapper.java:import 
com.sun.el.lang.FunctionMapperImpl;
  | 

I think I'm at an impasse here, and will simply remove the @Restricted 
declarations at this point, and rely on the UI elements to prevent unauthorized 
use until this can be fixed.  This is for an internal use thing with a very 
small user group at this point, for testing, not real deployment, so that's a 
reasonable decision for Right Now.


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

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


[jboss-user] [JBoss Seam] - Re: Page action not called

2007-07-30 Thread Sammy8306
Is there anybody with more insight into the Seam codebase who can comment on 
this issue? Very strange.

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

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


[jboss-user] [EJB 3.0] - Re: BMT does not work the expected way.

2007-07-30 Thread sumantkb
Hi

Thanks for the response. 

Please look at 5.1 , second last paragraph. It says
Both container-managed entity managers and application-managed entity managers 
and their persistence contexts are required to be supported in Java EE web 
containers and EJB containers. 

Would not that imply that the EntityManagerFactory factory = Persistence
.createEntityManagerFactory(titan);  should work as well?

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

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


[jboss-user] [JBoss jBPM] - Re: java.lang.ClassNotFoundException

2007-07-30 Thread zhouliuqq
I am very sorry,I am from  china, My English is not very good.so i don`t how to 
say.
??JBPMactionhandler?but 
actionhandler,??,SPRING+HIBERNATE+STRUTS2.0


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

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


[jboss-user] [JBoss Seam] - Re: Access Seam Component from Servlet Filter in JSF Request

2007-07-30 Thread [EMAIL PROTECTED]
Your custom filter needs to be called inside the Seam context filter.  If you 
set up SeamFilter as described in the docs, make sure your filter is called 
later in the chain than SeamFilter.

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

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


[jboss-user] [Beginners Corner] - Re: Parameter is not sent to my method from jsf

2007-07-30 Thread Marc.Hinrichs
Could you show us the backing bean you're using?

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

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


[jboss-user] [JBoss jBPM] - Re: java.lang.ClassNotFoundException

2007-07-30 Thread zhouliuqq
   public BpmTask startWorkFlowByDefinitionName(final String 
definitionName,final String usercode,final boolean flag){

return (BpmTask)jbpmTemplate.execute(new JbpmCallback(){
public BpmTask doInJbpm(JbpmContext context) {
try{
ProcessDefinition 
definition=getDefinitionByName(definitionName);
ProcessInstance processInstance=new 
ProcessInstance(definition);
// create the start task if one exists
Token token = processInstance.getRootToken();
//???CONTEXT?
token.signal();
// Save the process instance along with the task instance
//???

processInstance.getContextInstance().setVariable(startUserCode, usercode);
processInstance.getContextInstance().setVariable(parentId, 
processInstance.getId());
TaskInstance 
nexttaskInstance=getTaskInstanceByToken(processInstance.getTaskMgmtInstance(),token);
if (flag){
nexttaskInstance.start();
}
context.save(processInstance);
Session session=context.getSession();
Processmain processmain=new Processmain();
processmain.setProcessid(processInstance.getId());

processmain.setProcessname(processInstance.getProcessDefinition().getName());
processmain.setStartdate(processInstance.getStart());
processmain.setUsercode(usercode);
session.save(processmain);
return createWorkflowTask(null, nexttaskInstance);
}catch(Exception e){
e.printStackTrace();
throw new JbpmException(processInstance init 
fail+e.getMessage());
}
}
});



process-definition
  xmlns=  name=Undwrtdefinition
   start-state name=start
  
  
 action name=action1 
class=cn.com.picc.claim.bpm.handler.ToStartHandler config-type=bean
  
  
   /start-state


 

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

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


[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

2007-07-30 Thread jfheintz
Here is part of the log:

09:29:45,822 INFO  [JmxKernelAbstraction] creating wrapper delegate for: 
org.jboss.ejb3.entity.PersistenceUnitDeployment
09:29:45,837 INFO  [JmxKernelAbstraction] installing MBean: 
persistence.units:ear=statinfo.ear,unitName=StatInfoUnit with dependencies:
09:29:45,837 INFO  [JmxKernelAbstraction]   
jboss.jca:name=StatInfoDS,service=DataSourceBinding
09:29:45,837 INFO  [PersistenceUnitDeployment] Starting persistence unit 
persistence.units:ear=statinfo.ear,unitName=StatInfoUnit
09:29:45,900 INFO  [Version] Hibernate EntityManager 3.2.1.GA
09:29:45,931 INFO  [Version] Hibernate Annotations 3.2.1.GA
09:29:45,947 INFO  [Environment] Hibernate 3.2.4.sp1
09:29:45,978 INFO  [Environment] hibernate.properties not found
09:29:45,978 INFO  [Environment] Bytecode provider name : javassist
09:29:45,994 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
09:29:46,322 INFO  [Configuration] Reading mappings from resource : 
META-INF/orm.xml
09:29:46,525 INFO  [Ejb3Configuration] [PersistenceUnit: StatInfoUnit] 
META-INF/orm.xml found
09:29:46,712 INFO  [AnnotationBinder] Binding entity from annotated class: 
test.MySite
09:29:46,790 INFO  [EntityBinder] Bind entity test.MySite on table SI_SITE
09:29:47,118 INFO  [ConnectionProviderFactory] Initializing connection 
provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
09:29:47,134 INFO  [InjectedDataSourceConnectionProvider] Using provided 
datasource
09:29:47,134 INFO  [SettingsFactory] RDBMS: PostgreSQL, version: 8.2.3
09:29:47,134 INFO  [SettingsFactory] JDBC driver: PostgreSQL Native Driver, 
version: PostgreSQL 8.2 JDBC3 with SSL (build 504)
09:29:47,181 INFO  [Dialect] Using dialect: 
org.hibernate.dialect.PostgreSQLDialect
09:29:47,196 INFO  [TransactionFactoryFactory] Transaction strategy: 
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
09:29:47,212 INFO  [TransactionManagerLookupFactory] instantiating 
TransactionManagerLookup: 
org.hibernate.transaction.JBossTransactionManagerLookup
09:29:47,212 INFO  [TransactionManagerLookupFactory] instantiated 
TransactionManagerLookup
09:29:47,212 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): 
disabled
09:29:47,212 INFO  [SettingsFactory] Automatic session close at end of 
transaction: disabled
09:29:47,212 INFO  [SettingsFactory] JDBC batch size: 15
09:29:47,212 INFO  [SettingsFactory] JDBC batch updates for versioned data: 
disabled
09:29:47,228 INFO  [SettingsFactory] Scrollable result sets: enabled
09:29:47,228 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
09:29:47,228 INFO  [SettingsFactory] Connection release mode: auto
09:29:47,228 INFO  [SettingsFactory] Default batch fetch size: 1
09:29:47,228 INFO  [SettingsFactory] Generate SQL with comments: disabled
09:29:47,243 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
09:29:47,243 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
09:29:47,243 INFO  [SettingsFactory] Query translator: 
org.hibernate.hql.ast.ASTQueryTranslatorFactory
09:29:47,243 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
09:29:47,259 INFO  [SettingsFactory] Query language substitutions: {}
09:29:47,259 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
09:29:47,259 INFO  [SettingsFactory] Second-level cache: enabled
09:29:47,259 INFO  [SettingsFactory] Query cache: disabled
09:29:47,259 INFO  [SettingsFactory] Cache provider: 
org.hibernate.cache.HashtableCacheProvider
09:29:47,259 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
09:29:47,275 INFO  [SettingsFactory] Cache region prefix: 
statinfo_ear,StatInfoUnit
09:29:47,275 INFO  [SettingsFactory] Structured second-level cache entries: 
disabled
09:29:47,290 INFO  [SettingsFactory] Statistics: disabled
09:29:47,290 INFO  [SettingsFactory] Deleted entity synthetic identifier 
rollback: disabled
09:29:47,290 INFO  [SettingsFactory] Default entity-mode: pojo
09:29:47,290 INFO  [SettingsFactory] Named query checking : enabled
09:29:47,400 INFO  [SessionFactoryImpl] building session factory
09:29:48,071 INFO  [SessionFactoryObjectFactory] Factory name: 
persistence.units:ear=statinfo.ear,unitName=StatInfoUnit
09:29:48,071 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.fac
tory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
09:29:48,087 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: 
persistence.units:ear=statinfo.ear,unitName=StatInfoUnit
09:29:48,087 WARN  [SessionFactoryObjectFactory] InitialContext did not 
implement EventContext
09:29:48,087 INFO  [SchemaUpdate] Running hbm2ddl schema update
09:29:48,102 INFO  [SchemaUpdate] fetching database metadata
09:29:48,102 INFO  [SchemaUpdate] updating schema
09:29:48,852 INFO  [TableMetadata] table found: public.si_site
09:29:48,852 INFO  [TableMetadata] columns: [siteipforbiddenser, accesslevel, 
type, 

[jboss-user] [JBoss Seam] - Seam log4j question

2007-07-30 Thread Stateless Bean
Hi,
My JBoss 4.0.5 generates still any kind of logs. Is any posible to disable 
generating logs for my app (only for my app, excluding other aps)?
Is for that this file log4j.xml witch is loaded into ear?
And how can I disable logs generating only for generating to jboss console?

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

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


[jboss-user] [JBoss jBPM] - Re: Couldn't find process definition

2007-07-30 Thread mailinator
Hi,

i got this message from the logs when i start the JBoss server.

09:49:37,764 INFO  [SettingsFactory] RDBMS: Oracle, version: Oracle9i Release 9.
2.0.6.0 - Production
JServer Release 9.2.0.6.0 - Production
09:49:37,764 INFO  [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 9
.2.0.1.0
09:49:37,795 INFO  [Dialect] Using dialect: org.hibernate.dialect.Oracle9Dialect

09:49:37,811 INFO  [TransactionFactoryFactory] Using default transaction strateg
y (direct JDBC transactions)
09:49:37,827 INFO  [TransactionManagerLookupFactory] No TransactionManagerLookup
 configured (in JTA environment, use of read-write or transactional second-level
 cache is not recommended)

Do you think that there is some relation ?
I don't know enough about JTA and how it works to see that relation.

Thanks for your time,

Regards,

O.M.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - problem when I want to persist data

2007-07-30 Thread yohann49
Hi !!

I want to persist data in my database. However I have an error : 

  | Exception during request processing: javax.servlet.ServletException: 
/abonnement_contact.xhtml @17,68 value=#{contact.firstName}: Target 
Unreachable, identifier 'contact' resolved to null
  | 

Here is my ContactManager : 

  | @Stateful
  | @Name(ContactManager)
  | @Scope(SESSION)
  | public class ContactManager implements 
com.pingwy.web.front.ContactManagerLocal, Serializable{
  |
  |
  | @In
  | private EntityManager em;
  | 
  | @In (create = true,  required = true) @Out
  | private Contact contact;
  | 
  |
  | @In @Out (required = false)
  | Contact currentContact;
  | 
  | 
  | public String updateContact(){
  | 
  |
  | em.merge(currentContact);
  | 
  | return null; 
  |  
  | }
  | 
  |   
  | public String removeContact (){
  | 
  | 
  | System.out.println(contact  bientot supprimé);
  | em.remove(currentContact);
  | return null;
  | }
  | 
  |
  | 
  | public String createContact(Contact c){
  | contact = c;
  | em.persist(contact);
  | return null;
  | 
  | 
  | }
  | 
  |
  | 
  | @Remove @Destroy
  | public void destroy(){
  | }
  | 
  | public Contact getContact() {
  | return contact;
  | }
  | 
  | public void setContact(Contact contact) {
  | this.contact = contact;
  | }
  | 
  | }
  | 

and my page : 

  | ?xml version='1.0' encoding='UTF-8' ?
  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |xmlns:h=http://java.sun.com/jsf/html;
  | 
  | body
  | 
  | ui:composition template=templates/client.xhtml
  | 
  | ui:define name=servicesclients
  | h:form
  | h3Contact/h3
  | 
  | h:panelGrid columns=2
  | h:outputLabel value=FirstName :/
  | h:inputText value=#{contact.firstName}/
  |h:outputLabel value=LastName :/
  | h:inputText value=#{contact.lastName}/
  | h:outputLabel value=Phone :/
  | h:inputText value=#{contact.phone}/
  | h:outputLabel value=Other Phone :/
  | h:inputText value=#{contact.otherPhone}/
  | h:outputLabel value=Mail :/
  | h:inputText value=#{contact.mail}/
  | h:outputLabel value=Username :/
  | h:inputText value=#{contact.username}/
  | h:outputLabel value=Password :/
  | h:inputText value=#{contact.password}/
  | h:outputLabel value=Fax :/
  | h:inputText value=#{contact.fax}/
  | h:outputLabel value=Position :/
  | h:inputText value=#{contact.position}/
  | 
  |  /h:panelGrid
  | 
  | h:commandButton id=change value=Change 
action=#{ContactManager.createContact(contact)}/
  | 
  | /h:form
  | /ui:define
  | 
  | 
  | 
  | /ui:composition
  | 
  | /body
  | /html
  | 

thanks in advance

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

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

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


[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException on remote calling of an EJB3.0

2007-07-30 Thread broneo
Hello PeterJ,

first of all thanks a lot for your help.
This morning ich changed the lookupt name to ClientBean/remote as you 
proposed. Surprisingly this time ist works well. 

This is the output i get:

run-jar:
ClientBean is bound to: 
jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3
log4j:WARN No appenders could be found for logger 
(org.jboss.security.SecurityAssociation).
log4j:WARN Please initialize the log4j system properly.
getClient returns: John Doe

I can`t tell why it works this time. I changed nothing except this line:

ClientRemote client = (ClientRemote)ic.lookup(ClientBean);

to this:

ClientRemote client = (ClientRemote)ic.lookup(ClientBean/remote);

The last time i tried this i got an error.

Thank you for your help.

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

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


[jboss-user] [JBoss jBPM] - Re: Couldn't find process definition

2007-07-30 Thread mailinator
Hi,

some further info :

in the logs of jboss i found this 

10:07:02,786 WARN  [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunac
ore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.l
astResource.disallow] Adding multiple last resources is disallowed. Current reso
urce is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource
@1e8a18
10:07:03,005 ERROR [STDERR] org.hibernate.exception.GenericJDBCException: Cannot
 open connection


Does it help someone to help me ?

Regards,

O.M.

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

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


[jboss-user] [JBoss Portal] - Re: Classloader problems

2007-07-30 Thread [EMAIL PROTECTED]
You shouldn't have this problem with 2.6.1

From your first post i couldn't say if it was with 2.6.0 or 2.6.1.

The stacktrace seems to be from 2.6.0 if so can you switch to 2.6.1 please ?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - delpoyment of the application

2007-07-30 Thread amit007
hi
i m trying to deploy my application through Jboss 4.0.1. do i need to 
keep the application folder in the same directory. i have kept my application 
as in Jboss. but can u give me the datails of flies in which i have to make the 
changes so that my application runs. i am using database as in MSSQL with 
windowsxp.  i have made some changes in files jboss-service.xml,mssql-ds.xml. 

when i try to run my application it gives bad packet error 18245. 

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

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


[jboss-user] [JBoss Portal] - Re: Redirect after logout

2007-07-30 Thread [EMAIL PROTECTED]
I created a Hira to have this out of the box in 2.6.2
If someone feels like contributing this, that would be welcome.


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

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


[jboss-user] [JBoss jBPM] - Troubles about integrating a jBPM on an existing JBoss AS

2007-07-30 Thread pillcase
I know that this is an FAQ, but I tried everything, I still cannot log in the 
jBPM console a login failed message occured, I just want to use jBPM with 
SEAM, is there any easy way to configure, these are the steps I tried, please 
help to find out the errors might occur:

1. copied the jbpm-enterprise.ear to the deployment folder of my existing JBoss 
AS
2. created a mysql-ds.xml in the same folder of the ear file, use the content 
mentioned in 
http://obiecte.blogspot.com/2007/04/deployinh-jbpm-on-jboss-with-mysql.html , 
surely I did change the username and the password.
3. unpacked the jbpm-enterprise.ear file, modified the 
lib/jbpm-configs.jar/hibernate.cfg.xml file.
4. added the config to the conf/login-config.xml as mentioned in 
http://obiecte.blogspot.com/2007/04/deployinh-jbpm-on-jboss-with-mysql.html
5. created the tables in MySQL using the script in 
http://obiecte.blogspot.com/2007/04/deployinh-jbpm-on-jboss-with-mysql.html

6. repacked the ear file again, restarted the JBoss server, but the login 
failed message still occur.

What will be the problems are?

These is the log file, there is no exception:
2007-07-30 15:56:02,968 ERROR [STDERR] 2007/7/30 ?? 03:56:02 
com.sun.faces.lifecycle.ELResolverInitPhaseListener 
populateFacesELResolverForJsp
??: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP 
container.
2007-07-30 15:56:06,234 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/identity.taglib.xml
2007-07-30 15:56:06,265 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tf-compat.taglib.xml
2007-07-30 15:56:06,281 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tfl.taglib.xml
2007-07-30 15:56:06,312 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-compat.taglib.xml
2007-07-30 15:56:06,328 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tfl-compat.taglib.xml
2007-07-30 15:56:06,343 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-simple.taglib.xml
2007-07-30 15:56:06,359 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tf.taglib.xml
2007-07-30 15:56:06,390 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-data.taglib.xml
2007-07-30 15:56:06,421 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/core.taglib.xml
2007-07-30 15:56:06,453 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
2007-07-30 15:56:06,468 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
??: Added Library from: 
jar:file:/C:/jboss-4.0.5.GA-jems/server/default/./tmp/deploy/tmp62753jbpm-enterprise.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
2007-07-30 15:56:06,484 ERROR [STDERR] 2007/7/30 ?? 03:56:06 
com.sun.facelets.compiler.TagLibraryConfig 

[jboss-user] [JCA/JBoss] - Re: Message DB + Oracle database connection count problems

2007-07-30 Thread sks4jboss
anonymous wrote : 
  | 
  | The AvailableConnections is actually the number of permits available to 
enter the pool.
  | Its not necessarily the same thing as the checked out connections
  | though it should be pretty similar and only transiently different. 
  | 
  | 

Noted. 


Next time the problem hits again, I will try to enable the traces. I hope that 
will be helpful. Regarding the weakhashmap, i might not change at it as its a 
prod system. Also the first connection that system made (from the initializer 
servlet) is still present in it. Just getting a clue would be fine enough.

Thanks,
Suds

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

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


[jboss-user] [JBoss Seam] - Re: Using Seamgen from entities

2007-07-30 Thread atao
See http://jira.jboss.com/jira/browse/JBSEAM-843

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

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


[jboss-user] [JBossWS] - Re: setHeader and setServerURL, using javax.xml.ws.Service?

2007-07-30 Thread lowecg2004
Eric,

Did you ever find a solution to setting the sessionId and setHeaders?

Regards,

Chris.

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

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


[jboss-user] [JBoss Portal] - Re: Default layout and theme for Dashboard

2007-07-30 Thread durand
My guess is that you've already solved this, but changing the theme under 
Dashboards, under the Management Portlet as admin does change the default theme 
for dashboards for all users.

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

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


[jboss-user] [JBoss Seam] - Re: cannot simultaneously fetch multiple bags

2007-07-30 Thread damianharvey
My recollection is that this is a limitation imposed when using Lists instead 
of Sets, however I can't find the post that I read this in (Hibernate forums).

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

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


[jboss-user] [JBoss Seam] - Re: Asynchronous call before App Startup

2007-07-30 Thread damatrix
Hi,

I've tried the @Observer annotation on an application scope seam compnonent, 
and i realise that it is still not being called after startup.

I've done a search through the seam code and i seam not to find any event being 
raised by the name org.jboss.seam.postInitilization which my method would 
then observe.

Is there any other way to do this or am i missing something. Debugging shows 
that my annotated method is not called at all.


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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JMSSecurityException when trying to subscribe to a tempo

2007-07-30 Thread hicks
[EMAIL PROTECTED] wrote : Security is configured on the DestinationManager 
for temporary destinations.

Could you give me a reference to the part of the documentation which describes 
how to configure the destination manager please?


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

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


[jboss-user] [JBoss Seam] - Re: Seam log4j question

2007-07-30 Thread ellenzhao
http://jira.jboss.com/jira/browse/JBSEAM-1675

Please vote for it if you want a logging configuration template too! Thanks!


Regards,
Ellen

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

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


[jboss-user] [JBoss Seam] - Re: Startup exception: Ajax4jsfFilter

2007-07-30 Thread damianharvey
Read the seam2migration.txt file that is in the root of the Seam distribution. 
One of the lines there states:

* remove the Ajax4JSF filter and mappings

When I followed that migration guide my app was fine (apart from problems with 
conversations that is still outstanding.)

Cheers,

Damian.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - in Deloyment of application

2007-07-30 Thread amit007
hi...
what does this error mean.

 ERROR [MsgAjp] BAD packet signature 18245
  how do i remove this error

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

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


[jboss-user] [JBoss jBPM] - Re: Troubles about integrating a jBPM on an existing JBoss A

2007-07-30 Thread cahimoped
Those are normal errors (they are in the 3.2.1 quite version too and they 
don't prevent the console from running).

I think you need to look the users configuration in the database for your 
login failed.

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

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


[jboss-user] [JBoss Seam] - Re: Null value sent by s:link in dataTable

2007-07-30 Thread chawax
I found where it comes from ...
My employeList seam component, which contains the employees list, was in 
CONVERSATION scope. So I think that the conversation was ended when running 
employeCrud component and of course it could not find the employee in the list 
;)
I set my employeList component to SESSION scope and now it works better (other 
errors, but it goes further and this new error has nothing to see)

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

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


[jboss-user] [JBoss Seam] - Is there a JBossWS client example for invoking a Seam ws?

2007-07-30 Thread lowecg2004
I've successfully setup a Seam web service, generated the proxies using 
wsconsume and installed the Seam conversation SOAP handler.

I'm having real difficulty finding out how to add/read the conversationId SOAP 
header.  Without it I just get this exception:

Caused by: java.lang.NullPointerException
  | at 
org.jboss.seam.webservice.SOAPRequestHandler.extractConversationId(SOAPRequestHandler.java:137)
  | at 
org.jboss.seam.webservice.SOAPRequestHandler.handleInbound(SOAPRequestHandler.java:75)
  | at 
org.jboss.seam.webservice.SOAPRequestHandler.handleMessage(SOAPRequestHandler.java:56)
  | at 
org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295)
  | at 
org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140)
  | ... 27 more

Could anyone point me to the right documentation/example/anything that might 
help?

Shouldn't the lack of conversationId header just be ignored since that implies 
all my Seam web services must be conversational?  I may wish to have a mix of 
web services where some may be stateless or just work at the session context?

I tried implementing a web service without the SOAP handler (because of the 
aforementioned NPE) using a similar example to a simple stateful web service 
example suggested by Rama Pulavarthi:

http://weblogs.java.net/blog/ramapulavarthi/archive/2006/06/maintaining_ses.html

The web service is invoked just fine, however anything I save to HttpSession 
using setAttribute() does not survive beyond the request.  So, on a subsequent 
request to a servlet using the JSESSIONID obtained from the WS call, the 
corresponding getAttribute call returns null.

I tried to have a go at debugging this and thought that SessionContext.flush() 
might be a good place to start digging around (my web service also placed some 
values into SessionContext) but this was never called.  I suppose that makes 
sense given that I commented out the handler responsible for managing contexts 
;) However, could the lack of SOAP handler also cause the values I saved to a 
regular HttpSession to not  be saved?

Cheers,

Chris

Here is my WS code:

@Name(developmentService)
  | @Stateless
  | @WebService(name = DevelopmentService, serviceName = DevelopmentService 
)
  | public class DevelopmentAuthenticator implements DevelopmentServiceRemote
  | {
  |   @Logger Log log;
  |   
  |   @Resource
  |   private WebServiceContext wsContext;
  |   
  |   @WebMethod
  |   public boolean login(final String username,
  |final String password) {
  | 
  | final MessageContext mc = wsContext.getMessageContext();
  | 
  | // This would be called during an AppletViewer session before any 
server calls. Therefore,
  | // create a HttpSession so the HTTP response has a JSESSIONID cookie 
which can be used
  | // by all other server requests.
  | final HttpSession session =
  |   
((HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST)).getSession();
  | 
  | if (session == null) {
  | throw new WebServiceException(No session in WebServiceContext);
  | }
  | 
  | // do authentication
  | Identity.instance().setUsername(username);
  | Identity.instance().setPassword(password);
  | 
  | Identity.instance().login();
  | 
  | final boolean isLoggedIn = Identity.instance().isLoggedIn();
  | 
  | if (isLoggedIn) {
  |   // Authenticator stores the userId on the SessionContext
  |   final Integer userId = (Integer) 
Contexts.getSessionContext().get(userId);
  | 
  |   // verify that userId is set
  |   if (userId == null) {
  | log.warn(User ID not set after successful login in web service 
call.);
  |   }
  |   
  |   // transfer the user id to the HttpSession to allow access from all 
JEE entities,
  |   // not just Seam components.
  |   session.setAttribute(userId, userId);
  |   
  |   log.info(adding userId: {0} to session {1}, 
session.getAttribute(userId), session.getId());
  | }
  | 
  | return isLoggedIn;
  |   }  
  | 
  | }

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Avoid Jboss 3.2.3 scanning large subdirectories

2007-07-30 Thread remiserrano
Hello,

I have a DocDir directory that can be made of a large amount of files.

JBoss scans this directory at each startup and this takes a long time.
Is there a way to tell JBoss not to scan a this directory ? 

I Know that there is a way to tell JBoss not to DEPLOY directories or files 
using the FILTER attribute in jboss-service.xml. But it does not seems to 
prevent JBoss from SCANNING the given directory.

For instance, I renamed my Doc direcotry DocDir to #DocDir... but the 
startup is as slow as before.

Thank you for your help,

Regards,


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBPM Process Instance - Could not enlist in transaction on e

2007-07-30 Thread mailinator
Hi,

i'm using jbpm to work with workflows.
Here is my problem :
i'm deploying my process definition fine with the plugin. I check in the 
database and everything is fine.
But when trying to acces that process definition from my webapp, i encounter 
some issues.

I believe that this is because of misconfiguration of either datasources or 
transaction manager.
Sadly i dont know enough to find some solution to that.

Here is my jbpm code :

 JbpmConfiguration jbpmConfiguration=JbpmConfiguration.getInstance();
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
try {
  String processName = Acces;
  ProcessInstance processInstance = 
jbpmContext.newProcessInstance(processName);
} finally {
  jbpmContext.close();
}

In my jbpm-ds.xml :



   local-tx-datasource
  jndi-nameJbpmDS/jndi-name
  connection-urljdbc:oracle:thin:@srvsa.ne:1521:dbp/connection-url
  driver-classoracle.jdbc.driver.OracleDriver/driver-class
  user-nameb/user-name
  b
  min-pool-size1/min-pool-size
  max-pool-size5/max-pool-size
  idle-timeout-minutes0/idle-timeout-minutes
/local-tx-datasource



In the logs of JBOSS, i have this :

11:43:19,872 INFO  [TransactionFactoryFactory] Using default transaction strateg
y (direct JDBC transactions)
11:43:19,887 INFO  [TransactionManagerLookupFactory] No TransactionManagerLookup
 configured (in JTA environment, use of read-write or transactional second-level
 cache is not recommended)
11:43:19,887 INFO  [SettingsFactory] Automatic flush during beforeCompletion():
disabled

I believe there is a link between this and my exception :

org.jboss.resource.JBossResourceException: Could not enlist in transaction on 
entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple  ac, BasicAction: 
a623635:94c:46adb26e:56 status: ActionStatus.ABORT_ONLY )

org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)

org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)

org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)

Does anyone know about this ?

Regards,

O.M.


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

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


[jboss-user] [JBoss Messaging] - Re: Information Needed on Bugs solved in JBM 1.0.1.SP5

2007-07-30 Thread timfox
All this information is available in JIRA.

There are links to JIRA from the project main page and the user wiki

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging 1.4.0.CR1 and postgresql...

2007-07-30 Thread timfox
boniek wrote : I'm getting this when starting JBoss Messaging with mysql 5:
  | 
  | 20:03:05,175 WARN  [JDBCPersistenceManager] 
  | 
  | JBoss Messaging Warning: DataSource connection transaction isolation should 
be READ_COMMITTED, but it is currently REPEATABLE_READ.
  |  Using an isolation level less strict than 
READ_COMMITTED may lead to data consistency problems.
  |  Using an isolation level more strict than 
READ_COMMITTED may lead to deadlock.
  | 
  | 

This is explained in the user guide


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

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


[jboss-user] [JBoss Messaging] - Re: Warning Message in Server Console log

2007-07-30 Thread timfox
This is doing exactly what it says on the tin.

You have killed your client, the server has detected it and is cleaning up 
server side resources associated with that client.

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

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


[jboss-user] [JBoss Messaging] - Re: Upgrade JBM 1.0.1.GA to JBM 1.0.1.SP5

2007-07-30 Thread timfox
The 1.0 series is old now. We don't recommend any new users use it.

We are bringing out a new version 1.4.0 shortly (there is already a release 
candidate (non production) out now) so we would recommend you wait for that.

It's a drain on our resources to keep supporting old versions.

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

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


[jboss-user] [JBoss Seam] - Re: general question on encoding

2007-07-30 Thread przemyslawo
thanks wise_guybg.

I've found many helpfull informations here:

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

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

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


[jboss-user] [JBoss Messaging] - Re: Queue Loading - OutOfMemory

2007-07-30 Thread timfox
Yes, we understand there was a typo in the doco for 1.0.

This was fixed many months ago for the 1.2 release.

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

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


[jboss-user] [JBoss Messaging] - Re: javax.jms.IllegalStateException: Cannot find delivery to

2007-07-30 Thread timfox
You should be able to see any differences by looking at the user guide or 
release notes.

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

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


[jboss-user] [JBoss Portal] - Re: Classloader problems

2007-07-30 Thread gressho
I've checked, the jboss-portal.sar-directory is 2.6.1. There is no WEB-INF/lib2 
in the admin war in 2.6.0. I've deleted all in temp and in work-directories, 
just to be sure.
So which class do I have to load in portlet.xml? I chose
com.sun.faces.portlet.FacesPortlet.
I observed something else: my new page is shown even to unathenticated users, 
but
they don't have the rights to. Only two groups should see it (admin group and a 
group
of my own). That worked perfectly in 2.4.

Best wishes

Werner Gresshoff


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

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


[jboss-user] [JBoss Portal] - Re: Classloader problems

2007-07-30 Thread [EMAIL PROTECTED]
Do you have META-INF/faces-config.xml in the jsf-portlet.jar ? Also do you use 
the latest version ?



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

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


[jboss-user] [JBoss Seam] - How to skin s:link using a4j skin.properties

2007-07-30 Thread jbuechel
Hi,

i'm looking for the best way to skin s:link component (or other default 
components).

The theme.css which is generated through seam-gen is defining selectors such as 
a:link etc. 

Can somebody tell what's the best way to use the skin functionality of a4j with 
seam?

 

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

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


[jboss-user] [JBoss Seam] - Re: How to skin s:link using a4j skin.properties

2007-07-30 Thread damianharvey
Just checking that you realise that a:link in your css doesn't refer to 
ajax4JSF right?



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

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


[jboss-user] [JBoss Seam] - Multiple Seam Applications

2007-07-30 Thread sradford
Hi,

Before I build a prototype to test, I wondered if anyone could tell me the 
answer to the following design question.

I have 2 applications (App1 and App2) that I would love to use Seam in. Both 
would be standard Seam EAR apps. However, both the apps would be deployed 
(initially at least) within the same JBoss instance and App2 needs to 
communicate (via Stateless Session EJBs) to App1.

I believe that having the 2 apps deployed within the same JBoss instance is not 
an issue. 

However, what about the inter-EJB communication? 

Will the Thread-bound Seam contexts cause problems when 'moving' from App2 to 
App1? 

What if the apps were using different versions of Seam?

Does App2 have to use Remote interfaces only to communicate to the App1 EJBs?

Any help much appreciated.

Regards,

Sean



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

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


[jboss-user] [JBoss Seam] - Inserting into secondry table

2007-07-30 Thread kaviarasu
hi 
i want to insert values in primary and secondry table using JSF
im using one to many annotation to combine primary and secondry table 
the secondry table is mapped as set 
can any one tell how to inseert values in secondry table from jsf
i have pasted the coding below, the  REVIEW_ENTRY_ID is primary key.
i have written trigger to insert review enteryId in secondry table when it is 
entered in primary, i want to insert reviewHeading in secondry table,

primary table
@Name(write)
  | @Id
  | @Column(name=REVIEW_ENTRY_ID)
  | private BigDecimal reviewEntryId;
  | @OneToMany(mappedBy=reviewEntryId)
  | private SetTblUserReviews tblUserReviewsCollection;

secondry table 

@Column(name=REVIEW_HEADING)
  | private String reviewHeading;
  | @ManyToOne
  | @JoinColumn(name=REVIEW_ENTRY_ID)
  | private TblReviews reviewEntryId;

JSF

table border=0 style= width : 771px;
  | tr
  | tdRate the product/td
  | tdrich:inputNumberSlider 
value=#{write.reviewEntryId}/
  | /td
  |   td
  | /td
  | /tr
  | tr style= height : 6px;
  | tdReview Title/td
  |  tdh:inputTextarea 
value=#{write.reviewHeading} style= width : 445px; height : 
34px;/h:inputTextarea
  | /td
  | /tr
  | /table


Thank you
regards
Kaviarasu


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

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


[jboss-user] [JBossCache] - Re: JBC 2 performance

2007-07-30 Thread [EMAIL PROTECTED]
Thanks for this - this stuff has actually led to finding a pretty critical bug 
in the PessimisticLockInterceptor which was previously hidden away due to 
excessive synchronization in the node.  

See JBCACHE-1157

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

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


[jboss-user] [JBoss Portal] - Re: Classloader problems

2007-07-30 Thread gressho
No, there isn't. I'm using the jsf-portlet.jar which is delivered in 
portal-admin.sar/WEB-INF/lib2.
So that's my fault?
I will test that, when the server is back online.

Thanks

Werner

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

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


[jboss-user] [JBoss Portal] - Re: Classloader problems

2007-07-30 Thread [EMAIL PROTECTED]
Yes that's your issue.

You should take the original one:
https://jsfportletbridge.dev.java.net/

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

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


[jboss-user] [JBoss Seam] - Re: How to skin s:link using a4j skin.properties

2007-07-30 Thread jbuechel
Sorry for my english.

Yes, it does not refer to ajax4JSF. 
I was talking about css code such following:

  | a:link {color: #FF} 
  | a:visited {color: #00FF00} 
  | a:hover {color: #FF00FF}  
  | a:active {color: #FF} 
  | 

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

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


[jboss-user] [JBoss Seam] - How to handle concurrent requests from multiple users

2007-07-30 Thread sverker
When  several users are working on the same data set, how to best handle the 
concurrency with Seam?

In the specific case I have an application where approx 100 users concurrently 
work with registering and administrate contacts (i.e. add, edit, remove). The 
app is built with a stateful session bean as seam component which holds a list 
of contacts.

What is the best practice to trigger an update of the contacts list between 
users? I was looking at component events, but although it's not spelled out 
clearly it seams to me that those events are only propagated within one users 
context.

Another way could be to to send update events by jms, but a MDB doesn't have 
reference to my stateful session bean instance. Maybe make the SF bean a 
message listener itself?

This is of course an issue in a normal ejb application but it gets more 
noticeable with Seam as more state is held by Seam than normally is done when 
using stateless session bean as facades.

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

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


[jboss-user] [JBoss Seam] - Best Seam Development Environment? (Switch from MC to EJB3)

2007-07-30 Thread -Arthur-
Hi,

i am developing with seam for almost 3 months now. 
I've switched my project from Spring/Hibernate to Seam/Hibernate and really 
like it.
I am currently using Seam 1.2.1GA with Microcontainer and hot deployment to 
Jetty (with Maven and Eclipse).

Now i would likte to migrate my project to EJB3 and Jboss AS for learning 
reasons. (I am student and really interested in Enterprise Web Development - im 
going to write my diploma about that topic)

Does anybody have some advices how i can switch my development environment for 
rapid web development? (I really don't want to restart the container every time 
i change a *xhtml file)

Some migration hints for switching my environment from plain Hibernate/MC to 
JPA EJB3 JBOSS AS would be very useful to me.
(Currently im developing alone)

How do you developing your applications with Seam and Eclipse (and maybe Maven)?

Thank you very much for answers.




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

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


[jboss-user] [JBoss Seam] - Re: Page action not called

2007-07-30 Thread Sammy8306
wise_guybg wrote : Well this would be:
  | \AuthWebApp.war\noauth\login.page.xml
  | \AuthWebApp.war\noauth\login.xhtml
  | 
Right, so your view pages are not in the root of the war (as they are in some 
of the Seam example apps), I'm speculating that might be part of the problem.
anonymous wrote : 
  | I think you should place the page.xml files next to the xhtml. 
  | 
Yup, that's what I initially had:

\WebApp.war\Foo.xhtml
\WebApp.war\Foo.page.xml

No succes.

anonymous wrote : 
  | You should determine what's wrong in your configuration.
  | You can debug the Pages.java to see what is wrong. See Pages.createPage()

Yeah, that's what I described in the previous posts. The debugging showed that 
Pages.java tries to load Foo.page.xml, but Resources.java fails loading it (it 
has several strategies to load external resources which all fail). It does work 
when I patch Pages.java to search for the files in /WEB-INF explicitly (as it 
does to lookup pages.xml). But, that's not really a solution since I'd have to 
run a patched version of Seam. I'm just stumped that the page.xml files cannot 
be loaded when they are in the root of the webapp, alongside  the xhtml files.

Thanks for your help though! 

Oh, one more thought: may be my servlet container precludes access to these 
files? Though facelets can freely load the xhtml files in the same location, so 
I doubt it...

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

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


[jboss-user] [JBoss Seam] - Re: Seam Gen

2007-07-30 Thread mrohad
well

1st in the insert/update/read(table columns) I would take the columns names 
from the DB table column comment(it's will be much easier for different 
languages)

2nd i am not sure how but some of the foriegn keys pointing on  codes tables 
and should look like a drop down list in update/create screens
for example status table or  list of cities table..


don't you agree?

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

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


[jboss-user] [JBossCache] - Re: newbie question - ReplicationException

2007-07-30 Thread [EMAIL PROTECTED]
This is something that can happen with pessimistic locking, and part of the 
motivation to develop an optimistic locking solution.

I'd recommend trying optimistic locking.

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

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


[jboss-user] [JBossCache] - Re: Can Windows Network Load Balancing(NLB) Service and JGro

2007-07-30 Thread [EMAIL PROTECTED]
It seems as though you do have a JGroups instance bound to your virtual IP 
though.  Do you set your bind address on both JBoss AS instances?

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

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


[jboss-user] [JBossCache] - Re: JBoss Cache 1.4.1 SP3 | NodeLockingScheme

2007-07-30 Thread [EMAIL PROTECTED]
Some of your data versioning exceptions look like expected optimistic 
collisions.  

All the same, I would try 1.4.1.SP4 as it does contain quite a few enhancements 
to the optimistic validation codebase.



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

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


[jboss-user] [JBossCache] - Re: java.lang.UnsupportedOperationException: TreeCache is a

2007-07-30 Thread [EMAIL PROTECTED]
You need to set your cache strategy to transactional to use JBoss Cache

http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#performance-cache-transactional


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

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


[jboss-user] [JBossCache] - Re: JBoss Cache 1.4.1 SP3 | Eviction Policy

2007-07-30 Thread [EMAIL PROTECTED]
Eviction only removes nodes from memory.  It will still exist in the cache 
loader (db in your case).



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

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


[jboss-user] [JBossCache] - Re: Potential Deadlock - 1.4.1.SP3 and BoundedLinkedQueue

2007-07-30 Thread [EMAIL PROTECTED]
5 seconds isn't really that excessive at all if the thread has entries to 
process in the queue every time.  Depends on the kind of activity you see in 
the cache, really.  I know of use cases that set this to 1 second and even have 
requests to be able to specify this param in millis.



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem installing JBoss 4.2.1 on a virtual server (process

2007-07-30 Thread demetrio812
Hi,
I managed to install JBoss AS 4.2.1GA in a virtual server. 
It works when I run it but after a bit of time (generally 1 hour) it is killed, 
I don't know why (in log file there is nothing explaining why)

I have limitation on ports so I changed the working ports modifying server.xml 
file (is it a problem?).

Also I had a problem starting with -server -Xms128m -Xmx512m options so I 
disabled for now (maybe too few memory?)

How can I identify why it is killed? I checked system logs but I didn't find 
anything...

Can someone help me finding a solution? it's very important...

Thank you

Demetrio Filocamo
([EMAIL PROTECTED])


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

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


[jboss-user] [JBoss Seam] - Re: Page action not called

2007-07-30 Thread wise_guybg
Apart making modifications to the Pages class, have you tried putting a .xhtml 
and a .page.xml in a folder inside the root. Like my noauth. Just to be sure 
that you have exactly localized the problem. If this works and putting them in 
root doesn't then I consider this a bug.

I have tested the opposite, on my deploy. Seam correctly found 
AuthWebApp.war\error.page.xml in my root folder. It was processed by the Pages 
class.

What version of Seam are you actually using? Mine is 2.0.0.BETA1.

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

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


[jboss-user] [JBossWS] - Re: Change port in generated wsdl

2007-07-30 Thread dunks80
Looks like all you have to do is comment out the jboss.bind.address in the 
jboss-beans.xml file and the address will automatically be rewritten

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

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


[jboss-user] [JBoss jBPM] - createTaskInstance results in null token

2007-07-30 Thread holly77
I got an ActionHandler that is creating a TaskInstance dynamically.
I tried this in several ways. E.g.:


  | public void execute(ExecutionContext executionContext) throws Exception 
{
  | Token token = executionContext.getToken();
  | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance();
  | Task task = tmi.getTaskMgmtDefinition().getTask(someTask);
  | executionContext.setTask(task);
  | TaskInstance ti = tmi.createTaskInstance(task, 
executionContext);
  | executionContext.setTaskInstance(ti);
  | ti.start();
  | }
  | 

My problem is, that no matter which why I tried to create a TaskInstance the 
associated Token, TaskMgmtInstance, Create and Start Date are NULL.

Anybody got a clue, what I'm doing wrong?

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

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


[jboss-user] [JBoss Seam] - Re: Access Seam Component from Servlet Filter in JSF Request

2007-07-30 Thread wadahiro
Thank you for your advice.

I made a custom filter that is called inside the Seam context filter.
Although Contexts access that is called before doFilter method of
next filter is successful, the access that is called after doFilter method
cause IllegalStateException because of No active Contexts.

It seems that SeamPhaseListener already destroy Contexts after render response,
so my custom filter can't access the Contexts.

How do I access to Contexts after doFilter method?


My sample code is as follows.

custom filter code is:


  | @Startup
  | @Scope(ScopeType.APPLICATION)
  | @Name(filtertest)
  | @BypassInterceptors
  | @Filter(within = org.jboss.seam.web.contextFilter)
  | public class FileterTest extends AbstractFilter {
  | 
  | public void doFilter(ServletRequest arg0, ServletResponse arg1,
  | FilterChain arg2) throws IOException, ServletException {
  | String s = Interpolator.instance().interpolate(#{cookie});
  | System.out.println(s);
  | arg2.doFilter(arg0, arg1);
  | }
  | 
  | }
  | 

and WEB-INF/components.xml is:


  | web:context-filter /
  | 

and console log is:


  | 17:13:14,218 INFO  [STDOUT] [Ljavax.servlet.http.Cookie;@7baddd
  | 17:13:14,250 ERROR [ContextualHttpServletRequest] ended request due to 
exception
  | java.lang.IllegalStateException: No active event context
  | at org.jboss.seam.core.Manager.instance(Manager.java:235)
  | at 
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:48)
  | at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:39)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:595)
  | 17:13:14,250 ERROR [ExceptionFilter] handling uncaught exception
  | javax.servlet.ServletException: java.lang.IllegalStateException: No active 
event context
  | at 
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:67)
  | at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:39)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 

[jboss-user] [JBoss Seam] - Re: Page action not called

2007-07-30 Thread wise_guybg
Do not consider /WEB-INF as a repository for the *.page.xml As you have 
probably seen the Pages class gets the configuration file's name like this
String resourceName = replaceExtension(viewId, .page.xml);

It should really be next to the .xhtml file. After all this is the idea behind 
this feature, to have the configuration next to the source file. Not in a 
single really big repository location.

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

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


[jboss-user] [JBoss Seam] - protected setter for a business key ?

2007-07-30 Thread c_inconnu
Hi,

I'd like to have a class like that :


  | @Entity
  | public class MyUser
  | extends XXX
  | {
  | private String login;
  | 
  | protected MyUser()
  | {
  |  // used by EJB3
  | }
  | 
  | public MyUser(String login)
  | {
  | this.setLogin(login);
  | }
  | 
  | public String getLogin()
  | {
  | return this.login;
  | }
  | 
  | protected void setLogin(String login)
  | {
  | this.login = login;
  | }
  | }
  | 

ie. the setter for the immutable business key (login) is NOT public, which 
seems to be a good practice to me.

But in a user creation form, Seam requires the setter to be public in order to 
use #{user.login}. Is there some nice way to achieve this kind of encapsulation 
?

Thanks,

David

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

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


[jboss-user] [JBoss Seam] - Re: How to skin s:link using a4j skin.properties

2007-07-30 Thread jbuechel
Actually i don't wanna implement my own render-kit. 

Ok, just thought maybe seam supports this skin stuff somehow..
So, i'll go on with that forum and hope for answer..

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

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


[jboss-user] [JBoss Seam] - Re: protected setter for a business key ?

2007-07-30 Thread wise_guybg
I like the kind of encapsulation that you have showed but I think it does not 
correspond to the EJB standard. Maybe it can be used in custom classes.

You really brake a lot of frameworks if you try to make the thing you showed in 
your code. I don't think Seam can help you if you do not cooperate with him, I 
mean if you do not stick to standards.

I would be surprised if Seam provides a solution for this tweak.

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

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


[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

2007-07-30 Thread wolfc
Caused by: java.lang.NullPointerException
  | at com.statinfo.stat.data.EjbLocator.find(EjbLocator.java:66)
Client injection is not supported in AS 4.2.

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

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


[jboss-user] [JBoss Seam] - Re: Help: Seam on Weblogic 10

2007-07-30 Thread [EMAIL PROTECTED]
Actually, the Unmarshaller error can be fixed by updating the XML namespace 
declaration in persistence.xml file to strict spec compliance. You will also 
need the latest Hibernate (not the one bundled with 1.2.1) in order to find 
resources in a WebLogic 10 EAR.

But even after that, I encountered some reflection errors when trying to run 
the JPA example although I was able to get the Hibernate2 example running. I 
can email this stuff offline to you if you are interested in investigating this 
and help us with the WL10 port. :)

cheers
Michael

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

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


[jboss-user] [JBoss Seam] - Re: login logout options

2007-07-30 Thread caye
I have been working with it and the login works perfectly with the solution 
that Ricardo gave me (thanks a lot!), but the logout is a little bit more 
difficult, it looks like its impossible to persist the object if i try to do it 
using the org.jboss.seam.preDestroyContext.SESSION. I have been reading one 
post of you Ricardo and it seems that you fixed making a stateless session bean 
and changing the entityManager to @PersistenceContext instead of @In.

But for me i dont know why doesn't work, is it possible to check out somewhere 
the events that occur when someone login/out? Then i can try to use the 
@Observer that seems a better way

This is the code:

components.xml

event type=org.jboss.seam.preDestroyContext.SESSION
  | action 
expression=#{userHandler.setLogoutDate(authenticatedUser)}/
  | /event

UserHandler

public void setLogoutDate(CustomUser user) {
  | int numberDates = 
user.getUserstatistics().getLoginDates().size();
  | CustomDate loginDates = 
user.getUserstatistics().getLoginDates().get(numberDates-1);
  | em.merge(loginDates);
  | loginDates.setLoggedOut(new Date());
  | Date timeBetween = new Date();  
timeBetween.setTime(loginDates.getLoggedIn().getTime()-loginDates.getLoggedOut().getTime());
 
  | loginDates.setTimeBetween(timeBetween);
  | em.persist(loginDates);
  | em.flush();
  | log.info(User logged out at 
+loginDates.getLoggedOut().toString());   
  | }

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

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


[jboss-user] [JBoss Seam] - Re: Best Seam Development Environment? (Switch from MC to EJ

2007-07-30 Thread wise_guybg
anonymous wrote : I really don't want to restart the container every time i 
change a *xhtml file

You should run you application from an exploded folder. For my AuthApplication 
I have a folder named AuthApplication.ear

Inside there is META-INF, AuthEJB.jar (exploded folder), AuthWebApp.war 
(exploded folder) and libraries. Note: There was a thread in this forum that 
said that the libraries can be moved inside a /lib folder according to the 
latest specs. This way you can skip declaring them in the web.xml

With this structure, every modification to a resource file in the 
AuthWebApp.war folder is applied directly to the application without 
redeployment. 

Currently I'm using an evaluation copy of IntelliJ IDEA which automatically 
deploys my application upon server start through a run configuration. The log 
states: 
anonymous wrote : [EARDeployer] Init J2EE application: 
file:/D:/AuthProject/exploded/AuthApplication.ear/

I think the whole project structure I showed here is guided by IntelliJ. I 
think it can be moved to Ant/Maven build without a problem.

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

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


[jboss-user] [JBoss jBPM] - Re: can't finished my task

2007-07-30 Thread galvino
i am working for find this issue.
i think problem is on the connection with the database or the deployment.

this is my process:


  | 
  | ?xml version=1.0 encoding=UTF-8?
  | 
  | process-definition xmlns=urn:jbpm.org:jpdl-3.1  name=holiday-request
  | 
  | 
  | swimlane name=participant
  | assignment expression=user(ernie)/assignment
  | /swimlane
  | 
  | swimlane name=rh
  | assignment expression=user(martin)/assignment
  | /swimlane
  | 
  | 
  | start-state name=enter request
  | task name=request entry
  | assignment class=ErnieAssignment/assignment
  | controller
  | variable access=read,write 
name=start_date/variable
  | variable access=read,write 
name=duree/variable
  | /controller
  | /task
  | transition to=evaluate request/transition
  | /start-state
  | 
  | 
  | task-node name=evaluate request
  | task name=request evaluation duedate=
  | assignment class=MartinAssignment/assignment
  | controller
  | variable access=read name=start 
date/variable
  | variable access=read name=duree/variable
  | variable access=read name=info/variable
  | variable access=read,write 
name=decision/variable
  | /controller
  | /task
  | transition to=give additionnal info name=more info 
needed/transition
  | transition to=end name=approve/disapprove/transition
  | /task-node
  | 
  | task-node name=give additionnal info
  | task name=additional info entry
  | assignment class=ErnieAssignment/assignment
  | controller
  | variable access=read name=start 
date/variable
  | variable access=read name=duree/variable
  | variable access=read,write 
name=info/variable
  | /controller
  | /task
  | transition to=evaluate request/transition
  | /task-node
  | 
  | 
  | end-state name=end/end-state
  | 
  | 
  | /process-definition
  | 

And i have same error when i want use processInstance.signal()

like this:

  | ProcessDefinition processDefinition=graphSession.getProcessDefinition(2);
  | 
  | //creation d'une nouvelle instance de processus 
dans la base
  | ProcessInstance processInstance=new 
ProcessInstance(processDefinition);
  | Token token=processInstance.getRootToken();
  | token.signal();
  | 
  | //creation d'une nouvelle instance de tache 
pour l'étape initiale
  | TaskInstance  
taskInstance=processInstance.getTaskMgmtInstance().createStartTaskInstance();
  | 
taskBean.setTaskInstanceId(taskInstance.getId());
  | 
  | 

i dont know why .

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

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

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


[jboss-user] [JBoss Seam] - Re: Need help with Timer in Seam application

2007-07-30 Thread nhieb
Thanks for responses!
Seam 
Created-By: 1.5.0_07-87 (Apple Computer, Inc.)
Seam-Version: 1.2.1.GAImplementation-Version: 1.2.1.GA

Also, wise_guybg, you are correct about the  org.jboss.seam.notLoggedIn 
component in components.xml/ Howerver, removing that doesn't solve the problem. 
It throws NotLoggedInExcpetion while trying to load the entity. The funny thing 
i noticed is the following.
If i load an entity that doesn't have a collection (lazy fetch type), the 
entity is loaded fine. but when i am trying to get entity with collections, the 
excpetion is thrown. Even the authentification in method doesn't solve that 
problem
Identity identity = new Identity();
  | identity.setUsername(TEST_USERNAME);
  | AuthenticatorImpl authenticator = new AuthenticatorImpl();
  | authenticator.setIdentity(identity);
  | authenticator.setEntityManager(em);
  | authenticator.setLog(Logging.getLog(Authenticator.class));
  | authenticator.authenticate();
  | authenticator.setActor(new Actor());
I have a temproraily fix -getting the properties this way
Query query= em.createQuery
  | (select new map(r.id as id, r.amount as amount, 
r.createdDate as created,  +
  |  r.dueDate as due, r.reference as reference, r.status as 
status, r.createdBy as who)  +
  |  from WireTransferRequest r where r.dueDate = :beginDate 
and  r.dueDate  = :endDate+
  |  and r.status:status )
  | .setParameter(beginDate, beginDate)
  | .setParameter(endDate, endDate)
  | .setParameter(status, Status.TRANSMITTED);
and then creating objects and setting the pulled properties, but still 
wondering if there is a nice fix for that

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

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


[jboss-user] [Security JAAS/JBoss] - Re: @RolesAllowed not working in EJB3

2007-07-30 Thread Ken from Mera
Hello, does anyone use JBoss? :-/

I am experiencing the same problem with JBoss 4.2.0.GA. What is wrong?

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

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


[jboss-user] [EJB 3.0] - Re: Entity EJB on a client - Best Practices

2007-07-30 Thread waynebaylor
what's the entity code look like? have you tried using eager fetching?

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

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


[jboss-user] [JBoss Seam] - Re: Page action not called

2007-07-30 Thread Sammy8306
wise_guybg wrote : Apart making modifications to the Pages class, have you 
tried putting a .xhtml and a .page.xml in a folder inside the root. Like my 
noauth. Just to be sure that you have exactly localized the problem. If this 
works and putting them in root doesn't then I consider this a bug.
  | 

Tried it, but it doesn't work, file is not processed.

anonymous wrote : 
  | What version of Seam are you actually using? Mine is 2.0.0.BETA1.
  | 

I'm using 1.2.1GA, may be I'll give the beta a try as well...

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

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


[jboss-user] [JBoss Messaging] - DL(Q) Reason

2007-07-30 Thread aslak
I've got a MDB listening on the DLQ for handling the dead messages.
But I can't find any info on the message beyond the original id and original 
destination.

I guess I'm looking for the 'DL Reason', ie:
 - Exception from the container/MDB if any (might be multiple if redelivered)
 - Controlled rollback

Am I missing something, or is this a feature request?

-aslak-




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

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


[jboss-user] [EJB 3.0] - Re: BMT does not work the expected way.

2007-07-30 Thread waynebaylor
Technically it just needs to support the EntityManager, not the method of 
retrieving it.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Gen

2007-07-30 Thread mrohad
I'm trying to change the template to take the column comment from the DB 
instead of the column name

I found the line I've to change:
ui:define name=label${componentProperty.name}/ui:define
but what is componentProperty , how can I retrieve the comment?

thanks!

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

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


[jboss-user] [Testimonials] - JBOss Mogration : Incompatible object argument for function

2007-07-30 Thread prakash.dumbre

I am migrating my application from weblogic 7.2 to Jboss 4..0.5. we  have 
written startup class which initializes caching at serverstartup. We have 
written one servlet to initialize startup class and  that servlet will be  
loaded at  server startup.  In the startup class we have startup method and in 
the startup method following methods are executed

In the log file upto System.out.println(Cedera Startup Configuration 
Service and Logging initialized here); everything is printed , but after this 
statement when we are calling 
OrderStateMachine.getInstance();
System.out.println(Cedera Startup Workflow initialized);

This System.out.println(Cedera Startup Workflow initialized); is not 
printed in the log which indicates that error is there in the getInstace() 
method.

But can anybody will tell me the exact cause of the  exception and suggest me 
the solution.

Exception

Jul 30 15:42:06.588 INFO  [localhost].[/]  () - Marking servlet 
StartCaching as unavailable
Jul 30 15:42:06.588 ERROR [localhost].[/]  () - Servlet  threw load() 
exception
java.lang.VerifyError: (class: com/x/server/workflow/OrderStateMachine, 
method:  signature: ()V) Incompatible object argument for function call
at com.x.server.startup.ServerStartup.startup(ServerStartup.java:85)
at com.x.server.startup.StartCaching.(StartCaching.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)


Regards
prakash

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

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


[jboss-user] [JBoss Portal] - Extending Jboss portal users

2007-07-30 Thread acidbird
Hello,

I'd like to extends the Jboss portal user mechanism (adding some field, some 
Event, etc ...) Is there any doc or example related to this subject ?

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

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


[jboss-user] [JBoss Seam] - Re: Seam Gen

2007-07-30 Thread atao
About your first point, I'm not sure it's the best way to get a customized 
label. 
The comment must remain a comment, e.g. some thing to be use in a popup window.

I'd rather get the column name as something immutable and use it to retrieve an 
i18n message. 

As example you can see the patch I proposed for i18n in seam-gen, cf. 
http://jira.jboss.com/jira/browse/JBSEAM-1206

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - war file exploded in tmp folder

2007-07-30 Thread m_bojarski
Hi I am using JBoss 4.2.0GA. When i copy/paste a WAR file into the 
server/default/deploy directory, the JBoss server explodes it into 
server/default/tmp/deploy directory. When i try to access my application via 
web browser, it goes to the default page as specified in web.xml, but cannot 
seem to find any servlets that are mapped in web.xml. I get a 404 resource not 
found error. I am not using any jboss specific xml description files in my 
WEB-INF or META-INF folder within the WAR file. I am just wondering if this tmp 
folder where the WAR is being expanded is responsible for the servlets not 
being found. They are all mapped correctly in web.xml. Any help would be 
appreciated.

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

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


[jboss-user] [JBossWS] - org.jboss.xb.binding.JBossXBRuntimeException: Neither getter

2007-07-30 Thread sneha_munnangi
Hi  , 
Iam developing webservice using Jbossws.
I have a problem acessing webservice methods.
All the methods return a type of string or void.
These  methods when invoked gives me the following exception :


17:48:21,080 ERROR [SOAPFaultExceptionHelper] SOAP request exception
javax.xml.rpc.JAXRPCException: Cannot create or send response message
at 
org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:311)
at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:236)
at 
org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
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:534)
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Neither getter nor 
field where found for defaultAssertionStatus in class java.lang.ClassL
at 
org.jboss.xb.binding.MappingObjectModelProvider$FieldToElementMapping.(MappingObjectModelProvider.java:368)
at 
org.jboss.xb.binding.MappingObjectModelProvider.mapFieldToElement(MappingObjectModelProvider.java:71)
at 
org.jboss.ws.jaxb.JAXBMarshallerImpl.marshal(JAXBMarshallerImpl.java:149)
at 
org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:100)
at 
org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:172)
at 
org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:844)
at 
org.jboss.ws.soap.SOAPContentElement.getChildNodes(SOAPContentElement.java:761)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:211)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270)
at org.jboss.util.xml.DOMWriter.print(DOMWriter.java:186)
at org.jboss.util.xml.DOMWriter.printNode(DOMWriter.java:135)
at 
org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:305)


Any help on this would be really helpful and highly appreciated.

Thanks in advance
--sneha

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

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


[jboss-user] [JBoss Portal] - Setting HTML title from portal components

2007-07-30 Thread explorer
Can some one help me out in how we can set the HTML page title from any of the 
portal components, Statically/Dynamically.

Thanks in advance.

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

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


[jboss-user] [JBoss Messaging] - OutOfMemory Problem for JBM 1.0.1.SP5

2007-07-30 Thread Craig2007
With JBoss 4.0.4.GA and JBM 1.0.1.SP5  we were testing messaging with publisher 
and receivers.

We used Message with content of 1.4 MB.

Heap Size of JBoss Server was kept with Min of 32mb and Max of 128mb

We also used PageSize, FullSize and DownCacheSize for a topic to which we are 
posting the message .

FullSize configured to 20
PageSize configured to 15
DownCacheSize configured to 5

Here we just subscribed for the message from two machine and then we switched 
off receiver.( we have durable scubscription from two machine )

Then publisher is allowed to publish the data , after certain limit, JBoss 
server memory went out of Memory.

Currently we have JDK 1.4.2 in Prod environment and we are not in position to 
upgrade to JDK 1.5 in prod environment due to various constraints to use JBM 
1.4.0

Kindly provide a solution to overcome the OutOfMemory error at JBoss Server 
side.

Reply would be very much appreciated

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

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


[jboss-user] [JBoss Portal] - Re: Necessary or example portal

2007-07-30 Thread anders3
That is a good questioin
I have the same problem
1) Each time I upgrade to a newer version of the portal I have to drop all 
tables
2) I would like to have no default portal as well.

/Anders

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

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


[jboss-user] [JBoss AOP] - Re: AOPC exception

2007-07-30 Thread ericn
OK, I added this as a bug.  Here is the bug for reference:
http://jira.jboss.com/jira/browse/JBAOP-451

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

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


[jboss-user] [JBoss Portal] - CMSAdminPortlet - Access Denied

2007-07-30 Thread nidhi_hs
I am referring to the CMSAdminPortletInstance in *-object.xml file as below

  if-existsoverwrite/if-exists
  parent-refCMSAdminPortal/parent-ref
  
 page-nameCMS/page-name
 ..
window-nameCMSPortletWindow/window-name
instance-refCMSAdminPortletInstance/instance-ref
 ..
  

I always get Access Denied even though the security for CMSAdminPortletInstance 
is UnChecked (verified under PortletInstances tab). However it works fine when 
I log in as Admin.

My requirement is to define a new role and assign a user to that role, for 
example CMS Adminsitrators . I want that user to manage the CMS content only 
and nothing else. 

Please guide me on this. 

Regards
Srinidhi



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

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


[jboss-user] [JBoss Portal] - Re: Necessary or example portal

2007-07-30 Thread [EMAIL PROTECTED]
if you have nothing in the database:
modify jboss-portal.sar/conf/default-object.xml which creates the default 
portal.

Otherwise use the management portlet to delete the default portal and create a 
new portal called default.

Good practice is that as long as you can:
- Use the javax.portlet.* classes
- Use the org.jboss.portal.api.* classes
- Use and modify jboss-portal.sar/conf

That's what is planned to stay in the long term.

The schema hasn't changed between 2.6.0 and 2.6.1 you shouldn't have to drop 
the tables.

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

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


[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

2007-07-30 Thread jfheintz
Can you explain a little more please?

In my EjbLocator class, I use 

@PersistenceContext(unitName=StatInfoUnit)
private EntityManager manager;  

public  T find(Class ejb3Class, Object id) {
return manager.find(ejb3Class, id);
}

How should I do?

Thanks

JFH

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

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


[jboss-user] [JBoss AOP] - Re: AOPC exception

2007-07-30 Thread [EMAIL PROTECTED]
Thanks, Eric!

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

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


[jboss-user] [EJB 3.0] - Re: BMT does not work the expected way.

2007-07-30 Thread wolfc
From the same paragraph:
anonymous wrote : In less common use cases within Java EE environments, 
applications may need to access a persistence context that is 
?stand-alone??i.e. not propagated along with the JTA transaction across the 
EntityManager references for the given persistence unit.
  | 
Never tried it like you have, but committing your JTA transaction doesn't make 
much sense.
Try em.joinTransaction() or em.getTransaction().commit().
Lets see what happens.

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

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


[jboss-user] [JBoss Portal] - Re: CMSAdminPortlet - Access Denied

2007-07-30 Thread [EMAIL PROTECTED]
Srinidhi-

For the CMS Admin tool, use the CMS Admin tool Security Console to provide 
access to nodes in the CMS.

Here is some information to get you started:

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


The functionality is available via the Secure function in the Drop Down 
Actions Menu of the CMS Admin Tool

Thanks

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

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


[jboss-user] [JBoss jBPM] - jBPM jPDL GPD 3.1.0 beta2 released

2007-07-30 Thread [EMAIL PROTECTED]
Just to inform you guys that I did this release yesterday. 

It fixes a number of bugs and reintroduces Seam pageflow. As you already know, 
the complete jPDL language is supported now. 

You can help us by trying it and providing us with your valuable comments and 
remarks. Download the plugin here: http://labs.jboss.com/jbossjbpm/downloads.

Have fun,
Koen

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Sequential processing of messages with the same Key

2007-07-30 Thread [EMAIL PROTECTED]
mzeijen wrote : 
  | Is this solution only based on JBoss MQ or is this the general solution? 
Does the JBoss Messaging give me more possibilities?

It's just the JMS spec, at no point are any features specific to JBossMQ used.

I know JBoss Messaging tries harder than JBossMQ to solve the ordering problem 
for NACKed messages.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Update to jdk 1.5.0_12 causes package does not exists in sar

2007-07-30 Thread eagnes
I have jboss 4.0.1sp1 running under jdk 1.5.0_06. When I update to jdk 1.5.0_12 
(ou 11), my ear application don't find a package in the sar or har file. The 
error occurs in jsp file compilation:

anonymous wrote : 2007-07-30 11:08:23,816 ERROR 
[org.apache.jasper.compiler.Compiler] Error compiling file: 
/D:/Desenv/jboss-4.0.1sp1/server/local/work/jboss.web/localhost/app//org/apache/jsp/decorators\default_jsp.java
 [javac] Compiling 1 source file
  | 
  | 
D:\Desenv\jboss-4.0.1sp1\server\local\work\jboss.web\localhost\app\org\apache\jsp\decorators\default_jsp.java:6:
 package com.app.model.beans does not exist
  | import com.app.model.beans.Constants;
  |  ^
  | Note: 
D:\Desenv\jboss-4.0.1sp1\server\local\work\jboss.web\localhost\app\org\apache\jsp\decorators\default_jsp.java
 uses unchecked or unsafe operations.
  | Note: Recompile with -Xlint:unchecked for details.
  | 1 error
  | 

My applications:
app.ear
|-app.jar
|-app.war

app.sar

Sorry for english...

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

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


[jboss-user] [JBoss Seam] - Re: Seam Gen

2007-07-30 Thread mrohad
sounds great , will it work with Seam 2beta?
what do u think about my 2nd point?

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

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


  1   2   3   >