[jboss-user] [JBoss Messaging] - Re: MaxDeliveryAttempts not working

2009-07-29 Thread mariuszs
Ok, thanks. I think I should use MaxTimesRedelivered in standardjboss.xml.

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

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


[jboss-user] [JBoss Messaging] - Re: MaxDeliveryAttempts not working

2009-07-29 Thread mariuszs
The documentations simple say:

anonymous wrote : 5.6.2.1.6. MaxDeliveryAttempts
  | 
  | The maximum number of times delivery of a message will be attempted before 
sending the message to the DLQ, if configured. If set to -1 (the default), the 
value from the ServerPeer config is used. Any other setting overrides the value 
set on the ServerPeer config. 

Setting DefaultMaxDeliveryAttempts  in ServerPeer configuration to high value 
also not work. 

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

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


[jboss-user] [JBoss Messaging] - Re: MaxDeliveryAttempts not working

2009-07-29 Thread mariuszs
"ataylor" wrote : From the log message it looks like its the JCA layer thats 
sending to the DLQ not JBM. You're MDB config is probably incorrect.
  | 
  | The JCA or App server forums should be able to help you or take a look at 
the MDB docs.
Im using default configuration, so the default configuration in jboss501 is not 
working?

  | 
  | -1
  | 
  | 30
  | 
  | 10

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | jboss.messaging:service=ServerPeer
  | jboss.messaging:service=PostOffice
  | 
  | true
  | 

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

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


[jboss-user] [JBoss Messaging] - MaxDeliveryAttempts not working

2009-07-27 Thread mariuszs
MaxDeliveryAttempts value defined is destinations-services for my Queue is not 
working. I have MaxDeliveryAttempts=100 but there is in logs

2009-07-27 11:46:52,735 252490342 WARN 
[org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler]
(WorkManager(2)-60:) Message redelivered=11 max=10 sending it to the dlq 
delegator->JBossMessage[20458449768469361]:PERSISTENT,  deliveryId=11

Im using JBM 1.4.1.GA (JBoss 5.0.1)

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

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


[jboss-user] [JBoss Messaging] - Re: XARecovery: setting the provider name

2009-06-26 Thread mariuszs
I also cant find this, thank you timfox for your fast reply...

Can you create working and error less example of configuring failover for JMS?

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

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


[jboss-user] [JBoss Messaging] - JBoss Messaging Clustering 1.4.x Overview

2009-06-03 Thread mariuszs
http://www.jboss.org/community/wiki/JBMCluster?decorator=print

anonymous wrote : Server Side Failover - It's good to have a buddy watch your 
back
  | 
  | Every peer(node) has a buddy that will pick up all of it's messages if it 
fails.  If a server fails, the buddy will look in the database and recover all 
of it's buddies messages.  This only works for persistent messages.  From the 
docs - "If the node you are connected to fails, you will automatically fail 
over to another node and will not lose any persistent messages. You can carry 
on with your session seamlessly where you left off. Once and only once delivery 
of persistent messages is respected at all times."
  | 
  |  
  | 
  | There are two drawbacks to the buddy system.
  | 
  | 1.  Messages will be stranded if two buddies go down at the same time.
  | 
  | If two nodes go down that are buddies at the same time, one of the buddies 
messages will not be picked up.  For instance, if you have nodes 1, 2, and 3.  
If 3 is a failover node for 2 and 1 is a failovernode for 3, if 2 and 3 goe 
down, 2's messages will be lost, becuase 3 is not there to load 2's messages.  
The messages in Queue 2 will be stranded.
  | 
  | 2.  Clustered queues will only process messages from running nodes.
  | 
  | When running multiple nodes, the nodes need to be up at the same time to 
register with one another in the cluster.  If you bring the nodes up and down 
at different times, the messages will not roll over from node to node.  For 
example.  Bring node 1 up and process messages.  Bring node 1 down.  Bring node 
2 up and process messages.  You will notice that no messages have been pulled 
from node 1, until that node is brought up.  Even though the nodes hit the same 
database, they will only pull the messages for their own peer id, unless they 
are registered as a failover node for another peer and failover occurs.

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

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


