[jboss-user] [EJB 3.0] - Re: Problem with deploying entity EJB 3.0 on Jboss

2006-11-15 Thread hudowski
"wolfc" wrote : persistance.xml should be persistence.xml.

Sorry, the name os this file is persistence.xml

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

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


[jboss-user] [JBoss Portal] - Re: Where is the MyFaces cardemo portlet source?

2006-11-15 Thread rind911
i can't post cardemo portlet source code in this topic, send me email for get 
cardemo source code. 

[EMAIL PROTECTED]

-AnhDV

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Reading a blob results in updating it to database

2006-11-15 Thread tomerbd2
Hi

I have an entity bean:

TestBLOB with fields: id, object, someString
object is stored to database as a blob.

When i findByPrimaryKey(id) the entity bean and do getObject() then at the end 
of the transaction the TestBLOB is being written to database (enabled my cmp 
logging).  If i do the same but do not read getObject() but read 
getSomeString() then at the end of the transaction the object is not written 
back to database.

My problem is that when the data is written back to database then the next time 
i read the entity bean its not being taken from cache but a SELECT statement is 
being issued.

Why is the TestBLOB being written to database at the end of the transaction if 
i do getObject()?
How can i make sure that my TestBLOB will be taken from cache although i do 
getObject()

PS,
I'm using commit option A and i have a read only on all my get* methods.

Thanks

Tomer

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

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


[jboss-user] [JBoss jBPM] - Re: Extending jPDL for using in web application

2006-11-15 Thread s_aliakbary
I'm not sure that a different solution is better or not, because I'm newbie in 
jBPM. But this approach has some side effects. For example by implementing our 
own node tags, the eclipse graphical designer will not recognize these node 
definitions. And some extra code for implementing this new node is necessary. 
Do other jBPM-webbased applications use a similar approach? 
Thanks

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

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


[jboss-user] [JBoss Portal] - Inter Portlet Communication in Jboss portal 2.4

2006-11-15 Thread sandeepjha18
Hi

Is Inter Portlet Communication possible in Jboss Portal 2.4?
If yes then how can it be achieved.

Please help me out.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Trouble starting up JBoss

2006-11-15 Thread Azavia
OK, I installed the EJB3 configuration.

I figured out that the port 1098 was being used due to some process on my 
computer. I stopped the process and then got no more of those errors.

Now it looks like it is starting fine; it is like my original post, minus the 
warnings. But, in the JBos server view, in the event log, after the successful 
start of the server i see a bunch of messages like:

anonymous wrote : Twiddle Launch: Server is down

Then after a good 25 of those:

[quoteServer failed to start

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

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


[jboss-user] [JBoss jBPM] - How Can delete the processdefinition from table

2006-11-15 Thread panny1982
I want to delete the processdefinition from table but it has Fk,so can't 
delete .please help me .(if use program ,how do it)

   Another I define a process but I try to rename the one nodeName,so I update 
the date at jbpm_node table ,it can run but error in show the img 
 please help me ,thank you 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Trouble starting up JBoss

2006-11-15 Thread visolvejboss
Hello,
 
 With 'all' server configuration, you can't able to run the EJB3. 

 So, For running EJB3 Applications, you should install 'EJB3' Server 
Configuration while you are selecting the Server Configuration at the time of 
Installation by using jems installer jar.

  The error denotes, the ports are already bound. Are you running more than one 
jboss server at a time?? 

  If so, stop all the jboss servers and start only one instance of jboss.



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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Trouble starting up JBoss

2006-11-15 Thread Azavia
hi,

Thanks for the response. I reinstalled, with the "all" configuration. Is this 
supposed to support EJB3? i thought I read somewhere it should, but I am not 
sure.

Anyway, now when I start, i get something like this at the end:

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss:service=Naming
  |   State: FAILED
  |   Reason: java.rmi.server.ExportException: Port already in use: 1098; 
nested exception is: 
  | java.net.BindException: Address already in use: JVM_Bind
  |   I Depend On:
  | jboss.system:service=ThreadPool
  |   Depends On Me:
  | jboss.ws:service=WebServiceClientDeployer
  | jboss.cache:service=TomcatClusteringCache
  | jboss:service=DefaultPartition
  | jboss:service=HASessionState
  | jboss:service=invoker,type=jrmpha
  | jboss:service=invoker,type=pooledha
  | jboss:service=CorbaORB
  | jboss:service=invoker,type=iiop
  | jboss:service=CorbaNaming
  | jboss.mq:service=DestinationManager
  | jboss.mq:service=Invoker
  | jboss.mq:service=InvocationLayer,type=UIL
  | jboss.mq:service=InvocationLayer,type=UILXA
  | jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
  | 
jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
  | jboss.jms:alias=QueueConnectionFactory
  | jboss.jms:alias=TopicConnectionFactory
  | jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  | jboss.jmx:alias=jmx/rmi/RMIAdaptor
  | jboss:service=TransactionManager
  | 
  | ObjectName: jboss.jca:service=RARDeployment,name='jms-ra.rar'
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.jca:service=ManagedConnectionFactory,name=JmsXA
  | 
  | ObjectName: jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
  | 
  | 
  | 23:54:14,156 INFO  [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: 
CVSTag=Branch_4_0 date=200610162339)] Started in 10s:188ms
  | 

It says njboss.naming was already started, and then that other things seemed 
not to have been installed. Not sure why this would be, though, since it should 
have installed everything.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Trouble starting up JBoss

2006-11-15 Thread visolvejboss
Hello,

>From the Server log that you have given denotes that there is no problem in 
>starting of JBoss. The warnings are clearly stated that, its come from 
>deprecated configuration environment and it will be disappear in future 
>releases.

And, It seems you need ejb3 but you have installed ejb3-clustering 
configuration from jems. 

1. Try to select ejb3 server configuration then install it using jems installer 
jar and not the ejb3-clustering(unless you need ejb3 - clustering server 
configuration).

2. Now start the jboss server with ejb3 Server configuration.

Hope, this may help you.


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

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


[jboss-user] [JBoss Seam] - Re: ClassCastException with ArrayList when implementing Sele

2006-11-15 Thread forumer
Do you mean I need to debug Seam source code or is there another way you are 
referring to?

Even if I replace the problem xhtml with the following, I still get the same 
error! Do you think this could be problem because I am using 4.0.4.CR2 and Seam 
1.0.1.GA?

Thanks for your help!


  | 
  |
  |   
  |   
  |   
  |   
  |   
  |
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - @Service EJB Undeploy error

2006-11-15 Thread alpheratz-jb
I have an @Service EJB (see code).

It deploys OK. it works OK. I can see the bean being driven through its 
lifecycle OK. I can see ssetValue being called. I can see the value in the 
MBean Inspector page.

However on undeploy/redeploy I get an exception (see traces):


  | java.lang.RuntimeException: javax.management.InstanceNotFoundException: 
dnd:statistics=DisasterCount is not registered.
  | 

The exception occurs regardless of whether the value is inspected in the MBeans 
Inspector page or not.

The app is based around SEAM.

Any suggestions/assistance would be gratefully accepted.

Cheers,

Alph.

===

Usage in a SEAM stateful session bean:


  |   @EJB
  |   private DisasterCountLocal dc;
  |   
  |   @SuppressWarnings("unchecked")
  |   @Factory("disasterCollection")
  |   public void findAll()
  | {
  | disasterCollection = em.createNamedQuery("Disaster.findAll").setHint(
  | "org.hibernate.cacheable", true).getResultList();
  | dc.setValue(disasterCollection.size());
  | }
  | 


  | package dnd.mbean;
  | 
  | import javax.ejb.Local;
  | 
  | import org.jboss.annotation.ejb.Service;
  | 
  | // 
http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/jboss_extensions.html
  | // http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/jmx/index.html
  | 
  | @Service (objectName = "dnd:statistics=DisasterCount")
  | @Local(DisasterCountLocal.class)
  | public class DisasterCount implements DisasterCountLocal, 