[jboss-user] [JBoss Messaging] - Explanation of "Messages will be stranded if two buddies go

2009-06-03 Thread mariuszs
Wiki says:
anonymous wrote : Messages will be stranded if two buddies go down at the same 
time. 
But if one of buddy go up, then message are back? Is this true? Is this true 
for main node and his buddy?

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader puts data but will not get it back from

2009-05-12 Thread mariuszs
https://jira.jboss.org/jira/browse/JBCACHE-1510

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader puts data but will not get it back from

2009-05-12 Thread mariuszs
OK, I found that this is not working too (invalid marker usage)

  | INSERT INTO 
  |   db2jboss.JBOSSCACHE (fqn,node,parent) 
  | SELECT ?,?,? FROM db2jboss.JBOSSCACHE_D WHERE NOT EXISTS (SELECT fqn FROM
  | db2jboss.JBOSSCACHE
  | WHERE fqn = '/Cache')

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

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


[jboss-user] [JBoss Cache: Core Edition] - Restrictions on parameter marker usage

2009-05-12 Thread mariuszs
anonymous wrote : Untyped parameter marker location Data type
  | Expression: Alone in a select list  Error
  | Expression: Both operands of an arithmetic operator Error
  | Predicate: Left-hand side operand of an IN predicateError
  | Predicate: Both operands of a relational operator   Error
  | Function: Operand of an aggregation functionError
http://publib.boulder.ibm.com/infocenter/iwedhelp/v6r0/index.jsp?topic=/com.ibm.db2e.doc/dbeapr0815.html

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader puts data but will not get it back from

2009-05-12 Thread mariuszs
? - parameter marker

I think this is about last ? in subquery. Could we use simpler form of this 
sql, without jbosscache_d involved?

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader puts data but will not get it back from

2009-05-12 Thread mariuszs
This error code mean:
anonymous wrote : A STATEMENT STRING TO BE PREPARED CONTAINS AN INVALID USE
  | OF PARAMETER MARKERS 
  | A parameter marker is not allowed.


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader puts data but will not get it back from

2009-05-12 Thread mariuszs
11:57:29,710 TRACE [NonManagedConnectionFactory] using connection: 
com.ibm.db2.jcc.t...@2fb7b837
  | 11:57:29,710 TRACE [JDBCCacheLoader] Executing SQL statement [INSERT INTO 
jbosscache (fqn, node, parent) SELECT ?, ?, ? FROM jbosscache_D WHERE NOT 
EXISTS (SELECT fqn FROM jbosscache WHERE fqn = ?)]
  | 11:57:29,713 ERROR [JDBCCacheLoader] Failed to insert node :DB2 SQL Error: 
SQLCODE=-418, SQLSTATE=42610, SQLERRMC=null, DRIVER=3.52.95
  | 11:57:29,714 TRACE [NonManagedConnectionFactory] closed non tx connection: 
com.ibm.db2.jcc.t...@2fb7b837
  | 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader puts data but will not get it back from

2009-05-12 Thread mariuszs
Yes, i can. Thx for reply. I found than sql like this
INSERT INTO JBOSSCACHE (FQN,NODE,PARENT) SELECT "/", null, "/" FROM 
JBOSSCACHE_D WHERE NOT EXISTS (SELECT FQN FROM JBOSSCACHE WHERE FQN = "/");
is not workign in db2.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader puts data but will not get it back from

2009-05-12 Thread mariuszs
09:31:16,248 INFO  [ManagementService] >> Cache: JBossCache 'Naga' 3.0.2.GA
  | 09:31:16,287 ERROR [JDBCCacheLoader] Failed to insert node :DB2 SQL Error: 
SQLCODE=-418, SQLSTATE=42610, SQLERRMC=null, DRIVER=3.52.95
  | 09:31:16,289 ERROR [ManagementService] Putting to cache error: 
org.jboss.cache.CacheException: com.ibm.db2.jcc.a.nn: DB2 SQL Error: 
SQLCODE=-418, SQLSTATE=42610, SQLERRMC=null, DRIVER=3.52.95
  | 

I have problem with storing/accessing data from db2. Im using jboss501

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

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


[jboss-user] [Microcontainer] - Re: Deploying JBoss Cache as MBean in microcontainer

2009-04-14 Thread mariuszs
Thanks, I have resolved my problem. Documentation of JbossCache is wrong
anonymous wrote : 5.2. Via JBoss Microcontainer (JBoss AS 5.x)
  | 
  | Beginning with AS 5, JBoss AS supports deployment of POJO services via 
deployment of a file whose name ends with -beans.xml. A POJO service is one 
whose implementation is via a "Plain Old Java Object", meaning a simple java 
bean that isn't required to implement any special interfaces or extend any 
particular superclass. 
After changing -beans.xml to -jboss-beans.xml now I can access my cache ;) 
JBoss Cache folks are bad guys :)


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Depracated CacheJmxWrapperMBean

2009-04-14 Thread mariuszs
Thanks, I readed this doc. So there is no way to declare JMX beans in 
declarative way, only programatic way? If CacheJmxWrapperMBean  is depracated 
then how to get access to cache? Now Im using something like this for access 
cache bean:
anonymous wrote : CacheJmxWrapperMBean  wrapper = 
MBeanServerInvocationHandler.newProxyInstance(
  | server, 
"jboss.cache:service=ExampleTreeCache", CacheJmxWrapperMBean  .class, false);
  | 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Hello World for Dummies

2009-04-14 Thread mariuszs
Good sample, thanks.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Depracated CacheJmxWrapperMBean

2009-04-13 Thread mariuszs
"http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.3.GA/apidocs/org/jboss/cache/jmx/CacheJmxWrapperMBean.html";
 is depracated, so is there any other option for declaring caching beans as JMX 
MBeans?

  |
  |
  |   
@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.cache:service=ExampleTreeCache",
 exposedInterface=org.jboss.cache.jmx.CacheJmxWrapperMBean.class, 
registerDirectly=true)
  |   
  |   
  |   
  |
  | 
How to do this with 
"http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.3.GA/apidocs/org/jboss/cache/jmx/JmxRegistrationManager.html";?

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Problems deploying Cache via MicroContainer following Us

2009-04-10 Thread mariuszs

anonymous wrote : First, contrary to what is stated in the UserGuide, the name 
of deployment file must end with "-jboss-beans.xml", not "-beans.xml". 

THANKS YOU VERY MUCH!

JBoss folks really should be more carefully where are writing such nonsenses in 
docs for beginners

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

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


[jboss-user] [Microcontainer] - Re: How do I get the POJO ?

2009-04-10 Thread mariuszs
Hmm, it is hard to find this information for me. Give me please more advices...

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

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


[jboss-user] [Microcontainer] - Re: Deploying JBoss Cache as MBean in microcontainer

2009-04-10 Thread mariuszs
Stupid question, how to acces cache beans from MBean?

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

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


[jboss-user] [JBossWS] - [JAXB] Problem with generating XML from Schema

2008-02-20 Thread mariuszs
I have sample schema:

  | http://www.test.com/app";
  | xmlns:xs="http://www.w3.org/2001/XMLSchema";
  | xmlns="http://www.test.com/app"; elementFormDefault="qualified"
  | version="1.0">
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Generated objects:
//
  | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) 
Reference Implementation, v2.1.5-b01-fcs 
  | // See http://java.sun.com/xml/jaxb";>http://java.sun.com/xml/jaxb 
  | // Any modifications to this file will be lost upon recompilation of the 