DisasterCountManagement
  | {
  | int v;
  | 
  | public void setValue(int v)
  | {
  | System.out.println("setValue(" + v + ")");
  | this.v = v; 
  | }
  | 
  | public int getValue() {
  | return v;
  | }
  | 
  |// Lifecycle methods
  |public void create() throws Exception
  |{
  |System.out.println("DisasterCount - Creating");
  |}
  | 
  |public void start() throws Exception
  |{
  |System.out.println("DisasterCount - Starting");
  |}
  | 
  |public void stop()
  |{
  |System.out.println("DisasterCount - Stopping");
  |}
  | 
  |public void destroy()
  |{
  |System.out.println("DisasterCount - Destroying");
  |}
  | }
  | 
  | 
  | 



  | package dnd.mbean;
  | 
  | import javax.ejb.Local;
  | 
  | @Local
  | public interface DisasterCountLocal {
  | int getValue();
  | void setValue(int v);
  | }
  | 



  | package dnd.mbean;
  | 
  | import org.jboss.annotation.ejb.Management;
  | 
  | @Management
  | public interface DisasterCountManagement {
  | int getValue();
  | 
  | void create() throws Exception;
  | void start() throws Exception;
  | void stop();
  | void destroy();
  | }
  | 


Deployment trace:


  | 12:22:40,937 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:ear=jboss-seam-dnd.ear,jar=jboss-seam-dnd.jar,name=DisasterCount,service=EJB3
 with dependencies:
  | 12:22:40,953 INFO  [EJBContainer] STARTED EJB: dnd.mbean.DisasterCount 
ejbName: DisasterCount
  | 12:22:40,968 INFO  [STDOUT] DisasterCount - Creating
  | 12:22:40,968 INFO  [STDOUT] DisasterCount - Starting
  | 12:22:40,984 INFO  [EJBContainer] STARTED EJB: 
dnd.ejb3.session.DisasterManagerAction ejbName: DisasterManagerAction
  | 


Undeploy/redeploy trace:


  | 13:19:35,125 INFO  [STDOUT] DisasterCount - Stopping
  | 13:19:35,125 INFO  [STDOUT] DisasterCount - Destroying
  | 13:19:35,125 WARN  [ServiceDelegateWrapper] Stopping failed 
jboss.j2ee:ear=jboss-seam-dnd.ear,jar=jboss-seam-dnd.jar,name=DisasterCount,service=EJB3
  | java.lang.RuntimeException: javax.management.InstanceNotFoundException: 
dnd:statistics=DisasterCount is not registered.
  | at 
org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstraction.java:159)
  | at 
org.jboss.ejb3.service.ServiceContainer.stop(ServiceContainer.java:166)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.ejb3.ServiceDelegateWrapper.stopService(ServiceDelegateWrapper.java:118)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
  | at sun.reflect.GeneratedMethodAccessor406.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.m

[jboss-user] [JBossCache] - Re: How do I serialized an POJO stored in the cache

2006-11-15 Thread [EMAIL PROTECTED]
Well, actually, if you want to get aound it, you can implement Cloneable in 
your POJO and clone it yourself.

PS: yes, it is a bug that I will fix soon.

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

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


[jboss-user] [EJB 3.0] - EntityManager out of the container causes exception

2006-11-15 Thread obergg01
I'm trying to write some unit tests for session beans with an in memory hsqldb, 
but cant get an instance of the EntityManagerFactory.

To simplify the situation and make sure I got all dependencies I set up a new 
EJB3 profiled project with JBoss IDE (dependencies from JBoss 4.0.5.GA) and 
wrote the following test code:

import javax.persistence.EntityManager;
  | import javax.persistence.EntityManagerFactory;
  | import javax.persistence.Persistence;
  | 
  | public class Test{
  | public static void main(String[] args){
  | EntityManagerFactory factory = 
Persistence.createEntityManagerFactory("test");
  | EntityManager manager = factory.createEntityManager();
  | }
  | }
  | 
persistence.xml is:


  | 
  |
  |org.hibernate.ejb.HibernatePersistence
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |
  | 

I have double checked that persistence.xml is on the classpath 
(META-INF/persistence.xml) and jdbc-driver is included.

Whatever I am trying I always get the following exception:

Exception in thread "main" javax.persistence.PersistenceException: No 
Persistence provider for EntityManager named test
  | at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
  | at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
  | at Test.main(Test.java:9)


Can anyone help me out? Am I missing something?

Thanks

Goran

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

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


[jboss-user] [Installation, Configuration & Deployment] - Log4j an JBOSS 4.0.5

2006-11-15 Thread russray
I have downloaded the latest version and ran the window installer.  

Where I start the server up, an error displays involving the log4j component.  
I have not changed the log4j.xml settings, so I am confused why this error 
would even happen:


  | 20:05:44,757 ERROR [STDERR] log4j:ERROR A 
"org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a 
"org.apache.log4j.spi.ErrorHandler" variable.
  | 20:05:44,757 ERROR [STDERR] log4j:ERROR The class 
"org.apache.log4j.spi.ErrorHandler" was loaded by 
  | 20:05:44,757 ERROR [STDERR] log4j:ERROR [WebappClassLoader
  |   delegate: false
  |   repositories:
  | /WEB-INF/classes/
  | --> Parent Classloader:
  | [EMAIL PROTECTED]
  | ] whereas object of type 
  | 20:05:44,757 ERROR [STDERR] log4j:ERROR 
"org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED]
  | 20:05:44,820 ERROR [STDERR] log4j:ERROR Could not create an Appender. 
Reported error follows.
  | 20:05:44,820 ERROR [STDERR] java.lang.ClassCastException: 
org.jboss.logging.appender.DailyRollingFileAppender
  | 

I checked to ensure I had the log4j.jar (or something like it) within the 
server area.  I found log4j-boot.jar found in /lib, so I am at a 
lost to explain why there is an issue.

Can someone shed some light on this for me?

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

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


[jboss-user] [JBoss jBPM] - Re: I have some problems Help!

2006-11-15 Thread achui_1980
i have found why this error occurs the transition tag must before event tag .

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

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


[jboss-user] [JBossCache] - Re: Error using objects as Fqn's in PojoCache

2006-11-15 Thread [EMAIL PROTECTED]
You are right. It is a bug.

http://jira.jboss.com/jira/browse/JBCACHE-850

The fix is in 1.4.1 release.

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

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


[jboss-user] [JBoss Messaging] - jms error of jboss 4.0.5

2006-11-15 Thread dxb_han
public final static String  INITIAL_CONTEXT_FACTORY = 
"org.jnp.interfaces.NamingContextFactory";
public final static String  PROVIDER_URL = "jnp://127.0.0.1:1099";
public final static String  URL_PKG_PREFIXES = "org.jboss.naming";
public final static String  FACTORY_JNDI = "XAConnectionFactory";
 
Properties properties = new Properties();   
properties.put(Context.INITIAL_CONTEXT_FACTORY, INITIAL_CONTEXT_FACTORY);
properties.put(Context.PROVIDER_URL, PROVIDER_URL);
properties.put("java.naming.rmi.security.manager", "yes");
properties.put(Context.URL_PKG_PREFIXES, JMSSender.URL_PKG_PREFIXES);
   
Context context = new InitialContext(properties);
TopicConnectionFactory topicFactory = (TopicConnectionFactory) 
context.lookup(FACTORY_JNDI);
TopicConnection topicConnection = topicFactory.createTopicConnection();
topicSession = topicConnection.createTopicSession(false, 
Session.AUTO_ACKNOWLEDGE);
topic = topicSession.createTopic("topic/testTopic");
 
 
throws exception:
 
org.jboss.mq.SpyJMSException: Cannot get the Topic from the provider; - nested 
throwable: (javax.jms.JMSException: This destination does not exist 
!QUEUE.topic/testTopic)
 at org.jboss.mq.SpyConnection.createTopic(SpyConnection.java:201)
 at org.jboss.mq.SpyTopicSession.createTopic(SpyTopicSession.java:73)
 at com.dxb.test.jmstest.JMSSender.initSender(JMSSender.java:57)
 at com.dxb.test.jmstest.JMSSender.(JMSSender.java:33)
 at com.dxb.test.jmstest.JMSSender.main(JMSSender.java:93)