source schema. 
  | // Generated on: 2008.02.20 at 10:25:59 AM CET 
  | //
  | 
  | 
  | package pl.pentacomp.pentascape.da;
  | 
  | import javax.xml.bind.annotation.XmlAccessType;
  | import javax.xml.bind.annotation.XmlAccessorType;
  | import javax.xml.bind.annotation.XmlElement;
  | import javax.xml.bind.annotation.XmlRootElement;
  | import javax.xml.bind.annotation.XmlType;
  | 
  | 
  | /**
  |  * Java class for anonymous complex type.
  |  * 
  |  * The following schema fragment specifies the expected content 
contained within this class.
  |  * 
  |  * 
  |  * 
  |  *   
  |  * 
  |  *   
  |  * 
  |  *   
  |  * 
  |  *   
  |  * 
  |  * 
  |  * 
  |  * 
  |  */
  | @XmlAccessorType(XmlAccessType.FIELD)
  | @XmlType(name = "", propOrder = {
  | "element"
  | })
  | @XmlRootElement(name = "DocSample", namespace = "http://www.test.com/app";)
  | public class DocSample {
  | 
  | @XmlElement(name = "Element", namespace = "http://www.test.com/app";, 
required = true)
  | protected Object element;
  | 
  | /**
  |  * Gets the value of the element property.
  |  * 
  |  * @return
  |  * possible object is
  |  * [EMAIL PROTECTED] Object }
  |  * 
  |  */
  | public Object getElement() {
  | return element;
  | }
  | 
  | /**
  |  * Sets the value of the element property.
  |  * 
  |  * @param value
  |  * allowed object is
  |  * [EMAIL PROTECTED] Object }
  |  * 
  |  */
  | public void setElement(Object value) {
  | this.element = value;
  | }
  | 
  | }
  | 

Java code:

@Test
  | public void testSample() {
  | DocSample doc = new DocSample();
  | doc.setElement(new String("sdsd"));
  | 
  | StreamResult result = new StreamResult(new StringWriter());
  | 
  | JAXBContext jaxbContext;
  | try {
  | jaxbContext = JAXBContext.newInstance(DocSample.class);
  | Marshaller marshaller = jaxbContext.createMarshaller();
  | marshaller.marshal(doc, result);
  | 
  | } catch (JAXBException e) {
  | 
  | e.printStackTrace();
  | }
  | 
  | String response = result.getWriter().toString();
  | 
  | System.out.println(response);
  | 
  | }

And result XML:


  | http://www.test.com/app";>
  | http://www.w3.org/2001/XMLSchema";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  | sdsd
  | 
  | 

Is this XML correct? Why xmlns:xs, xmlns:xsi are assigned to Element, not 
DocSample. Please help.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: The JSF library situation in JBoss explained (it's calle

2007-10-19 Thread mariuszs
Anyone can confirm than this feature (WAR_BUNDLES_JSF_IMPL) is working in 
cluster (with JBoss Portal for example)

I have strange errors:
2007-10-19 09:28:29,628 DEBUG [org.jboss.portal.faces.loader.FacesClassLoader] 
Want to load org.jboss.portal.core.admin.ui.common.PageManagerBean will delegate
2007-10-19 09:28:29,628 DEBUG [org.apache.catalina.loader.WebappClassLoader] 
loadClass(org.jboss.portal.core.admin.ui.common.PageManagerBean, false)
2007-10-19 09:28:29,628 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Searching local repositories
2007-10-19 09:28:29,628 DEBUG [org.apache.catalina.loader.WebappClassLoader]
 findClass(org.jboss.portal.core.admin.ui.common.PageManagerBean)
2007-10-19 09:28:29,628 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Delegating to parent classloader at end: [EMAIL PROTECTED]
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader] 
loadClass(org.jboss.portal.portlet.InvalidPortletIdException, false)
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Searching local repositories
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]
 findClass(org.jboss.portal.portlet.InvalidPortletIdException)
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Delegating to parent classloader at end: [EMAIL PROTECTED]
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Loading class from parent
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader] 
loadClass(org.jboss.portal.portlet.InvalidPortletIdException, false)
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Searching local repositories
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]
 findClass(org.jboss.portal.portlet.InvalidPortletIdException)
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Delegating to parent classloader at end: [EMAIL PROTECTED]
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Loading class from parent
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader] 
loadClass(org.jboss.portal.portlet.InvalidPortletIdException, false)
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Searching local repositories
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]
 findClass(org.jboss.portal.portlet.InvalidPortletIdException)
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Delegating to parent classloader at end: [EMAIL PROTECTED]
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Loading class from parent
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader] 
loadClass(org.jboss.portal.portlet.InvalidPortletIdException, false)
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Searching local repositories
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]
 findClass(org.jboss.portal.portlet.InvalidPortletIdException)
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Delegating to parent classloader at end: [EMAIL PROTECTED]
2007-10-19 09:28:33,284 DEBUG [org.apache.catalina.loader.WebappClassLoader]   
Loading class from parent

...

2007-10-19 09:28:36,081 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]]
 Servlet.service() for servlet PortalServletWithPathMapping threw exception
java.lang.OutOfMemoryError: PermGen space
at java.lang.Throwable.getStackTraceElement(Native Method)
at java.lang.Throwable.getOurStackTrace(Throwable.java:592)
at java.lang.Throwable.printStackTrace(Throwable.java:511)
at 
org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:59)
at 
org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:342)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:304)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at 
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.log(Category.java:853)
at org.jboss.logging.Log4jLoggerPlugin.error(Log4jLoggerPlugin.java:206)
at org.jboss.logging.Logger.error(Logger.java:234)
at 
org.jboss.portal.core.impl.model.content.InternalContentProvider.renderWindow(InternalContentProvider.java:280)
at 
org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.execute(RenderWindowCommand.ja

[jboss-user] [JBoss Seam] - Can not set org.jboss.seam.core.ResourceBundle$1 ???

2007-08-02 Thread mariuszs
I have error with this code:
@In
  | private org.jboss.seam.core.ResourceBundle resourceBundle;
  | 

Error:

Caused by: java.lang.IllegalArgumentException: Can not set 
org.jboss.seam.core.ResourceBundle field pl.package.Bean.resourceBundle to 
org.jboss.seam.core.ResourceBundle$1

What is wrong? How to access java.util.ResourceBundle without method 
org.jboss.seam.core.ResourceBundle.instance()? I

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

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


[jboss-user] [JBoss Seam] - rich:paint2D with Seam

2007-07-19 Thread mariuszs
How to use rich:paint2D in Seam? This tag requires managed beans defined in 
faces-config and dont want to work with seam java  beans :s

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

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


[jboss-user] [JBoss Seam] - Re: Scoping - finding the sweetspot

2007-04-25 Thread mariuszs
you should make somthing like this:

em.remove(em.merge(object));

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

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


[jboss-user] [JBoss Seam] - ICEfaces v1.6.0 DR#3

2007-04-20 Thread mariuszs
Complete support for using ICEfaces with JBoss Seam v1.2.1.
  | Apache MyFaces Tomahawk component integration with ICEfaces applications
  | ICEfaces compatibility with JSF 1.2 runtimes and Facelets.
  | 
  | Sample seam-icefaces app is available.
  | 
  | http://www.icefaces.org/JForum/posts/list/4274.page
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Exporting XML with faceltes

2007-04-02 Thread mariuszs
Thanks for your answer, unfortunatelly, Im using seam + icefaces :(

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

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


[jboss-user] [JBoss Seam] - Re: CRUD framework documentation

2007-04-02 Thread mariuszs
You can define other results (redirections) for diffrent pages, even if outcome 
is equal, ex. persisted.

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

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


[jboss-user] [JBoss Seam] - Exporting XML with faceltes

2007-04-02 Thread mariuszs
How to export XML files (not html or xhtml) using facelts templates etc in Seam?

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

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


[jboss-user] [JBoss Seam] - Nontestable framework

2007-03-26 Thread mariuszs
How to test actions derived from Home or Controller? (transaction problem in 
integration tests)
How to test code with security enabled for entities? (problem in unit tests)
Is exposing object PK for all operations (Crud from Home)  really good and safe 
idea, especially for begginers? 
How to test actions with injected Identity? (MockIdentity is needed!)




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

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


[jboss-user] [JBoss Seam] - Re: Pages.xml navigation and actionListener problem

2007-03-22 Thread mariuszs
hmm, maybe this is another seam bug? 

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

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


[jboss-user] [JBoss Seam] - Re: optimistic locking - exception handling

2007-03-02 Thread mariuszs
You have: anonymous wrote : java.lang.NoClassDefFoundError: 
com/sun/facelets/el/LegacyELContext , so you need el jars in ejb3 and webapp 
module. Put this in ear.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024614
___
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 released

2007-03-01 Thread mariuszs
pages.xml ending conversation is broken with 1.2, only works with plain 
navigation.xml!


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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam + SunRI

2007-02-28 Thread mariuszs
Ok, with facelets this is not necessary. Look at page: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamWithJSF1.2

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam + SunRI

2007-02-28 Thread mariuszs
I think JSF1.2 requires JEE 5 (JBoss 5)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023662
___
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 released

2007-02-28 Thread mariuszs
I think you should  use latest stable version (1.2.0.GA). Im using with success 
 1.2.0.GA + EJB 3.0 RC9 Patch 1.

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

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


[jboss-user] [JBoss Seam] - NPE in ConversationEntry with exceptions

2007-02-28 Thread mariuszs
Seam 1.2.0, ICEFaces 1.5.3, JBoss 4.0.5

I have:


  | 
  | Not found
  | 
  | 

When exception happend I have error:

Caused by: javax.persistence.EntityNotFoundException:...

...

10:33:29,921 ERROR [[Blocking Servlet]] Servlet.service() for servlet Blocking 
Servlet threw exception
java.lang.NullPointerException
at org.jboss.seam.core.ConversationEntry.(ConversationEntry.java:44)
at 
org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50)
at org.jboss.seam.core.Manager.createConversationEntry(Manager.java:649)
at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:796)
at org.jboss.seam.core.Manager.redirect(Manager.java:982)
at org.jboss.seam.core.Navigator.redirect(Navigator.java:45)
at 
org.jboss.seam.exceptions.RedirectHandler.handle(RedirectHandler.java:45)
at org.jboss.seam.core.Exceptions.handle(Exceptions.java:70)
at 
org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:91)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
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(Unknown Source)

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

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