Caused by: javax.jms.JMSException: This destination does not exist 
!QUEUE.topic/testTopic
 at 
org.jboss.mq.server.JMSDestinationManager.createQueue(JMSDestinationManager.java:613)
 at 
org.jboss.mq.server.JMSServerInterceptorSupport.createQueue(JMSServerInterceptorSupport.java:111)
 at 
org.jboss.mq.server.TracingInterceptor.createQueue(TracingInterceptor.java:259)
 at org.jboss.mq.server.JMSServerInvoker.createQueue(JMSServerInvoker.java:117)
 at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:136)
 at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
 at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
 at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
 at java.lang.Thread.run(Thread.java:534)


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - jms error of jboss 4.0.5

2006-11-15 Thread dxb_han
public final static String  INITIAL_CONTEXT_FACTORY = 
"org.jnp.interfaces.NamingContextFactory";
public final static String  PROVIDER_URL = "jnp://127.0.0.1:1099";
public final static String  URL_PKG_PREFIXES = "org.jboss.naming";
public final static String  FACTORY_JNDI = "XAConnectionFactory";
 
Properties properties = new Properties();   
properties.put(Context.INITIAL_CONTEXT_FACTORY, INITIAL_CONTEXT_FACTORY);
properties.put(Context.PROVIDER_URL, PROVIDER_URL);
properties.put("java.naming.rmi.security.manager", "yes");
properties.put(Context.URL_PKG_PREFIXES, JMSSender.URL_PKG_PREFIXES);
   
Context context = new InitialContext(properties);
TopicConnectionFactory topicFactory = (TopicConnectionFactory) 
context.lookup(FACTORY_JNDI);
TopicConnection topicConnection = topicFactory.createTopicConnection();
topicSession = topicConnection.createTopicSession(false, 
Session.AUTO_ACKNOWLEDGE);
topic = topicSession.createTopic("topic/testTopic");
 
 
throws exception:
 
org.jboss.mq.SpyJMSException: Cannot get the Topic from the provider; - nested 
throwable: (javax.jms.JMSException: This destination does not exist 
!QUEUE.topic/testTopic)
 at org.jboss.mq.SpyConnection.createTopic(SpyConnection.java:201)
 at org.jboss.mq.SpyTopicSession.createTopic(SpyTopicSession.java:73)
 at com.dxb.test.jmstest.JMSSender.initSender(JMSSender.java:57)
 at com.dxb.test.jmstest.JMSSender.(JMSSender.java:33)
 at com.dxb.test.jmstest.JMSSender.main(JMSSender.java:93)
Caused by: javax.jms.JMSException: This destination does not exist 
!QUEUE.topic/testTopic
 at 
org.jboss.mq.server.JMSDestinationManager.createQueue(JMSDestinationManager.java:613)
 at 
org.jboss.mq.server.JMSServerInterceptorSupport.createQueue(JMSServerInterceptorSupport.java:111)
 at 
org.jboss.mq.server.TracingInterceptor.createQueue(TracingInterceptor.java:259)
 at org.jboss.mq.server.JMSServerInvoker.createQueue(JMSServerInvoker.java:117)
 at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:136)
 at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
 at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
 at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
 at java.lang.Thread.run(Thread.java:534)


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

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


[jboss-user] [EJB 3.0] - Mixed EJB2.1 / EJB3 SessionBeans in same ear fail deployment

2006-11-15 Thread hakand
I'm trying to deploy an ear-file with mixed content of EJB2.1 and EJB3 
SessionBeans onto JBoss 4.0.4 with the ejb3-option.

Deploy fails for the EJB2.1-bean with essentially:

-
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: java.lang.RuntimeException: @javax.ejb.PostActivate annotated method 
has the wrong signature - public void legacy.LegacyEjbHelloBean.ejbActivate() 
throws javax.ejb.EJBException,java.rmi.RemoteException
at 
org.jboss.ejb3.interceptor.InterceptorInfoRepository$ContainerInitialiser.resolveLifecycleMethod(InterceptorInfoRepository.java:753)
-

It actually started to fail for the PreDestroy annotation and the 
ejbRemove()-method but after adding this to the bean class:

@javax.annotation.PreDestroy
public void dummy() {}

it moved on to PostActivate - where it stays even after removing the 
dummy()-method and annotation, re-deploying and re-starting the server - 
indicating that something might not be cleaned up properly between deployments.

A similar problem seems to be described here:

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

is it the same?


Shouldn't mixed EJB2.1 and EJB3 work?
If bug: when can we expect it to work properly?

The case: I'm looking into migrating an EJB2.1-app to EJB3 but would like to do 
it incrementally instead of a big-bang approach.


TIA,
/hakan

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

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


[jboss-user] [JBossWS] - how to select which certificate to use in wsse encryption?

2006-11-15 Thread croisfert
hi,  howto select which certificate to use in wsse encryption?

in the jboss-wsse-server.xml file we define the alias of the certificate to use 
for encrypt the response SOAP message.

..

 

..

this is the alias of the certificate of the client.

How  i select this dynamically?

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

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


[jboss-user] [JBossWS] - Re: SOAP 1.2 WSDL

2006-11-15 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBWS-1378

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

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


[jboss-user] [JBossWS] - Re: Create multiple web services with same SLSB ejb

2006-11-15 Thread [EMAIL PROTECTED]
You can't. One SLSB per endpoint

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

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


[jboss-user] [JBossWS] - Re: Webservices client and Dynamic Invocation Interface.

2006-11-15 Thread [EMAIL PROTECTED]
This is a classpath issue. Remove the Sun jars.
Better then DII is to use ServiceFactory to create a dynamic proxy

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

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


[jboss-user] [JBossWS] - Re: Restful web service with JBoss WS ?

2006-11-15 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBWS-1213

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

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


[jboss-user] [JBossWS] - Re: Getting the WSDL for a pojo endpoint at compile time

2006-11-15 Thread [EMAIL PROTECTED]
Currently not. This will be supported in 2.0.x

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

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


[jboss-user] [JBossWS] - Re: Problem creating request for wsclient, serializating pa

2006-11-15 Thread [EMAIL PROTECTED]
Service is threadsafe, Call has state

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

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


[jboss-user] [JBossWS] - Re: Does jboss-4.0.4 with jbossws-1.0.2 fully support soap12

2006-11-15 Thread [EMAIL PROTECTED]
jbossws-2.0.x supports soap-1.2

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

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


[jboss-user] [JBossWS] - Re: JBossXSErrorHandler: cannot resolve XSD name when loadin

2006-11-15 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSourceRepository

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

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


[jboss-user] [JBossWS] - Re: Client handler chain

2006-11-15 Thread [EMAIL PROTECTED]
Server and client side are fundamentally disconnectd. That the server is on the 
same host is irrelevant. Please check that the handler shows up in the Unified 
Meta Data Model (UMDM) in the logfile.

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

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


[jboss-user] [JBoss Seam] - Road Map

2006-11-15 Thread [EMAIL PROTECTED]
I have mapped out a proper road map in JIRA:

http://jira.jboss.com/jira/browse/JBSEAM?report=com.atlassian.jira.plugin.system.project:roadmap-panel

(click "all versions" to see out to 1.2.0.BETA1)

This is an aggressive plan, so please don't yell at us if releases slip 
somewhat.

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

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


[jboss-user] [JBossWS] - Re: Saving the Web Service Request as XML

2006-11-15 Thread [EMAIL PROTECTED]
Romeu is right, the jaxrpc handler willl do the job. With jbossws-2.0.x you 
will be able to use JAXB. Have a look at the JAXWS spec.

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

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


[jboss-user] [JBoss Portal] - Re: Failed to create instance of Portlet.

2006-11-15 Thread PeterJ
The error text:

The portlet TestRafiPortlet threw a runtime exception during init

means that your portlet has a bug in it, in the init() method.  Find and fix 
that bug.

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

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


[jboss-user] [JBossWS] - Re: Consuming a web service from an EJB3 stateless sb

2006-11-15 Thread [EMAIL PROTECTED]
You can use the ServiceFactoryImpl to create a dynamic proxy. (i.e. no need for 
jndi lookup)

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

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


[jboss-user] [JBoss Seam] - Re: warning appears when application with seam is deployed o

2006-11-15 Thread [EMAIL PROTECTED]
That is deeply wierd! But its just a WARNING, does the app run?

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

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


[jboss-user] [JBossWS] - Re: noice in SOAP reply

2006-11-15 Thread [EMAIL PROTECTED]
[01:17:58] Thomas Diesler: so if the receiver cant handle it, it their problem?
[01:18:10] Jason Greene: yeah then they aren't HTTP/1.1 compliant
[01:18:20] Thomas Diesler: merci
[01:18:34] Jason Greene: in which case we can add them to the restricted agent 
list
[01:18:36] ? in tomcat
[01:18:42] ? which will downgrade them to 1.0
[01:19:18] Thomas Diesler: is this a tomcat feature?
[01:19:30] Jason Greene: yes its in the server.xml file
[01:19:56] ? there might be some other option to always disable chunked
[01:20:14] ? but that would cause tomcat to double before the entire response 
to get the length

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

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


[jboss-user] [JBoss Seam] - warning appears when application with seam is deployed on gl

2006-11-15 Thread jeffreyzlee
Hi 
Can seam 1.1 run on glassfish 9.0? when I deploy application with seam 1.1, 
following warning appears. 

[#|2006-11-15T18:40:35.774-0500|WARNING|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=34;_ThreadName=Thread-52;_RequestID=e6c6a9c7-dedf-464d-9571-85066a639d18;|The
 annotation symbol inheritance is not supported.
 symbol: TYPE
 location: class org.jboss.seam.core.Dispatcher


what is matter with my application with seam 1.1? 
Thanks!
Jeff




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

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


[jboss-user] [JBossWS] - Re: Problems returning arrays from Webservice Method

2006-11-15 Thread [EMAIL PROTECTED]
For this fix not to get lost we'll need a jira issue with the patch + test case 
(modificatipon) attached.

cheers

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

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


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-15 Thread [EMAIL PROTECTED]
Could you please create a jira issue and attach a patch against the 1.0.4 
testsuite that allows us to reproduce this issue.

cheers


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

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


[jboss-user] [JBossWS] - Re: ws-addressing and jsr-109

2006-11-15 Thread [EMAIL PROTECTED]
there are wsa tests for jaxrpc in the testsuite

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

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


[jboss-user] [JBossWS] - Re: Simple Problem ? - SOAPBody.addDocument()

2006-11-15 Thread [EMAIL PROTECTED]
You can also create the message directly from the request string

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

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


[jboss-user] [JBoss Seam] - Re: seam-security example

2006-11-15 Thread sbryzak2
There will be a component of the security API that handles page security, 
however it currently has low priority.  In terms of what it will provide, most 
likely it will be simple role-based restriction to view-tier resources.  There 
are plans to support X509 authentication, however it is quite a way off.

There are currently no plans for special handling of http/https requests, I 
imagine that this kind of thing could be implemented by a servlet filter?

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

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


[jboss-user] [JBossWS] - Re: Encryption and Signature from .Net client

2006-11-15 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | I'm afraid that I don't get this fixed I'm gonna have to transfer our 
complete system to another application server or throw the complete ws-security 
stack of jboss overboard and implement the security handler myself from scratch 
tailored to what the .Net client is sending out. 
  | 

http://www.jboss.com/services/profsupport

Currently the dev team is busy with JAXWS JEE5 certification. This type of 
interop issue will be addressed as part of the regular MSFT interop workshops.

If cost is a concern to your organization, then profsupport might be a valid 
option.

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

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


[jboss-user] [JBossWS] - Re: Ejb3 JMSTransportSupport

2006-11-15 Thread jgilbert
one thing that is not right with this approach is that there is no jms address 
in the wsdl, because only the SLSB is deployed as a web service.

any thoughts?

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

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


[jboss-user] [JBoss Seam] - Re: Possible bug in remoting with POJO backing bean w/ inter

2006-11-15 Thread sbryzak2
It is a bug, fixed in CVS now.

Thanks!

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

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


[jboss-user] [JBossWS] - Re: Ejb3 JMSTransportSupport

2006-11-15 Thread [EMAIL PROTECTED]
Thanks, this work should be done against jbossws/trunk and should go into 
jbossws-2.0.0. 

Maybe you could create a jira issue and attach a patch against jbossws-2.0.0.CR1

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

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


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

2006-11-15 Thread [EMAIL PROTECTED]
I've only ever seen that error before if you try to start the server twice in a 
row, or try to terminate it while it's starting. 

Looking at the code, the only way for there to be a null pointer there is if 
the directory being added to the classpath either does not exist (unlikely) or 
the permsisions dont allow us to access it. 

File libs[] = libDir.listFiles(someFilter);

If there were no acceptable children, it would be of size zero, instead of 
null. 

It also seems that the error is occurring only where the server is trying to 
verify whether the server is up or down, as opposed to when actually starting 
or stopping the server. So does the server start or stop normally? 

Either way, this is entirely rewritten in HEAD and the errors should not exist, 
but that's no consolation to you who then needs to wait for beta 3 ;) 



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

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


[jboss-user] [JBoss Seam] - Re: How do I deal with exceptions when using the SAF?

2006-11-15 Thread ccanning
Thanks. That was what I was using while waiting for an answer.

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

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


[jboss-user] [JBoss Portal] - Re: JBOSS portal + portletbridge

2006-11-15 Thread bcd2
I installed portlet bridge successfully (I think) into 2.6 then:
- Went to admin clicked on "Portlets"
- Selected portletbridge
- Created an instance called "Google" and saved
- clicked on "Instances"
- Selected Google and attached a value of http://www.google.com to the initUrl 
variable
- Went to a page and added the google instance to a page...

Result: Internal Error  :-(

I could use some help.  Does Portlet Bridge work with 2.4 or 2.6?

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

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


[jboss-user] [JBoss and NetBeans] - Re: jboss in one box and netbeans in another

2006-11-15 Thread vzapponi
I think that you must define:
 JAVA_HOME: C:\java\jdk1.5.0_09

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

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


[jboss-user] [JBoss Seam] - Re: How to impliment a Paged + Sorted DataTable (session) wi

2006-11-15 Thread [EMAIL PROTECTED]
Maybe you could try a page action to refresh the data? 

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

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


[jboss-user] [EJB 3.0] - Re: query.getResultList(); <= contains the same instance X t

2006-11-15 Thread fbadt
Turns out what was thought to be the PK column was not.   A PK on a sequence 
table was created and the former "pk" was used to group results on a common 
value.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI Newbie - Please help !!!

2006-11-15 Thread mrroger
Thanks Peter. Thanks Jerry

It was a misconfiguration in my Eclipse (using another JVM installed !!!).

Very good.

Thank a lot !!

Giovanni

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

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


[jboss-user] [EJB 3.0] - Re: query.getResultList(); <= contains the same instance X t

2006-11-15 Thread jblackmore
Do you have any collections on that entity? Are you using EJBQL with joins? I 
think I stumbled over a  related scenario, except I'm calling 'getSingleResult' 
and getting an exception that there are 6 or 8 or 124 elements. No code or 
queries or even data changed since 4.0.4 in my case, and this just started 
happening after moving to 4.0.5. 

I think the problem is that there may be only one instance of TABLE1 but 10 of 
some mapped OneToMany collection of your entity. I used a SortedSet instead of 
the default List (generated by Hibernate tools) to eliminate dups in 4.0.4, but 
that approach doesn't seem to do the trick any more. The other thing you can do 
is wrap the result list with a LinkedHashSet, to eliminate dups and preserve 
the order. It occurs to me that this is all part of the "paradigm mismatch", 
but I feel like I shouldn't have to do that, Hibernate should. But it works. 

Please see this post for my "fix" that got me from 4.0.2 to 4.0.4, but now I 
have to go back into every EJBQL query invoked throughout the system and wrap 
it with a LinkedHashSet. Sigh, job security. :-)  

/index.html?module=bb&op=viewtopic&t=82946&start=10

Anyone know a better solution? 

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

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


[jboss-user] [JBoss Portal] - Failed to create instance of Portlet.

2006-11-15 Thread mohamed.rafi
Hi,

I am trying to install a new portlet into the JBoss Portal. However, when I try 
to deploy it, I get the following error:


  | 14:05:48,123 WARN  [PortletAppDeployment] Failed to create instance 
TestRafiPortletInstance of portlet /testrafiportlet.TestRafiPortlet because 
portlet /testrafiportlet.TestRafiPortlet is not available
  | 14:05:48,372 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-8080
  | 


Following are the descriptor files and their contents which I have used.

portlet-instances.xml


  | 
  |
  |
  |
  |  TestRafiPortletInstance
  |  TestRafiPortlet
  |  
  |
  | 
  | 
  | 

portlet.xml


  | 
  | http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
  |  version="1.0">
  |
  |   TestRafiPortlet
  |   com.apple.TestRafiPortlet
  |   
  |  text/html
  |  VIEW
  |   
  |   
  |  Test Rafi Portlet
  |   
  |
  | 
  | 
  | 

testrafi-object.xml


  | 
  |
  |   overwrite
  |   default.default
  |   
  |  TestRafiPortletWindow
  |  TestRafiPortletInstance
  |  center
  |  1
  |   
  |
  | 
  | 

The exception which is getting thrown is:


  | 14:05:47,307 INFO  [TomcatDeployer] deploy, ctxPath=/testrafiportlet, 
warUrl=.../deploy/testrafiportlet.war/
  | 14:05:48,024 ERROR [AbstractKernelController] Error installing to Start: 
name=portal:container=Portlet,id=/testrafiportlet.TestRafiPortlet state=Create
  | org.jboss.portal.portlet.container.PortletInitializationException: The 
portlet TestRafiPortlet threw a runtime exception during init
  | at 
org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:287)
  | ...
  | ...
  | 14:05:48,123 WARN  [PortletAppDeployment] Failed to create instance 