[jboss-user] [JBoss Seam] - Re: Unable to authenticate in 1.1.7RC1 : is it a regression?

2007-02-26 Thread mariuszs
Im using @In for Identity and this works for me very good.

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

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


[jboss-user] [JBoss Seam] - Re: Feature request - @InOut

2007-02-21 Thread mariuszs
Maybe @Bi is better ;)

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

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


[jboss-user] [JBoss Seam] - Re: @LoggedIn at the method level

2007-02-21 Thread mariuszs
You should use: @Restrict("#{identity.loggedIn}")

This work on TYPE and METHOD level.

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

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


[jboss-user] [JBoss Seam] - Re: SeamTest setField work diffrent than Seam.

2007-02-14 Thread mariuszs
My workaround dont work. The patch for this method is attached to jira
http://jira.jboss.org/jira/browse/JBSEAM-846

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

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


[jboss-user] [JBoss Seam] - SeamTest setField work diffrent than Seam.

2007-02-14 Thread mariuszs
   
  |protected void setField(Object object, String fieldName, Object value)
  |{
  |   try
  |   {
  |  Field declaredField = 
object.getClass().getDeclaredField(fieldName);
  |  if ( !declaredField.isAccessible() ) 
declaredField.setAccessible(true);
  |  declaredField.set(object, value);
  |   }
  |   catch (Exception e)
  |   {
  |  throw new IllegalArgumentException("could not set field value: " + 
fieldName, e);
  |   }
  |}
  | 

But in Seam, there is (Iteration over class hierarchy):

  |private void initMembers(Class clazz, Context applicationContext)
  |{
  |   ...
  |   List selectionFields = new ArrayList();
  | 
  |   for (;clazz!=Object.class; clazz = clazz.getSuperclass())
  |   {
  | ...
  | 
  |  for (Field field: clazz.getDeclaredFields())
  |  {
  | 
  | }
  | }
  | 
  | 
  | 
  | 

We have problem, because we have @In parameter in superclass. SeamTest cant 
setField for this parameter.

Workaround probably is to make something like: setField((Superclass) bean, "x", 
value); ;)
but this is very ugly 


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

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


[jboss-user] [JBoss Seam] - Re: NPE in SeamSecurity (getCookieValue(Selector.java:59))

2007-02-12 Thread mariuszs
This is not working in CVS now:

FAILED: testLogin
java.lang.NullPointerException
at 
org.jboss.seam.mock.MockExternalContext.getRequestCookieMap(MockExternalContext.java:181)
at org.jboss.seam.core.Selector.getCookieValue(Selector.java:59)
at org.jboss.seam.security.Identity.initCredentialsFromCookie(Identity.java:91)
at org.jboss.seam.security.Identity.create(Identity.java:85)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
at org.jboss.seam.Component.callComponentMethod(Component.java:1835)
at org.jboss.seam.Component.callCreateMethod(Component.java:1783)
at org.jboss.seam.Component.newInstance(Component.java:1772)
at org.jboss.seam.Component.getInstance(Component.java:1669)
at org.jboss.seam.Component.getInstance(Component.java:1636)
at org.jboss.seam.Namespace.get(Namespace.java:42)
at javax.el.MapELResolver.getValue(MapELResolver.java:157)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135)
at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at 
org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34)
at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:53)
at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1710)
at org.jboss.seam.Component.getInstance(Component.java:1659)
at org.jboss.seam.Component.getInstance(Component.java:1636)
at org.jboss.seam.Component.getInstance(Component.java:1630)
at org.jboss.seam.mock.SeamTest.getInstance(SeamTest.java:115)
at my.admin.LoginTest.access$1(LoginTest.java:1)
at my.admin.LoginTest$1.invokeApplication(LoginTest.java:17)
at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:486)
at my.admin.LoginTest.testLogin(LoginTest.java:21)
... Removed 25 stack frames 


Jira: http://jira.jboss.com/jira/browse/JBSEAM-820

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

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


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

2007-02-09 Thread mariuszs
I recommend waiting ...

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

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


[jboss-user] [JBoss Seam] - Building Seam CVS with ant build

2007-02-09 Thread mariuszs
When I try to build Seam from CVS I have error when application is starting:

Exception sending context initialized event to listener instance of class 
org.jboss.seam.servlet.SeamListener
  | java.lang.ClassFormatError: Illegal class modifiers in class 
org/jboss/seam/mail/package-info: 0x1600
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(Unknown Source)
  | at java.security.SecureClassLoader.defineClass(Unknown Source)
  | at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)

What this mean?

I use ant 1.7 and java 1.5.10

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.6 Security with ICEFaces

2007-02-08 Thread mariuszs
yes, login is working but logout is broken i ICEfaces 1.5.3 and Seam 1.1.6

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

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


[jboss-user] [JBoss Seam] - NPE in SeamSecurity (getCookieValue(Selector.java:59))

2007-02-08 Thread mariuszs
I have simple test:

new FacesRequest() {
  | 
  | @Override
  | protected void updateModelValues() throws Exception {
  | setValue("#{identity.username}", "admin");
  | setValue("#{identity.password}", "admin");
  | }
  | 
  | @Override
  | protected void invokeApplication() {
  | invokeMethod("#{identity.login}");
  | }
  | 
  | @Override
  | protected void renderResponse() {
  | 
  | assert getValue("#{identity.loggedIn}").equals(true);   
}
  | 
  | }.run();


FAILED: testUserLogin
  | java.lang.NullPointerException
  | at org.jboss.seam.core.Selector.getCookieValue(Selector.java:59)
  | at 
org.jboss.seam.security.Identity.initCredentialsFromCookie(Identity.java:91)
  | at org.jboss.seam.security.Identity.create(Identity.java:85)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1835)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1783)
  | at org.jboss.seam.Component.newInstance(Component.java:1772)
  | at org.jboss.seam.Component.getInstance(Component.java:1669)
  | at org.jboss.seam.Component.getInstance(Component.java:1636)
  | at org.jboss.seam.Namespace.get(Namespace.java:42)
  | at javax.el.MapELResolver.getValue(MapELResolver.java:157)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135)
  | at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
  | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | at 