TestRafiPortletInstance of portlet /testrafiportlet.TestRafiPortlet because 
portlet /testrafiportlet.TestRafiPortlet is not available
  | 14:05:48,372 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-8080
  | 
  | 

Any ideas on what am I missing here, and how to get it fixed?

Regards
Rafi SM

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

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


[jboss-user] [Installation, Configuration & Deployment] - Ear deployer and CallByValue

2006-11-15 Thread asack
If I have an EAR with multiple EJB3 modules in it, and call by value is set, 
does that mean every call is marshalled or does that only apply to communcation 
between two different isolated EARs?

My understanding is its the latter.  That modules within the same isolated EAR 
are local calls.

Thanks!

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

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


[jboss-user] [EJB 3.0] - Re: JBoss Unified ClassLoader Hell? even with EJB3 ?

2006-11-15 Thread RikardF
Did you try to set "CallByValue" and "Isolated" to true in ear-deployer.xml?

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

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


[jboss-user] [JBoss Seam] - Re: PhaseListener as Seam Component

2006-11-15 Thread [EMAIL PROTECTED]
nope, this is not possible

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

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


[jboss-user] [JBoss Seam] - Re: How do I deal with exceptions when using the SAF?

2006-11-15 Thread [EMAIL PROTECTED]
You can do stuff like:

   public String persist()
  |{
  |   if ( . ) {
  |   return super.persist();
  |   }
  |   else {
  |   FacesMessages.instance().add("can't persist");
  |   return null;
  |   }
  |}

Is that OK?

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

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


[jboss-user] [JBoss Seam] - Re: How to impliment a Paged + Sorted DataTable (session) wi

2006-11-15 Thread antispart
petemuir, thanks for the suggestion. You're right that #2 is the way to go, but 
I've tried that and got this exception:

java.lang.IllegalArgumentException: @DataModel scope must be 
ScopeType.UNSPECIFIED or ScopeType.PAGE:

If I could @DataModel(scope=ScopeType.EVENT) 
and If that means that this list would be refreshed (the factory method called) 
on every new event then that'd be perfect. 

I actually tried outjecting a List (instead of DataModel) to get around this 
issue but I found that while the list would be refreshed everytime I hit 
"search" (as it always did) it would still not be refreshed on subsequent page 
loads.

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

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


[jboss-user] [JBoss Seam] - Re: Seam cannot find component

2006-11-15 Thread [EMAIL PROTECTED]
anonymous wrote : I believe Seam 1.1 will allow you to not use seam.properties 
if you have a META-INF/components.xml, but for now you'll need your 
seam.properties in the right place.

Right. But most people won't have a META-INF/components.xml.

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

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


[jboss-user] [JBoss Seam] - Re: Seam cannot find component

2006-11-15 Thread [EMAIL PROTECTED]
seam.properties does need to be at the root of the JAR file.  I'm not an 
eclipse user, so I'm not really sure.   I believe Seam 1.1 will allow you to 
not use seam.properties if you have a META-INF/components.xml, but for now 
you'll need your seam.properties in the right place.

To verify that Seam is finding your classes, you'll need to look at your server 
log when you deploy the application.  You should see a message like this one 
that indicates seam is canning your JAR for components.  


  | 14:05:01,891 INFO  [Scanner] scanning: 
/Users/orb/proj/jboss/jboss-4.0/build/output/jboss-4.0.5.GA-ejb3/server/default/tmp/deploy/tmp41693jboss-seam-pay.ear-contents/jboss-seam-pay.jar


You should also see component registration messages for your components.  They 
will look like this: 

14:05:02,503 INFO  [Component] Component: paymentHome, scope: CONVERSATION, 
type: JAVA_BEAN, class: org.jboss.seam.example.seampay.PaymentController

If you aren't seeing those, you have packaging problem.


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

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


[jboss-user] [EJB 3.0] - Re: Problem with deploying entity EJB 3.0 on Jboss

2006-11-15 Thread wolfc
persistance.xml should be persistence.xml.

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

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


[jboss-user] [Security & JAAS/JBoss] - Logout with basic authentication

2006-11-15 Thread theSlave
I am using basic authentication in my application, and I want to implement a 
logout function. I have tried to use session.invalidate() but this does not 
seam to help me. Is there some other solution ?

Thank you for your help !

Regards
PC

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

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


[jboss-user] [Javassist user questions] - Re: how to load external property file in JBOSS

2006-11-15 Thread informsantosh
Hi 
To access the propery file change the ant script to include that file in 
WEB-INF/ folder and add in the war. 

If you are using some frameworks like struts or spring its pretty easy to load 
property files. For struts you can refer to the example like how they load 
application message properties. For Spring i am giving you sample code below
if property file is like 
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc:postgresql://localhost/test
jdbc.user=postgres
jdbc.password=

And your bean configuration will look like this:



   /WEB-INF/jdbc.properties




 ${jdbc.driver}


 ${jdbc.url}


 ${jdbc.user}


 ${jdbc.password}



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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal Stress Results (Repost)

2006-11-15 Thread walbar
Hi,

I've performed the test on the new version from the trunk. I get:

With the CMS Portlet: 15 p/s
Without the CMS Portlet: 31p/s

Yesterday I was trying to find out where in your code there were the SQL 
queries logued by hibernate. I was suspecting that they were the bottleneck but 
the source code is quite big and I had not much success. Anyway I see you have 
worked on it and now only the cache is hit without actually reaching the DB.

I guess that another possible bottleneck are the JTA transactions that are 
continuously being opened and closed. I would like to try to remove them in 
order to perform more tests, would you point me to the config or code file 
where this could be done (if possible)?. I wouldn't mind to lack some 
functionality during the tests.

Regards,

Waldemar

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

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


[jboss-user] [JBoss Seam] - Re: @Log and NullPointerException

2006-11-15 Thread ccanning
Thanks.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - NullPointerException JBoss Eclipse IDE 2.0

2006-11-15 Thread chw
Hey folks, 

I just installed Eclipse 3.2.1" and "JBoss Eclipse IDE 2.0". If I try to start 
an JBoss-Server (3.2) out of Eclipse I get a bunch of NullPointerExcpetions 
(see below). Can anybody help me with that? Greetings and thanks Chris

java.lang.NullPointerException
at 
org.jboss.ide.eclipse.as.core.server.runtime.AbstractServerRuntimeDelegate.addDirectory(AbstractServerRuntimeDelegate.java:199)
at 
org.jboss.ide.eclipse.as.core.server.runtime.AbstractServerRuntimeDelegate.getRuntimeClasspath(AbstractServerRuntimeDelegate.java:146)
at 
org.jboss.ide.eclipse.as.core.server.JBossLaunchConfigurationDelegate.setupLaunchConfiguration(JBossLaunchConfigurationDelegate.java:227)
at 
org.jboss.ide.eclipse.as.core.server.JBossLaunchConfigurationDelegate.setupLaunchConfiguration(JBossLaunchConfigurationDelegate.java:94)
at 
org.jboss.ide.eclipse.as.core.client.TwiddleLauncher.createTwiddleLaunch(TwiddleLauncher.java:112)
at 
org.jboss.ide.eclipse.as.core.client.TwiddleLauncher.launchTwiddles(TwiddleLauncher.java:83)
at 
org.jboss.ide.eclipse.as.core.client.TwiddleLauncher.getTwiddleResults(TwiddleLauncher.java:150)
at 
org.jboss.ide.eclipse.as.core.client.TwiddleLauncher.getTwiddleResults(TwiddleLauncher.java:141)
at 
org.jboss.ide.eclipse.as.core.server.ServerStateChecker.getTwiddleResults(ServerStateChecker.java:284)
at 
org.jboss.ide.eclipse.as.core.server.ServerStateChecker.run(ServerStateChecker.java:107)


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

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


[jboss-user] [Beginners Corner] - Re: ClassCastException with PortableRemoteObject.narrow call

2006-11-15 Thread srki
Hi Peter,

Thank you for your help.

I took a look at my packaging and saw the client ejb jar for a third party 
application somehow landed in my war file and in my ear file.  
As soon as I removed it from the war the problem was solved.

Thank you

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal Stress Results

2006-11-15 Thread [EMAIL PROTECTED]
removing JTA will not give you an extra performance boost as during the commit 
phase, every datasource (actually only the PortalDS) will say nothing has been 
changed and the TM will optmize. So the overhead is very minimal.

Yesterday I improved the way that portal objects and instances are looked up. 
They are lookup up by natural id, which has a significant cost in hibernate 
(and it should not). I have added a cache of natural-id to PK which eliminates 
the hibernate Query object in my profiler hotspot. It's in 2.4.1 branch and 2.6 
trunk.

My advice : you should consider to implement PortalObjectContainer and 
InstanceContainer as read-only in-memory store (well just maps of maps). That 
will give a significant performance boost at the cost of no flexibility (since 
it's immutable.

"walbar" wrote : Anyway we don't need JTA in production since most of our 
portlets' logic would be read-only. We would use JTA during Staging, and in 
that phase we are not interested in performance yet.
  | 
  | So, I'm still interested in knowing where I could remove JTA transactions. 
Would you  help me?
  | 
  | Thanks a lot,
  | 
  | Waldemar

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

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


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

2006-11-15 Thread gregd
Hi everyone. I've been working on Seam integration within ICEfaces for the last 
few months, and this version of ICEfaces contains the code changes necessary to 
allow Seam to work within our AJAX model. 

I think that it's a bit green at the moment, but that there's a great upside to 
be had over the next few months as we come up with some examples and approaches 
that leverage both products' strengths. 

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

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


[jboss-user] [JBoss Seam] - Re: @Log and NullPointerException

2006-11-15 Thread [EMAIL PROTECTED]
@Logger (and much other Seam functionality) is not supported for entities.

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

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


[jboss-user] [JBoss.NET] - Re: JBoss 3.2.7 JBoss.Net: TransportAuthorizationHandler not

2006-11-15 Thread DanielAborg
Evidently it is fine to just not include this handler in your web-service.xml 
config, in case anyone else has a similar problem.

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

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


[jboss-user] [JBoss Seam] - Re: @Log and NullPointerException

2006-11-15 Thread ccanning
I have an @Entity that is a seam managed component @Name and my @Logger is 
null. Is this related to this issue or is it a different issue that I should 
post?

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

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


[jboss-user] [JBoss.NET] - Re: JBoss 3.2.7 JBoss.Net: TransportAuthorizationHandler not

2006-11-15 Thread DanielAborg
Ok, I worked it out 10 seconds after posting this. Doh. It's trying to load 
classes defined in web-service.xml and we're using 
TransportAuthorizationHandler.

Now to figure out why we were using it and why it's no longer included. :-)


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

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


[jboss-user] [JBoss.NET] - JBoss 3.2.7 JBoss.Net: TransportAuthorizationHandler not fou

2006-11-15 Thread DanielAborg
Hi,

I've just upgraded to JBoss 3.2.7 in an attempt to migrate our application to 
higher versions and I'm getting a rather odd exception to do with JBoss.Net.

Since the exception doesn't mention any of our code, I don't even know where to 
start looking for the possible cause of this. The only thing I've managed to 
work out is that TransportAuthorizationHandler is indeed not included in JBoss 
3.2.7 - I just don't understand why the Axis servlet is trying to load it?

Any insights on this would be truly welcome.

Here's the stack trace:

  | org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: 
No ClassLoaders found for: 
org.jboss.net.axis.server.TransportAuthorizationHandler
  | java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.net.axis.server.TransportAuthorizationHandler
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:275)
  | at 
org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:192)
  | at 
org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:136)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:164)
  | at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:216)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
  | at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:120)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:418)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:347)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307)
  | at 
org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:167)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307)
  | at 
org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:483)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307)
  | at 
org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:526)
  | at 
org.jboss.net.axis.Deployment.getServiceInternal(Deployment.java:275)
  | at org.jboss.net.axis.Deployment.getService(Deployment.java:293)
  | at 
org.apache.axis.configuration.FileProvider.getService(FileProvider.java:288)
  | at org.apache.axis.AxisEngine.getService(AxisEngine.java:300)
  | at 
org.apache.axis.MessageContext.setTargetService(MessageContext.java:795)
  | at 
org.apache.axis.handlers.http.HTTPActionHandler.invoke(HTTPActionHandler.java:121)
  | at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  | at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  | at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
  | at org.apache.axis.server.AxisServer.invoke(AxisServer.java:304)
  | at 
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:975)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
  | 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:75)
  | 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:214)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  | at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
  | at 
org.apache.catalina.core.

[jboss-user] [JBoss Seam] - Re: How to impliment a Paged + Sorted DataTable (session) wi

2006-11-15 Thread petemuir
How are you dealing with pagination and sorting?

A couple of suggestions, (2) is much better IMO:

1) Create a new DataBinder for this, with isDirty() returning true always - you 
would only need to extend the DataModelBinder in Seam and override that method

2) Outject the DataModel into Event scope but keep the pagination and sorting 
controls in Conversation scope.  (N.B. Make sure the instance (java) variable 
and context variable are both refreshed)

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

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


[jboss-user] [JBoss Portal] - Re: Seeking answers to a few questions about JBoss & WSRP

2006-11-15 Thread [EMAIL PROTECTED]
Hi Pekka,

"muted" wrote : 
  | Is mandatory registration already possible and the documentation just 