org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34)
  | at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:53)
  | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1710)
  | at org.jboss.seam.Component.getInstance(Component.java:1659)
  | at org.jboss.seam.Component.getInstance(Component.java:1636)
  | at org.jboss.seam.Component.getInstance(Component.java:1630)
  | at org.jboss.seam.mock.SeamTest.getInstance(SeamTest.java:112)
  | at pl.alternativ.med.admin.LoginTest.access$1(LoginTest.java:1)
  | at 
pl.alternativ.med.admin.LoginTest$5.invokeApplication(LoginTest.java:95)
  | at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:478)
  | at pl.alternativ.med.admin.LoginTest.testUserLogin(LoginTest.java:99)
  | ... Removed 25 stack frames

What is wrong with my test?

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

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


[jboss-user] [JBoss Seam] - Seam 1.1.6 Security with ICEFaces

2007-02-08 Thread mariuszs
Also, to make use of the security EL functions, SeamFaceletViewHandler must be 
used. 

So, it is possible to use SeamSecurity with ICEFaces (and 
com.icesoft.faces.facelets.D2DSeamFaceletViewHandler instead of 
SeamFaceletViewHandler)?

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

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


[jboss-user] [JBoss Seam] - Re: Access to EntityManager in authenticator?

2007-02-01 Thread mariuszs
You can also use @Stateless bean (simply add this annotation) and 
@PersistanContext can work. You need also interface for this bean.

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

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


[jboss-user] [JBoss Seam] - OFTOPIC Re: Does DataModelSelection work in a Stateless Sess

2007-01-31 Thread mariuszs
Btw, you should use:

 @Begin
  |   public String selectOrganization() {
  | organization = em.merge(selectedOrganization);
  | return "editOrganization";
  |   }



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

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


[jboss-user] [JBoss Seam] - Re: Executing test with TestNG plugin for eclipse

2007-01-29 Thread mariuszs
problem resolved in CVS

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

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


[jboss-user] [JBoss Seam] - Executing test with TestNG plugin for eclipse

2007-01-24 Thread mariuszs
When I try to executed tests from seam-gen generated project in eclipse (by 
TestNG plugin) I have strange errors:

21:26:25,492 ERROR [SchemaExport] schema export unsuccessful
  | org.hibernate.JDBCException: Error during import script execution
  | 
  | Caused by: java.sql.SQLException: Table not found in statement [insert into 
Customer]

This same test work with ant test.

Is any other simple solution to executed selected test (not all tests) with ant?

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

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


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

2007-01-23 Thread mariuszs
"lightbulb432" wrote : 
  | 1) How does going to /seam-booking automatically redirect to 
/seam-booking/home.seam? I don't see anything in web.xml or pages.xml where 
this behavior has been configured.
  | 
There is default page index.html, which make redirect to home.seam

  | 
  |   
  | 
  | 



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

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


[jboss-user] [JBoss Seam] - Re: h:commandButton requires s:conversationId to work proper

2007-01-23 Thread mariuszs
anonymous wrote : 
  | 
  | Add the conversation id to an output link (or similar JSF control). 
Facelets only. 

Why this tag is facelets only? Facelests version of tag h:commandButton need 
conversationId added?

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

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


[jboss-user] [JBoss Seam] - Re: dataTable in two windows

2007-01-22 Thread mariuszs
I think somethink like this can help...

@RequestParameter
  | Long entityId;
  | 
  | public void removeMyEntity() {
  |  MyEntity mySelectedEntity = em.find(MyEntity.class, entityId);
  |  em.remove(mySelectedEntity);
  | }
  | 


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

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


[jboss-user] [JBoss Seam] - Re: can't find debug.xhtml

2007-01-22 Thread mariuszs
You need library for facelts included and debug enabled in config 
(seam.propertes for example).

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.1.GA

2007-01-19 Thread mariuszs
"[EMAIL PROTECTED]" wrote : Seam 1.1.1 is available for download
  | 
  | 

I see new chapter in documentation for 1.1.1 (Chapter 23. Security). Is new 
security ready to use now?

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.1.GA

2007-01-19 Thread mariuszs
ICEFaces is compatibile with this release?

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

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