doesn't reflect this yet or are there any patches or hotfixes/hacks that would 
enable us to require registration for the WSRP customers? The system we're 
planning on implementing would require a mandatory registration scheme.
  | 

As specified in the documentation, registration on the producer side is not 
currently supported. It will be, however, as part of Portal 2.6. An alpha 
release containing this feature will be released by the end of 2006. I'd be 
interested in learning about your use cases though and how you intend to 
implement WSRP for your customers.

"muted" wrote : 
  | This is more of a general portlet/WSRP question. We haven't had time to 
test WSRP in action yet, we've just focused on creating some proof-of-concept 
portlets running on JBoss. When a user logs in to the WSRP customer's portal, 
am I correct in assuming that any setAttribute/getAttribute, getRemoteUser and 
similar-methods invoked in the RenderRequest will be based on the WSRP 
customer's session data. The reason I'm asking is that the system would use 
some data from the WSRP customer's user database to focus back-end searches on 
the corrent datasets.

I am not sure I understand your question properly. When you are talking of the 
"WSRP customer's session data" what exactly are you refering to? In JBoss 
Portal, a WSRP portlet (i.e. a portlet that happens to be located on a remote 
portal and interacted with via WSRP) is considered as a regular portlet. What 
this implies is that if you log into the portal that consumes remote portlets 
(the consumer) with a given identity, this will be the identity that will be 
propagated to the portlet via WSRP as long as it is covered by the WSRP 
protocol. Does that answer your question?

Let us know if you need more information.

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

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


[jboss-user] [Security & JAAS/JBoss] - JAAS login page field value

2006-11-15 Thread nipunbatra
Hi

USing Form based authentication when we go to any secure page, we are 
redirected to login
page by server and login page action is j_security_check

After successfull login server redirects the request to secure page,
Now on secure page if I try to do
request.getParamenter("login_page_input_field")  I get null.
Basically I am trying to get  form fields values of login page on my first 
secure page whcih appears after login page.

Thanks
Nipun




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

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


[jboss-user] [Management, JMX/JBoss] - Re: How to find out jboss version after connecting to jboss?

2006-11-15 Thread PeterJ
Look at mbean "jboss.system:type-Server", attribute "Version".

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

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


[jboss-user] [JBoss Seam] - Re: How to impliment a Paged + Sorted DataTable (session) wi

2006-11-15 Thread antispart
Well, my temporary solution is that instead of outjecting a @DataModel I just 
set the value of the DataTable to a method that always refreshs the list.

view:

...

SFSB:

private List sessions;

public String find()   {
   query();
return null;
}

public List getSessions() {
query();
return sessions;
}



This seems to be a reasonably non-ugly solution, but it's not really the "Seam" 
way of doing things, so I'd really love to hear a better way to keep sort 
order, search, rowcount, values (session or conversation scope) while having 
the outjected @DataModel always be the latest (refreshed).

I think, ideally, Seam would provide an annotation to acheive this. Thoughts?

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

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


[jboss-user] [JBoss Seam] - Seam-gen and recursive tables

2006-11-15 Thread y_zl
anonymous wrote : packages an updated seam-gen which includes a totally 
revamped database to application reverse engineering tool based on Hibernate 
Tools 

I tried a simple recursive table test which has a field parent with a foreign 
key to this table's  id column. 

test (id, parent, desc)

then I ran command same generate-entities. it generated some entity homes and 
lists objects as well as some xhtml view files. 

when I used the created xhtml to create a new entity Test. I got ClassNotFound 
Exception

I also tried a none-recursive entiy, it works fine.

thanks a lot!

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal Stress Results

2006-11-15 Thread walbar
Anyway we don't need JTA in production since most of our portlets' logic would 
be read-only. We would use JTA during Staging, and in that phase we are not 
interested in performance yet.

So, I'm still interested in knowing where I could remove JTA transactions. 
Would you  help me?

Thanks a lot,

Waldemar

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

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


[jboss-user] [Management, JMX/JBoss] - How to find out jboss version after connecting to jboss?

2006-11-15 Thread manojverma1991
Is there any MBean and attribute available which can provide the correct and 
upto date version number  of running JBoss?

I need to find out jboss version where I can connect jboss using RMI port.


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

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


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

2006-11-15 Thread [EMAIL PROTECTED]
As I understand it, the ICEfaces guys believe that they already have Seam 
working with ICEfaces (possibly with some caveats) - but you would be better to 
ask them about that than me. I will try to have some kind of ICEfaces example 
in the next release of Seam.

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

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


[jboss-user] [JBoss Seam] - How do I deal with exceptions when using the SAF?

2006-11-15 Thread ccanning
I have to override the standard persistence mechanisms to get my persistence to 
work, but that requires some exceptions to be thrown and some messages to be 
sent back to the user. How do I deal with this in the SAF context? Does it 
require me to make my exceptions RuntimeExceptions? Is there a way to tie 
business level validation into the regular validation mechanisms? Thanks.

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

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


[jboss-user] [JBoss Seam] - How to impliment a Paged + Sorted DataTable (session) withou

2006-11-15 Thread antispart
I have what must be a fairly typical usecase.

1. User starts at search / list page.
2. Selects an object from list and modifies it
3. Returns to search / list page.

Now, I can get this to work with something similar to the Booking example. 

SFSB

@DataModel
private List sessions;

@Factory("playerSessions")
@Observer("dataChanged")
public String find()   {
query();
return null;
}

Another SFSB:
public String create() {
...
events.raiseEvent("dataChanged");
...
}

The problem lies when the backing data is modified outside the application or 
by another user and hence the "dataChanged" event is never fired, the @Observer 
on the find() method is never triggered and the data is stale upon subsequent 
requests.

Now, this problem goes away if I stick the SFSB that outjects the @DataModel 
into Event Scope, but then things like sort order and number of rows gets lost 
between requests.

So, I thought maybe using PAGE scope for the @DataModel and Session Scope for 
the SFSB that outjects the @DataModel, but the factory method on the @DataModel 
still doesnt get invoked when the page is loaded the 2nd time. And, obviously, 
a paged scoped Action bean cannot be stateful.

So, I'm not quite sure what to do. I know I can , for example, put an object in 
session scope that tracks sort order, etc for each list but that feels pretty 
ugly. 

Is there an excepted pattern for this?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Trouble starting up JBoss

2006-11-15 Thread Azavia
Hi,

I've just recently installed JBoss, and the eclipse ide with the jboss plugins.

I'm having trouble getting JBoss started though. When I installed it, I used 
the jems installation package, and specified the ejb3-clustered install. It 
doesn't seem the "all" option includes ejb3, and I wanted ejb3.

I specified MySQL for the datasource, and put the appropriate .jar file in 
server/default/lib

When I try to start JBoss from within Eclipse, it says it fails. The console 
contains the following:

13:59:07,921 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 13:59:07,921 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: 
CVSTag=Branch_4_0 date=200610162339)
  | 13:59:07,937 INFO  [Server] Home Dir: C:\Program Files\jboss-4.0.5.GA
  | 13:59:07,937 INFO  [Server] Home URL: file:/C:/Program Files/jboss-4.0.5.GA/
  | 13:59:07,937 INFO  [Server] Patch URL: null
  | 13:59:07,937 INFO  [Server] Server Name: default
  | 13:59:07,937 INFO  [Server] Server Home Dir: C:\Program 
Files\jboss-4.0.5.GA\server\default
  | 13:59:07,937 INFO  [Server] Server Home URL: file:/C:/Program 
Files/jboss-4.0.5.GA/server/default/
  | 13:59:07,937 INFO  [Server] Server Log Dir: C:\Program 
Files\jboss-4.0.5.GA\server\default\log
  | 13:59:07,937 INFO  [Server] Server Temp Dir: C:\Program 
Files\jboss-4.0.5.GA\server\default\tmp
  | 13:59:07,937 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 13:59:08,312 INFO  [ServerInfo] Java version: 1.6.0-rc,Sun Microsystems Inc.
  | 13:59:08,312 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.6.0-rc-b104,Sun Microsystems Inc.
  | 13:59:08,312 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 13:59:08,734 INFO  [Server] Core system initialized
  | 13:59:10,109 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 13:59:11,031 INFO  [SocketServerInvoker] Invoker started for locator: 
InvokerLocator [socket://127.0.0.1:3873/]
  | 13:59:11,406 INFO  [AspectDeployer] Deployed AOP: file:/C:/Program 
Files/jboss-4.0.5.GA/server/default/deploy/ejb3-interceptors-aop.xml
  | 13:59:15,015 INFO  [AspectDeployer] Deployed AOP: file:/C:/Program 
Files/jboss-4.0.5.GA/server/default/deploy/tc5-cluster.sar/tc5-cluster.aop
  | 13:59:15,625 INFO  [DefaultPartition] Initializing
  | 13:59:15,859 INFO  [STDOUT] 
  | ---
  | GMS: address is localhost:1390 (additional data: 14 bytes)
  | ---
  | 13:59:18,046 INFO  [DefaultPartition] Number of cluster members: 1
  | 13:59:18,046 INFO  [DefaultPartition] Other members: 0
  | 13:59:18,046 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
  | 13:59:18,046 INFO  [DefaultPartition] State could not be retrieved (we are 
the first member in group)
  | 13:59:18,109 INFO  [HANamingService] Started ha-jndi bootstrap 
jnpPort=1100, backlog=50, bindAddress=localhost/127.0.0.1
  | 13:59:18,125 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening 
on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
  | 13:59:18,296 INFO  [WebService] Using RMI server codebase: 
http://localhost:8083/
  | 13:59:18,453 WARN  [TreeCache] Using deprecated config element 
CacheLoaderFetchPersistentState.  This element will be removed in future, 
please use CacheLoaderConfiguration instead.
  | 13:59:18,453 WARN  [TreeCache] Using legacy cache loader config mechanisms.
  | 13:59:18,453 WARN  [TreeCache] Using deprecated config element 
CacheLoaderFetchTransientState.  This element will be removed in future, 
replaced with FetchInMemoryState.
  | 13:59:18,453 WARN  [TreeCache] Calls to setFetchStateOnStartup are ignored; 
configure state transfer using setFetchInMemoryState and any cache loader's 
FetchPersistentState property
  | 13:59:18,453 WARN  [TreeCache] Using deprecated config element 
CacheLoaderClass.  This element will be removed in future, please use 
CacheLoaderConfiguration instead.
  | 13:59:18,468 WARN  [TreeCache] Using deprecated config element 
CacheLoaderConfig(Properties).  This element will be removed in future, please 
use CacheLoaderConfiguration instead.
  | 13:59:18,468 WARN  [TreeCache] No transaction manager lookup class has been 
defined. Transactions cannot be used
  | 13:59:18,500 WARN  [TreeCache] Using deprecated configuration element 
'EvictionPolicyProvider'.  This is only provided for 1.2.x backward 
compatibility and may disappear in future releases.
  | 13:59:18,562 INFO  [InterceptorChainFactory] interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.EvictionInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.CacheLoaderInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.CacheStoreInterceptor
  | class 

[jboss-user] [Management, JMX/JBoss] - can SchedulableMBeanMethod throw exception?

2006-11-15 Thread ajay662
Can the SchedulableMBeanMethod method throw exception? If so, what action does 
the MBeanServer take upon such an exception? Will MBean continue to get 
subsequent schedule triggers?

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

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


[jboss-user] [JBoss Seam] - Re: Exception when using @EJB (or JNDI to inject a session b

2006-11-15 Thread germit
sorry,

do not want to bother anyone with nothing. i just recognized, that the latest 
CVS ist not the first line in the list of CVS packages. very sorry for this 
confusion...

regards

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

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


[jboss-user] [EJB 3.0] - How to find out the jndi name of the session bean asking

2006-11-15 Thread mwoelke
Hi,
does someone know how to find out the jndiname of a session bean from within 
one of its business methods. Or is it possible to find out what ear the session 
bean was deployed with?

Regards, Milan Wölke

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

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

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


[jboss-user] [JBoss Seam] - Re: Class not found org/jboss/seam/util/Validation

2006-11-15 Thread Dabubble
Right forgot to update that jar in one place.

Thanks for the quick reply.

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

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


[jboss-user] [JBoss Portal] - Re: XML not permitted in a portlet preference value?

2006-11-15 Thread free1000
In my posting my entity references were replaced with brackets in case 1 which 
should have read (ignoring my extra spaces). 

& lt ; column-definitions / & gt ;  

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

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


[jboss-user] [JBoss Portal] - XML not permitted in a portlet preference value?

2006-11-15 Thread free1000
I'd like to add an XML fragment inside a portlet preference in portlet.xml but 
any XML content is unavailable when trying to get the preference. 

In all the following approaches the data in the value element is not available 
via the portlet preferences. 

I've tried the following content in the portlet.xml file 

1 :  entity references rather than brackets. 



2 : unescaped XML text 



3 : XML in a CDATA section  



but none worked. 


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

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


[jboss-user] [JBoss Seam] - Re: Class not found org/jboss/seam/util/Validation

2006-11-15 Thread [EMAIL PROTECTED]
That class no longer exists, and is no longer used anywhere. Update ALL src 
directories.

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

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


[jboss-user] [JBoss Seam] - Re: Class not found org/jboss/seam/util/Validation

2006-11-15 Thread Dabubble
Here's the stack trace (I'm using JBoss 4.0.5 and seam 1.1.0 BETA2)


  | 18:12:38,270 INFO  [SeamExceptionFilter] killing transaction
  | 18:12:38,320 ERROR [SeamExceptionFilter] uncaught exception handled by Seam
  | javax.servlet.ServletException: org/jboss/seam/util/Validation
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:63)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:91)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.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(Thread.java:595)
  | 18:12:38,320 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
  | java.lang.NoClassDefFoundError: org/jboss/seam/util/Validation
  | at org.jboss.seam.ui.ModelValidator.validate(ModelValidator.java:75)
  | at 
javax.faces.component._ComponentUtils.callValidators(_ComponentUtils.java:157)
  | at javax.faces.component.UIInput.validateValue(UIInput.java:312)
  | at javax.faces.component.UIInput.validate(UIInput.java:353)
  | at javax.faces.component.UIInput.processValidators(UIInput.java:183)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at javax.faces.component.UIForm.processValidators(UIForm.java:70)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:146)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:262)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:63)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:91)
  | 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.

[jboss-user] [JBoss Portal] - Re: JBoss Portal Stress Results

2006-11-15 Thread walbar
Those tests were performed on the 2.6 trunk version Julien mentioned above.

In order to use JBoss Portal in my project I need better performance. I'm 
trying to guess how much it could give by tuning, caching, etc. From 0.96 p/s 
(in my first post) to 15p/s on version 2.6 there is a great improve but I would 
like to know if we would be able to push it further.

You are right, if removing JTA will break most of the protlets, then I guess 
that test is useless since it would be too far from the real environment.

Regards,

Waldemar

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

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


[jboss-user] [JBoss Seam] - Re: more seam resolver issues - how to handle a list that is

2006-11-15 Thread [EMAIL PROTECTED]
Sorry, but I'm not going to write your code for you. There is *nothing* here 
that the example applications are not doing, so please follow the examples.

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

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


[jboss-user] [JBoss Seam] - Class not found org/jboss/seam/util/Validation

2006-11-15 Thread Dabubble
I can't seam to find this class anywhere.

I made an update from the CVS just minutes ago.

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

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


[jboss-user] [JBoss Seam] - Re: Exception when using @EJB (or JNDI to inject a session b

2006-11-15 Thread [EMAIL PROTECTED]
I do not believe that the bug discussed in this thread is not already fixed in 
CVS. And you guys havnt shown any evidence otherwise (logs, stacktraces, code, 
minimal test cases to reproduce the problem, etc.)

Right now you are talking to yourselves.

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

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


  1   2   3   >