[jboss-user] [JBossWS] - Re: JSR 181 JBoss 4.0.4

2006-10-11 Thread ax666
I'm having a similar issue. Whatever throws I declare in the @WebMethod, if 
it's a custom exception or just Throwable, it deploys fine, but I can't create 
a webservice client from the wsdl because it says "The part 'Throwable' has an 
invalid value 'Throwable' defined for this element."
I'm using JbossIDE2 for client generation.
Please, any help is appreciated.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server can't be connected to from other machines b

2006-10-11 Thread JTeknoslacker
I am having the same problem.. THis didn't happen with 3.2.3

I have tried changing the hostname in the server configuration, but that 
doesn't work.

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
Yes, but as already well discussed and documented, putFailFast is and has 
always been a hack job ;)  

---

As I said, I have not yet had time to really think through all the various use 
cases for SYNCH vs ASYNCH of these putFromExternalRead() calls.

In general, yes, all database writes result in a cache write (there are some 
cases that will result in a cache invalidation...).  Furthermore, this will 
result in the region being write locked by TreeCache for the remainder of the 
transaction *on the same node* (TreeCache does *not* provide a distributed lock 
manager).

In my mind the general process here would be:
1) get an intention lock (or even re-use write lock here, if it is truly that 
'symbolic') when you did the get() if no node/data existed
2) get db state
3) put state into cache, releasing the intention lock
In which case we'd need a way to specify our "do a get and acquire such an 
intention lock if no such node/data is found" requirement.  Flash-to-bang I do 
not feel comfortable with having them be seperate operations, i.e.:
Object state = cache.get(fqn); 
if ( state == null ) { 
cache.intentionLock(fqn);
state = ...;
}
Instead, maybe something like:
Object state = cache.getWithIntention(fqn);
if ( state == null ) {
state = readFromExternal();
cache.putFromExternalRead(fqn,state); // releases lock
}
...
?

Additionally, I'd throw in that really you and I are simply proposing different 
"ignore it" solutions to an exception condition.  Perhaps we need to call a 
spade a spade and actually throw an exception in this case.  There is not a 
time I can think of where I do a read from the cache, see no data, read from 
the database, go to put that db data into the cache and find data now in the 
cache where the overall outcome is anything desireable.  Maybe a simple 
replication of the cache fill event from another node is ok?  But, in general, 
simply "not replacing" the data just delays the inevitable.  On the other hand, 
the "locking" approach makes this consitent at least.  The one corner case I 
see right now is what do to with a replication event where the node has such an 
intention lock.  



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

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


[jboss-user] [JBoss jBPM] - Re: sessions and forks

2006-10-11 Thread pedrosacosta
Hi Saviola, 

I've already saw this methods, but, let me rephrase the question.

The problem is, i've the sibling tokens of the Fork, saved in the DB. The part 
of the workflow inside the fork may have different levels, and the sibling 
tokens can be pointing to different levels of the running path inside the fork.

I want to retrieve the sibling tokens that are saved in the DB. How can i get 
them?


  | 
  | Token forkToken = rootToken;
  | forkToken.getActiveChildren() 
  | 
 is the right method? 

Thanks,
Pedro

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

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


[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-11 Thread shundavid
I'm getting the same errors as all you guys. I've downloaded the new 
seam-gen.zip file. I've unchecked the dependencies you said so. And still 
nothing!

What's going on with you jboss people? neither this seam-gen nor the Reverse 
Engineer tool works.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Configuring JBossMQ with Tomcat

2006-10-11 Thread mr_aravinth
Hi,

I want to configure JBossMQ with Tomcat as the project requirement needs it 
that way. Could any body assist me on how I should do this? I searched throught 
the internet for information, but I can't find even 1 link explaining about 
this.

This is an urgent need for me. Any help will be appreciated. Thanx in advance.

- Aravinth.

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

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


[jboss-user] [JBossCache] - MySQL replication and JBoss Cache Pattern

2006-10-11 Thread nicpottier

I'm trying to build a highly available and scalable simple store using JBoss 
Cache backed by mySQL and I can't help but get the feeling that I'm reinventing 
a wheel that has no doubt been built before.

My requirements are:
 * high availability - a single box dying will not cause loss of data (minutes 
of data loss is ok however)
 * ~linear scalability - speed of gets can scale linearly with the # of cache 
nodes
 * it's ok for puts to be bound by DB

My current thinking is to use JBossCache in a 'buddy' mode, backed by 2+ MySql 
nodes replication to each other.  The cache boxes would be dedicated for 
caching and accessed via a simple client API.

The client would hash it's 'key' and connect to the same cache node when doing 
puts and gets on the same key.  Writes would write through to the MySQL DB, 
which would then replicate to one or more others.

In the event of a node going down (with it's MySQL DB) then the client would 
detect this (or a load balancer would) and new requests would go to another 
Node.  In theory, one of the 'buddies' should have the data available for fast 
lookup, but worst case it could come from the replicated DB.

Does this sound sane?  How have others combined a replicated MySQL DB with 
JBoss Cache to atain these goals?

-Nic

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

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


[jboss-user] [JBossCache] - S3CacheLoader

2006-10-11 Thread nicpottier
 If anybody is interested, I've written a cache loader for Amazon's S3.  Just 
an experiment on my side and haven't spent much time playing with it, but it 
does pass CacheLoaderTestsBase.

If anybody wants the source, send me a PM.  It's nothing fabulous and is 
liberrally ripped from the S3 sample code and the JDBCCacheLoader, but it seems 
functionally complete.

Could be an interesting CacheLoader to include in the distribution.

-Nic

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ERROR: invalid byte sequence for encoding "UTF8": 0x00

2006-10-11 Thread dsailer
I am using EJB3/Hibernate in a query that gets the error in the subject line. 
The query is:
+
19:39:06,199 INFO [JukeboxManagerEJB] looking for genre named
19:39:06,202 INFO [STDOUT] Hibernate: select genrepojo0_.genre_id as 
genre1_218_, genrepojo0_.name as name218_ from genre genrepojo0_ where 
upper(genrepojo0_.name)=?
19:39:06,208 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 22021
19:39:06,208 ERROR [JDBCExceptionReporter] ERROR: invalid byte sequence for 
encoding "UTF8": 0x00

+
The EJB method call looks like this:

public Genre getGenreByName(String name)
{
Genre genre = BeanFactory.makeGenre();

logger.info("looking for genre named <" + name + ">");

if (name != null)
{
Query query = em.createQuery("SELECT OBJECT(c) FROM GenrePojo c WHERE 
UPPER(name) = ?1");

query.setParameter(1,name.toUpperCase());
logger.info("did the parm get set for genre query");
try
{
genre = (GenrePojo)query.getSingleResult();
}
catch(javax.persistence.NoResultException e)
{
logger.info("no result exception");
}
catch(javax.persistence.NonUniqueResultException e)
{
logger.info("not unique");
}
}

logger.info("found this genre at id <" + genre.getGenreId() + ">");

return genre;
}

+++

The full stack trace back to the application is:

ate.exception.DataException: could not execute query; CausedByException is:
org.hibernate.exception.DataException: could not execute query
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.
java:62)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java
:78)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:10
6)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:227)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandle
r.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
Caused by: javax.persistence.PersistenceException: 
org.hibernate.exception.DataException: could not e
xecute query
at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManage
rImpl.java:567)
at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:72)
at 
net.hscsi.jukebox.manager.ejb.JukeboxManagerEJB.getGenreByName(JukeboxManagerEJB.java:184)
at sun.reflect.GeneratedMethodAccessor1167.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.
java:63)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEn
tityManagerInterceptor.java:54)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at 
org.jboss.aop.joinpoint.MethodInvo

[jboss-user] [EJB 3.0] - List in EJB3 Entity:

2006-10-11 Thread adamcc
Hi all,

Please forgive this newbie post - I have searched the forum and the 
tutorials/specification for an answer without success.  I'm sure the solution 
must be something simple.

I'm trying to make an entity that has a collection of objects as one of it's 
attributes:
package ch.adamcc.planeres2.entity;
  | 
  | import java.util.ArrayList;
  | import java.util.List;
  | 
  | import javax.persistence.Entity;
  | import javax.persistence.Id;
  | 
  | @Entity
  | public class SimpleEntity {
  | private long _id;
  | private String _stringField;
  | private List _stringList;
  | private long[] _longArray;
  | 
  | public SimpleEntity()
  | {
  | _stringList = new ArrayList();
  | _longArray = new long[2];
  | }
  | 
  | @Id
  | public long getId() {
  | return _id;
  | }
  | 
  | public void setId(long id) {
  | _id = id;
  | }
  |
  | public String getStringField() {
  | return _stringField;
  | }
  | 
  | public void setStringField(String stringField) {
  | _stringField = stringField;
  | }
  | 
  | public List getStringList() {
  | return _stringList;
  | }
  | 
  | public void setStringList(List stringList) {
  | _stringList = stringList;
  | }
  | 
  | public long[] getLongArray() {
  | return _longArray;
  | }
  | 
  | public void setLongArray(long[] longArray) {
  | _longArray = longArray;
  | }
  | }

When I deploy the entity I get the following exception:
2006-10-11 15:02:47,115 WARN  [org.jboss.system.ServiceController] Problem 
starting service 
persistence.units:ear=planeres2.ear,jar=planeres2.jar,unitName=planeres2-persistence-unit
  | javax.persistence.PersistenceException: org.hibernate.MappingException: 
Could not determine type for: java.util.List, for columns: 
[org.hibernate.mapping.Column(stringList)]
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:695)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy77.start(Unknown Source)
  | at 
org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96)
  | at 
org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:467)
  | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:317)
  | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor63.invoke

[jboss-user] [Installation, Configuration & Deployment] - Question about running Patch Installer

2006-10-11 Thread arunasreeram


How can you tell which patch number (for example RC 9 ) does the latest  Patch 
installer at http://labs.jboss.com/portal/jbosas/download include? 
I tried looking at the release notes as part of the installer's wizard and I 
couldn't tell.

-A

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

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


[jboss-user] [JNDI/Naming/Network] - Re: jndi look up for a web application

2006-10-11 Thread jaikiran
anonymous wrote : Iam calling this in my springs application with jndi name 
"java:comp/env/EDBServer" 

The datasource will be bound to java:/EDBServer. So you will have to use this 
jndi name

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

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


[jboss-user] [JBossCache] - Re: Replication doesn't work even with the sample code provi

2006-10-11 Thread [EMAIL PROTECTED]
Does JGroups work in the first place?

See:

http://www.jgroups.org/javagroupsnew/docs/newuser/node6.html

and

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

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss-3.2.6 Problem w/ConfiguringMultipleJBossInstancesO

2006-10-11 Thread PeterJ
I think that some other software already had port 8000 open. You can use 
netstat to find that out.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException after redeploy

2006-10-11 Thread jaikiran
If you packaging your war inside the ear(which also includes the ejb jars), 
then the remote/home interfaces need not be in the war file, since the war is 
*part of the ear application* which contains the necessary interfaces. However 
if you want the war to be a separate archive(outside the ear), then you will 
have to ship the remote/home interfaces of these ejbs since your war is no 
longer a part of the ear application - the war and the ear will act as two 
separate independent applications



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

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


[jboss-user] [JNDI/Naming/Network] - Re: jndi look up for a web application

2006-10-11 Thread knotwithvenki

Sorry in the above file the as password tag is missing which should be there 
after  tag,so i am including that tag

test

Please help me ...
Thanks,
yvk



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

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


[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException after redeploy

2006-10-11 Thread ahachmann
Yes, that helped. Thank you.

Does this mean, that I have to build different packages if I wish to deploy one 
of those Packages on a diferent Server?

I hoped, that I could simply put this Package on a different Server and
remap the JNDI Name to the remote object. But for this Situation there are 
the Interfaces missing.

So this was not where its going with EJB3?

Regards,
  Alexander

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

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


[jboss-user] [JNDI/Naming/Network] - jndi look up for a web application

2006-10-11 Thread knotwithvenki
Hi,

Iam developing one web application in springs using jboss4.0.2 as application 
server.

In that i have to use jndi name of database configuration.

Iam using EnterpriseDB(open source rdbms) database.

So i built one xml file enterprise-ds.xml and placed in default/deploy folder.

enterprise-ds.xml
--




  
EDBServer
jdbc:edb://localhost:5444/edb
com.edb.Driver
test
test




  





Iam calling this in my springs application with jndi name 
"java:comp/env/EDBServer"

But it is giving problems.

Do i need to make any other configurations  in web.xml and other files?.

I have seen in one of the post jboss-web.xml is also to be modified. Where 
exactly this file is?. There are many files with this name.

Any help regarding this is appreciated.

Thanks,
yvk




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

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


[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and remote client EJB access

2006-10-11 Thread dhartford
Also tested UsernamePasswordHandler with same server-side issue/remoting issue.

Since my requirements need LDAP authentication, kinda stuck.



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

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


[jboss-user] [JBoss Seam] - Re: Seam & clustering

2006-10-11 Thread [EMAIL PROTECTED]
I mean to add some clarification to the docs on this.

The use of CONVERSATION-scoped or SESSION-scoped Entity Bean Seam components is 
not considered truly cluster-safe.

If you need to be cluster safe, hold the reference to the entity bean inside a 
stateful session bean (in any version of Seam) or inside a JavaBean Seam 
component that implements Mutable (in Seam 1.1).

This is why we recommend the use of stateful session beans: they are the best 
way to achieve cluster-safe-ness of conversation-scoped state.

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

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


[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?

2006-10-11 Thread Olivier_Debels
anonymous wrote : "Olivier_Debels" wrote : And what if the task def is not 
defined in a task node?  I don't think a ref to task defs is possible. 
  |   | 
  |   | Just wandering if the task/task node link as it exists now can' t be 
extended.
  | 
  | Not sure if I follow you with this one.  If a task def is not linked to a 
task node, it would just be the process task like we talked about.  It would 
still be created (if using our flag idea) conditionally, depending on if the 
user creates the instances, or a task event, etc.

Never mind, I was just thinking about splitting definition of a task and 
linkage to a node (task node).  Anyway at some point you need to define the 
link.

Greetz,

Olivier.

anonymous wrote : 

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

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


[jboss-user] [JBoss Seam] - Re: Problem with decrementing dates

2006-10-11 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-405

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

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


[jboss-user] [JBossCache] - Replication doesn't work even with the sample code provided

2006-10-11 Thread mitra123
Hi,
I am having this problem and I am almost certain it is the environment which we 
currently are testing JBOSSCache but the issue is that we are not able to 
replicate the data from cache1 to cahce2.

I have even reverted back into using the sample code that is included in the 
download (studentMainTest.java)

Updating the data in cache1 is not replicated to cache2.

The initial data is replicated when the 2 cache are created but after that any 
changes made in cache 1 doesn't get replicated to cache2.

Could you please point me in the right direction to fix this problem.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss-3.2.6 Problem w/ConfiguringMultipleJBossInstancesO

2006-10-11 Thread AndrewBoyd
I went ahead and changed my Connector port to 8100 on my second node and it 
works fine. 

Looks like the wiki needs an update.


Thanks,

Andrew

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

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


[jboss-user] [JBoss Seam] - Re: How can I create seam context etc in httpservlet

2006-10-11 Thread [EMAIL PROTECTED]
This is the right way.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler sing

2006-10-11 Thread fkhan

  | 
  | 
  | 
  | 
  | 
  |
  |  orb
  |  jboss:service=Naming
  |
  | 
  |
  |  dashboard
  |  jboss:service=Naming
  |
  | 
  |
  |  marketWatcher
  |  jboss:service=Naming
  |
  | 
  |
  |  weatherGlass
  |  jboss:service=Naming
  |
  | 
  |
  |  weatherWizard
  |  jboss:service=Naming
  |
  |
  |
  |  easyStreet
  |  jboss:service=Naming
  |
  |
  |
  | 
  | 
  |
  |  aimStatus
  |  jboss:service=Naming
  |
  | 
  |
  |  airQuality
  |  jboss:service=Naming
  |
  | 
  |
  |  buddyStatus
  |  jboss:service=Naming
  |
  |
  |
  |  currentHumidity
  |  jboss:service=Naming
  |
  |
  |
  |  currentTemperature
  |  jboss:service=Naming
  |
  |
  |
  |  currentVisibility
  |  jboss:service=Naming
  |
  |
  |
  |  currentWindSpeed
  |  jboss:service=Naming
  |
  |
  |   
  |  dollarVsEuro
  |  jboss:service=Naming
  |
  |
  |
  |  financialInstrument
  |  jboss:service=Naming
  |
  |
  |
  |  fiveDayWeatherForecast
  |  jboss:service=Naming
  |
  |
  |
  |  fiveRouteJamFactor
  |  jboss:service=Naming
  |
  | 
  |
  |  fiveSkiHillPowder
  |  jboss:service=Naming
  |
  | 
  |
  |  genericNewsFutures
  |  jboss:service=Naming
  |
  | 
  |
  |  googleSearchHits
  |  jboss:service=Naming
  |
  | 
  |
  |  incidentSpeedCitywideTrafficChannel
  |  jboss:service=Naming
  |
  | 
  |
  |  mobileMinutesRemaining
  |  jboss:service=Naming
  |
  | 
  |
  |  myPortfolio
  |  jboss:service=Naming
  |
  | 
  |
  |  myTrafficRoute
  |  jboss:service=Naming
  |
  |
  |
  |  overallPollen
  |  jboss:service=Naming
  |
  |
  |
  |  skiBasePowder
  |  jboss:service=Naming
  |
  |
  |
  |  stockPercentChange
  |  jboss:service=Naming
  |
  |
  |
  |  theirForecast
  |  jboss:service=Naming
  |
  |
  |
  |  todaysConditionsWeatherForecast
  |  jboss:service=Naming
  |
  |
  |
  |  todaysHighWeatherForecast
  |  jboss:service=Naming
  |
  | 
  |
  |  todaysUVForecast
  |  jboss:service=Naming
  |
  |
  |
  |  todaysWindSpeedWeatherForecast
  |  jboss:service=Naming
  |
  |
  |
  |  waveHeight
  |  jboss:service=Naming
  |
  |
  |
  |  weekendForecast
  |  jboss:service=Naming
  |
  | 
  |
  |  trafficChannel
  |  jboss:service=Naming
  |
  |
  |
  |  PGandEChannel
  |  jboss:service=Naming
  |
  |
  |
  |  SCEChannel
  |  jboss:service=Naming
  |
  | 
  |
  |  SDGandEChannel
  |  jboss:service=Naming
  |
  | 
  |
  | 
  | basic
  | weatherBeacon
  | 1450079
  | 1450079
  | ambient/pager/BasicBeaconMetrocall
  | jboss:service=Naming
  | 
  |  
  | 
  | basic
  | easyStreet
  | 1450246
  | 1450218
  | ambient/pager/BasicEasyStreetMetrocall
  | com.ambientdevices.wine.devicetype.devices.EasyStreet$FlexpinFilter
  | jboss:service=Naming
  | 
  | 
  | 
  | premium
  | easyStreet
  | 9
  | 1
  | ambient/pager/PremiumEasyStreetMetrocall
  | jboss:service=Naming
  | 
  | 
  | 
  | 
  | basic
  | dashboard
  | 1900900
  | 1450078
  | ambient/pager/BasicDashboardMetrocall
  | jboss:service=Naming
  | 
  | 
  | 
  | premium
  | dashboard
  | 1901864
  | 1900767
  | ambient/pager/PremiumDashboardMetrocall
  | jboss:service=Naming
  | 
  | 
  | 
  | basic
  | orb
  | 1830702
  | 1618430
  | ambient/pager/BasicOrbMetrocall
  | jboss:service=Naming
  | 
  | 
  | 
  | basic
  | weatherGlass
  | 1450075
  | 1661346
  | ambient/pager/BasicWeatherGlassMetrocall
  | jboss:service=Naming
  | 
  | 
  | 
  | premium
  | weatherGlass
  | 1612137
  | 1902523
  | ambient/pager/PremiumWeatherGlassMetrocall
  | jboss:service=Naming
  | 
  | 
  | 
  | 
  | basic
  | weatherWizard
  | 1350062
  | 1450357
  | ambient/pager/BasicWeatherWizardMetroca

[jboss-user] [Installation, Configuration & Deployment] - Re: Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler sing

2006-10-11 Thread fkhan
we are using JDK5, and aren't in the position to roll back to 1.4.2

maybe I have something configured wrong.  We have a single SAR with a single 
jboss-service.xml (whose contents are below) in the META-INF directory of the 
SAR .  At the top of the file we declare multiple non-scheduled services, then 
at the bottom of the file various schedulable services are declared.

At start up it seem the schedulables are sequentially started, and if any one 
of them hangs all other activity stops.







   
 orb
 jboss:service=Naming
   

   
 dashboard
 jboss:service=Naming
   

   
 marketWatcher
 jboss:service=Naming
   

   
 weatherGlass
 jboss:service=Naming
   

   
 weatherWizard
 jboss:service=Naming
   
   
   
 easyStreet
 jboss:service=Naming
   
   
   


   
 aimStatus
 jboss:service=Naming
   

   
 airQuality
 jboss:service=Naming
   

   
 buddyStatus
 jboss:service=Naming
   
   
   
 currentHumidity
 jboss:service=Naming
   
   
   
 currentTemperature
 jboss:service=Naming
   
   
   
 currentVisibility
 jboss:service=Naming
   
   
   
 currentWindSpeed
 jboss:service=Naming
   
   
  
 dollarVsEuro
 jboss:service=Naming
   
   
   
 financialInstrument
 jboss:service=Naming
   
   
   
 fiveDayWeatherForecast
 jboss:service=Naming
   
   
   
 fiveRouteJamFactor
 jboss:service=Naming
   

   
 fiveSkiHillPowder
 jboss:service=Naming
   

   
 genericNewsFutures
 jboss:service=Naming
   

   
 googleSearchHits
 jboss:service=Naming
   

   
 incidentSpeedCitywideTrafficChannel
 jboss:service=Naming
   

   
 mobileMinutesRemaining
 jboss:service=Naming
   

   
 myPortfolio
 jboss:service=Naming
   

   
 myTrafficRoute
 jboss:service=Naming
   
   
   
 overallPollen
 jboss:service=Naming
   
   
   
 skiBasePowder
 jboss:service=Naming
   
   
   
 stockPercentChange
 jboss:service=Naming
   
   
   
 theirForecast
 jboss:service=Naming
   
   
   
 todaysConditionsWeatherForecast
 jboss:service=Naming
   
   
   
 todaysHighWeatherForecast
 jboss:service=Naming
   

   
 todaysUVForecast
 jboss:service=Naming
   
   
   
 todaysWindSpeedWeatherForecast
 jboss:service=Naming
   
   
   
 waveHeight
 jboss:service=Naming
   
   
   
 weekendForecast
 jboss:service=Naming
   

   
 trafficChannel
 jboss:service=Naming
   
   
   
 PGandEChannel
 jboss:service=Naming
   
   
   
 SCEChannel
 jboss:service=Naming
   

   
 SDGandEChannel
 jboss:service=Naming
   

   

basic
weatherBeacon
1450079
1450079
ambient/pager/BasicBeaconMetrocall
jboss:service=Naming

 

basic
easyStreet
1450246
1450218
ambient/pager/BasicEasyStreetMetrocall
com.ambientdevices.wine.devicetype.devices.EasyStreet$FlexpinFilter
jboss:service=Naming



premium
easyStreet
9
1
ambient/pager/PremiumEasyStreetMetrocall
jboss:service=Naming




basic
dashboard
1900900
1450078
ambient/pager/BasicDashboardMetrocall
jboss:service=Naming



premium
dashboard
1901864
1900767
ambient/pager/PremiumDashboardMetrocall
jboss:service=Naming



basic
orb
1830702
1618430
ambient/pager/BasicOrbMetrocall
jboss:service=Naming



basic
weatherGlass
1450075
1661346
ambient/pager/BasicWeatherGlassMetrocall
jboss:service=Naming



premium
weatherGlass
1612137
1902523
ambient/pager/PremiumWeatherGlassMetrocall
jboss:service=Naming




basic
weatherWizard
1350062
1450357
ambient/pager/BasicWeatherWizardMetrocall
jboss:service=Naming



premium
weatherWizard
1450076
1450211
ambient/pager/PremiumWeatherWizardMetrocall
jboss:service=Naming




   

   
 ambient/billing/BillingServer
 jboss:service=Naming
   


   
   

 


  

true
jboss:type=accuweather,name=CurrentWeatherPoller
hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
NOW
90
-1






true
jboss:type=accuweather,name=AirQualityPoller
hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, ja

[jboss-user] [JBoss Seam] - Re: no application context with latest seam version

2006-10-11 Thread [EMAIL PROTECTED]
AFAICT, more problems due to the stupid, fragile myfaces "extensions" 
disobeying the JSF lifecycle.


Better to just not use that broken stuff.

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

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


[jboss-user] [JBoss Portal] - Re: isolating portal from others ear application

2006-10-11 Thread cpage
ear-deployer :

  |
  |
  |   
  |   true
  |   
  |   true
  |
  | 

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

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


[jboss-user] [JBossWS] - Problem migrating from old JBoss Webservice to new on

2006-10-11 Thread reinerka
Hi,

we're having some trouble moving from the old style Webservice (as was present 
up to JBossAS 4.0.4RC1 to the new JBoss Webservice.

We have an application that makes heavy use of the javax.xml.soap API. While 
the old AXIS based implementation did send correct messages the new one is 
giving us problems that will cause our applications to break.

In the old AXIS implementation there was no line termination data appended as 
we set the Content-Length information in the header. In the new implementation 
there is a numeric ending data appended that will cause the receiver (based on 
gSOAP) to sometimes miss data elements that are wrapped to a new line.

Is there a way to get rid of those numeric end sequences that are transmitted? 
If not we can't continue supporting JBoss for our application and must migrate 
to a different application server moving forward.

Thank you,
Reiner

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss-3.2.6 Problem w/ConfiguringMultipleJBossInstancesO

2006-10-11 Thread AndrewBoyd
What about \jbossweb-tomcat50.sar\service.xml?

here is an except:

  | 
  | 
  |   
  |   
  | 

It would seem like I need to change this setting.  This wasn't mentioned in the 
wiki article.

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

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


[jboss-user] [JBoss Seam] - Re: SEAM and JBoss ESB

2006-10-11 Thread [EMAIL PROTECTED]
Currently Seam does not have any WS support. However, Seam/WS is coming very 
soon, and will be designed to work elegantly with JBoss ESB. The philosophy of 
Seam is not not re-build functionality when we can instead re-use.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Next Release

2006-10-11 Thread [EMAIL PROTECTED]
There will be a beta release this month.

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

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


[jboss-user] [JBoss Portal] - isolating portal from others ear application

2006-10-11 Thread cpage
hello,

i have a classloader issu when i deploy a jsf ear application and jboss portal.
i saw in the wiki : 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

do i have to add this:
anonymous wrote : 
  | 
  |dot.com:loader=unique-archive-name 
  | 
  | 

in any earapp/META-INF/jboss-app.xml files ?

i modified the ear-deployer like this:


anonymous wrote : 
  |
  |
  |   
  |   true
  |   
  |   true
  |
  | 

but i still have the error when i deploy the ear with jbp:

17:10:25,318 ERROR [StartupServletContextListener] Error initializing 
ServletContext
  | java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer
  | at 
org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:610)
  | at 
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:145)
  | at 
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
  | at 
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)

best regards

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

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


[jboss-user] [JBoss and NetBeans] - Re: Newbie Need Help :)

2006-10-11 Thread kylewburke
Networking isn't my strong suit but I do know that 1098 is an ephemeral port, 
which means that it is temporary, and only guaranteed to be available for the 
current connection.  Sometimes chat apps like AIM, MSN or Yahoo and Firefox 
will temporarily/permanently bind to it.  Kill these apps and restart JBoss and 
you should be all set.

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

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


[jboss-user] [J2EE Design Patterns] - Re: Whats the best practice for managing Multilanguage suppo

2006-10-11 Thread Sicaine
Hm i hope my english is not to bad, if its a understanding problem please say 
it  i can attempt to describe it better.

Alternatively I'm lucky about a link or book tip

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

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


[jboss-user] [Installation, Configuration & Deployment] - Using JBossmq and Websphere MQ

2006-10-11 Thread wmorgan999
I have a vendor that has supplied software that uses jBoss to Send and receive  
Messages but we need to recieve those messages using IBM Websphere MQ and post 
them back via Websphere MQ.

Is there a way to Configure jBoss (or MQ websphere)  to  establish a connection 
with eachother so that when the application posts a message to the topic - it 
actually get sent to the MQ Queue for processing

the Application resides on a completely different system to the MQ so i need to 
find a way to get these two to talk but cannot find many documents on how to do 
this..

Wayne Morgan

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

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


[jboss-user] [Installation, Configuration & Deployment] - jboss-3.2.6 Problem w/ConfiguringMultipleJBossInstancesOnOne

2006-10-11 Thread AndrewBoyd
Hi All,
  I believe I followed directions at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine

But I'm still getting the following error when I start the second instance:
---
  | GMS: address is 172.16.74.58:2610 (additional data: 17 bytes)
  | ---
  | 16:47:33,312 INFO  [DefaultPartition] Number of cluster members: 2
  | 16:47:33,312 INFO  [DefaultPartition] Other members: 1
  | 16:47:33,312 INFO  [DefaultPartition] New cluster view for partition 
DefaultPartition: 9 ([17.16.74.58:1099, 172.16.74.58:1199] delta: 0)
  | 16:47:33,312 INFO  [DefaultPartition] Fetching state (will wait for 6 
milliseconds):
  | 16:47:33,328 INFO  [DefaultPartition] I am (null) received 
membershipChanged event:
  | 16:47:33,328 INFO  [DefaultPartition] Dead members: 0 ([])
  | 16:47:33,328 INFO  [DefaultPartition] New Members : 0 ([])
  | 16:47:33,328 INFO  [DefaultPartition] All Members : 2 ([172.16.74.58:1099, 
172.16.74.58:1199])
  | 16:47:34,046 INFO  [HANamingService] Listening on /0.0.0.0:1200
  | 16:47:34,046 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening 
on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=172.16.74.58:1200
  | 16:47:34,765 INFO  [MailService] Mail Service bound to java:/Mail
  | 16:47:34,921 INFO  [SystemPropertiesService] Loaded system properties from: 
file:/C:/work/Projects/MyProject/jboss-3.2.6/server/mercury-02/conf/mercury.properties
  | 16:47:35,281 INFO  [TreeCache] setClusterConfig(): setting cluster 
properties from xml to: 
UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=230.1.2.3;mcast_port=45577;mcast_recv_buf_size=8;mc
  | 
ast_send_buf_size=15;ucast_recv_buf_size=8;ucast_send_buf_size=15):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=2;min_interval=1):
  | 
FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_
  | 
thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=2;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pb
  | 
cast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true)
  | 16:47:35,312 INFO  [TreeCache] interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.TransactionInterceptor
  | 16:47:35,312 INFO  [TreeCache] cache mode is REPL_ASYNC
  | 16:47:35,343 INFO  [UDP] unicast sockets will use interface 172.16.74.58
  | 16:47:35,343 INFO  [UDP] socket information:
  | local_addr=172.16.74.58:2617, mcast_addr=230.1.2.3:45577, 
bind_addr=/172.16.74.58, ttl=64
  | sock: bound to 172.16.74.58:2617, receive buffer size=8, send buffer 
size=15
  | mcast_recv_sock: bound to 172.16.74.58:45577, send buffer size=15, 
receive buffer size=8
  | mcast_send_sock: bound to 172.16.74.58:2618, send buffer size=15, 
receive buffer size=8
  | 16:47:35,343 INFO  [STDOUT]
  | ---
  | GMS: address is 172.16.74.58:2617
  | ---
  | 16:47:37,656 INFO  [TreeCache] viewAccepted(): new members: 
[172.16.74.58:2584, 172.16.74.58:2617]
  | 16:47:37,671 INFO  [TreeCache] received the state (size=269 bytes)
  | 16:47:37,671 INFO  [TreeCache] transient state: 217 bytes
  | 16:47:37,671 INFO  [TreeCache] setting transient state
  | 16:47:37,671 INFO  [TreeCache] locking the old tree
  | 16:47:37,671 INFO  [TreeCache] setState(): locking the old tree was 
successful
  | 16:47:37,671 INFO  [TreeCache] setting the transient state was successful
  | 16:47:37,671 INFO  [TreeCache] forcing release of all locks in old tree
  | 16:47:37,671 INFO  [TreeCache] state was retrieved successfully (in 15 
milliseconds
  | 16:47:37,937 INFO  [Embedded] Catalina naming disabled
  | 16:47:38,359 ERROR [Http11Protocol] Error initializing endpoint
  | java.net.BindException: Address already in use: JVM_Bind:8000
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
  | at 
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)


The change in the port number:

  | New cluster view for partition DefaultPartition: 9 ([17.16.74.58:1099, 
172.16.74.58:1199] delta: 0)
  | 
Would make me think that some of the changes I made are working.  It looks like 
it is not working for the 8000 port which is the first appserver.

here is my conf/jboss-service.xml from my 1st node:

  | 
  |
  |  mercury-01
  |  ../server/mercury-bindings/mercury-bindings.xml
  |  
 

[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?

2006-10-11 Thread cpob
"Olivier_Debels" wrote : "cpob" wrote : 
  |   | Making the change to support the AUTOCREATE column is far simpler than 
creating an optional task node.  All that is needed is the if..statement in 
TaskNode's execute method and then support for the new column in the 
mapping/etc.
  | 
  | Yep, I agree.
  | 
  | I this also useable if you want to create 2 mandatory and 3 optional 
instances of the same task def?

Yes, that is what we would be using it for.  It would allow the task to control 
it's fate for creation.

"Olivier_Debels" wrote : And what if the task def is not defined in a task 
node?  I don't think a ref to task defs is possible. 
  | 
  | Just wandering if the task/task node link as it exists now can' t be 
extended.

Not sure if I follow you with this one.  If a task def is not linked to a task 
node, it would just be the process task like we talked about.  It would still 
be created (if using our flag idea) conditionally, depending on if the user 
creates the instances, or a task event, etc.

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread otaylor
We aren't talking about asynchrously replicating real updates - those still 
replicate synchronously. But if #2 is the replication of another cache fill, 
then it simply doesn't matter when it happens. (Unless it overwrites a real 
update.)

The asynchronous replicating of putFailFast has been in the codebase as far 
back as May 05, which is as far as the CVS history extends.

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread otaylor
"unless the current data is write locked" only works if you do have  something 
like your Intention lock. (In my earlier post, I said "
I'd argue that get() needs to establish a hard read lock (even when the node 
isn't there, even if the isolation mode is READ_COMMITTED) that is upgraded to 
a write lock on put() and then released/downgraded afterwards.", so yes, I 
agree that it is one possible solution)

But I'd argue that replacing existing data on a putFromExternalRead() is never 
useful. 

 a) I check the cache and find nothing there
 b) I read data from the database
 c) I go to write my data back to the cache and find something there already 
already

Assuming that all database updates also cause cache updates, the data I find at 
step c) can't be older than the data I read at step b), so there is no point in 
replacing it.

The only thing that I'm aware of that the intention lock does better than 
"don't replace" is handle the case of entity deletion. (it might also work 
better in the case where we are invalidating across the cluster rather than 
replicating- I haven't thought through that situation thoroughly)

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
Regarding SYNCH/ASYNCH, consider the following in conjunction with my psuedo 
code, I am being concerned with the notion of an intention lock throughout the 
cluster.  Consider:

1) readFromCache()
2) recv replication of data
3) read from db (because #1 returned null)
4) put into cache

To me #2 needs to happen as early as possible in the process.  Although perhaps 
I am being a bit pessimistic.  Not sure; would need to think through it in more 
detail.  Was more questioning why *that* decision was made as it seemed to not 
come from the previous discussions.

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
"otaylor" wrote : 
  | I don't know why the asynchronous replication of putFailFast() was added 
orginally, but my assumption is that it's about increasing concurrency and 
performance. Replicating cache fills synchronously doesn't increase 
correctness, so you might as well do it synchronously.
  | 

Asynchronously, you mean (the last instance).  Precisely.  Using sync 
replication for this call doesn't buy you anything.

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

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


[jboss-user] [Beginners Corner] - current Instance of Maindeployer

2006-10-11 Thread editha
Hi!

Is there a way to get the current instance of the MainDeployer? 

Thank you!

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

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


[jboss-user] [JBoss Portal] - Re: Window title

2006-10-11 Thread PeterJ
Do something like this:

protected void doView(RenderRequest request,
  |   RenderResponse response) throws PortletException, IOException{
  |   . . .
  |   response.setTitle("The New Title");
  |   . . .
  | }



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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread otaylor
When I've contrasted put() and update() I've been using the Hibernate cache 
terminology put() - cache fill (== putFromExternalRead()) - update - database 
change (== put()). I don't think a putFromExternalRead() would normally cause a 
"dirty read", but one possible interpretation of Scott's question was what 
would happen if you called putFromExternalRead() with data that wasn't yet 
committed to the database.

I don't know why the asynchronous replication of putFailFast() was added 
orginally, but my assumption is that it's about increasing concurrency and 
performance. Replicating cache fills synchronously doesn't increase 
correctness, so you might as well do it synchronously.


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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
Just to clarify my last comment.  Keep in mind that putFromExternalRead() 
always results from the following usage pattern:

Object state = readFromCache();
if ( state == null ) {
state = readFromExternal();
putIntoCache( state );
}
...

In Hibernate terms, readFromExternal is causing the data to get read from the 
database because it was not found in the cache.  That db-read data is always 
the "truth" in a db-driven app...

The only way that data should not overwrite the current node data 
(putIntoCache) is if suddenly there has been a write lock applied to the node 
between readFromCache() and putIntoCache() being executed (which is the meaning 
of my "intention lock" comment).

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
Owen: (1) What is your deliniation of "put" and "update"?  (2) I don't follow 
how a put could result in a dirty read...  

Another possibility to consider is an "intention lock" where we temporarily 
lock a node for the duration of the read/putFromExternalRead cycle.  This would 
guarentee two threads from attempting the same process.  This would be instead 
of #2...

So what was the reason for forcing asynch replication?  Why not synch?  I did 
not follow where that came in at.


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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
putFromExternalRead() should *always* over-write anything already there *unless 
the current data is write locked*.  Although that write locked situation 
(afaict) actually indicates an exception condition.

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread otaylor
Following up to my last comment: it may work pretty well to have 
"putFromExternalRead" simply never overwrite existing data.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA

2006-10-11 Thread benm99
I removed the annotation from the bean, reintroduced the xml configuration 
using the short anme, rather than the full name and it works for me.

Thanks a lot for your help.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException after redeploy

2006-10-11 Thread jaikiran
Where are placing the remote and home interfaces of your beans. Is it in two 
separate locations(once in war and once in a jar)? If yes, then maintain it at 
only one place and remove those interfaces from the war.

Have a look at:

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

Here's an extract from the same:

anonymous wrote : I get ClassCastException
  | 
  | Assuming it is the same class name, this problem relates to classes getting 
loaded from different classloaders. At compile time your class has only one 
identity, its name. If you "deploy" a class many times in different jars, it 
has multiple identities. They are not the same. See below for more information 
on the solutions to this problem. 
  | 
  | This can also be caused by you only redeploying part of your application. 
e.g. a webapp uses an EJB and you only redeploy the EJB. The webapp will still 
have the old versions of the classes. 

Also, look at:

http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions
Specifically, the jmx-console method mentioned over there




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

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


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

2006-10-11 Thread ge0ffrey
I tried JBoss WS 1.0.3 (patched on a 4.0.4-GA JBoss with a EJB3 profile) with a 
@WebService annotation on a @Stateless bean. The Stateless bean had a method 
String sayHello().

When I send a SOAP messages (using WTK 2.2), the reply contained noise (the 
numbers):

<...>
35
<...sayHello/>
7
<...>
0

Any idea what could be causing this?

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread otaylor
Manik: I think using a separate method is likely a cleaner approach. I do want 
to note
 here that a separate method by itself can't solve the correctness issues I 
noted
 in my comment of Sep. 18th, at least for the pessimistic case, since basically 
the
 cache has no way of knowing whether the put() or the update() is providing 
newer
 information. In the optimstic case with explicit versioning, the situation is 
better.

Scott:  Are you wondering if we can get a  "dirty read" if we call 
putFromExternalRead()
 the transaction suspended? The assumption here is that the caller of 
 putFromExternalRead() only calls the method with data that was committed to the
 database before the start of the outer transaction, and not with data that was 
updated 
 in the outer transaction. Hibernate, for example, makes that guarantee except 
in
 the most exotic situations. (You might be able to fool it if you tried hard.)


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

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


[jboss-user] [JBossCache] - Re: Urgent- Socket error when adding object to DB using JDBC

2006-10-11 Thread [EMAIL PROTECTED]
Fair enough.  The problem here though is that when using transactions that span 
multiple calls, this breaks things.  

A proper solution would be to use a rudimentary internal pool (HashMap of open 
conns) for the non-managed factory.

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

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


[jboss-user] [JBossWS] - How to create Cutom SoapException

2006-10-11 Thread kapil.singhal
Hello,

I am creating a Web Service using JBossWS. 

I want to customize the contents of SOAP Exception, which I want to throw from 
my Web Service.

For this, I am using SOAPFaultException to create my own exception classes. But 
I am not able to fill the detail in the Detail attribute of the 
SOAPFaultException. 

I am filling the specifics of JBossWS using the 
"org.jboss.ws.soap.SOAPFactoryImpl". But on the client side when I run my RMI 
Client, I found that one of the element is not Serializable. (Please find the 
stack below.)

Can you suggest me how to fill these so that I can throw a customized SoapFault 
exception at the client end ?  

Any help will be appreciated.

Kapil

19:05:14,091 ERROR [ServerThread] failed
java.io.NotSerializableException: org.jboss.ws.soap.DetailImpl
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:139)
at 
java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:429)
at 
javax.xml.rpc.soap.SOAPFaultException.writeObject(SOAPFaultException.java:145)
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 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:391)
at java.lang.Throwable.writeObject(Throwable.java:649)
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 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at 
org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:81)
at 
org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:84)
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:381)
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)

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

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


[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?

2006-10-11 Thread Olivier_Debels
"cpob" wrote : 
  | Making the change to support the AUTOCREATE column is far simpler than 
creating an optional task node.  All that is needed is the if..statement in 
TaskNode's execute method and then support for the new column in the 
mapping/etc.

Yep, I agree.

I this also useable if you want to create 2 mandatory and 3 optional instances 
of the same task def?

And what if the task def is not defined in a task node?  I don't think a ref to 
task defs is possible. 

Just wandering if the task/task node link as it exists now can' t be extended.

Anyway, I think your solution indeed gives an added value.

Thx,

Olivier.

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
Yes, but this is deemed acceptable since the cached versions are not deemed 
true representations of data (in this use case)

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

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


[jboss-user] [JBossCache] - Re: Urgent- Socket error when adding object to DB using JDBC

2006-10-11 Thread malek256
We are not using transactions.

Keeping the connections open and reusable was the intent; our information 
obtained earlier was that this scenario could not run at all and we needed to 
use a connection pool - however that does not suit our purpose as it would 
require significant alteration of the existing code OR use of a JNDI interface 
plus app server which is 100% against the scope of what we are trying to 
achieve.



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - How to plug in Struts for JBoss Eclipse IDE?

2006-10-11 Thread kingcu
Any hint/document link is appreciated. Thanks.

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

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


[jboss-user] [JNDI/Naming/Network] - rmi traffic

2006-10-11 Thread abv
Hello!

I've a rich client that calls session bean methods over rmi. How does the 
parameter/result objects are transported? Is it done by serialization - 
transport - deserialization? If it is so, is there a way to use compression to 
reduce the network traffic?

regards
Sven

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread Scott.Marlow.Novell
Regarding #1, if we suspend the active transaction at cache put time, wouldn't 
JBC send cache changes too early (before the suspended + later resumed tx 
completes?)


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

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


[jboss-user] [Beginners Corner] - JBoss Rules forum?

2006-10-11 Thread tomasz.cichocki
Hello,

Where should I post messages on JBoss Rules?

Kind Regards,
Tomasz

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

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


[jboss-user] [Installation, Configuration & Deployment] - How to set the security parameters

2006-10-11 Thread raj.shanmug
I have deployed my portlet developed in pega in JBoss portal server.  I am 
using JBoss Portal 2.4 + AS bundled version.  I am able to see the first page 
in my portlet, but further if i try to proceed i am getting the authenitication 
 error.  it asks for security profile.  Could any one let me know how to set 
the security parameters like the user id, sender time and the query string that 
are needed for the authentication.

Most important is how to get the login time for the specific portlet.

Appreciate if any one could come up with a key for the same.

-- Raj

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

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


[jboss-user] [JBoss jBPM] - Problem with a fork

2006-10-11 Thread antitrust1982
hello,

In my processes I need to use a fork when I arrived in my token fork how can 
execute all my transitions?

thank you for you help


antitrust1982

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

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


[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?

2006-10-11 Thread cpob
"Olivier_Debels" wrote : 
  | Well I guess you can create your own custom task instance which can deal 
with this.  It just requires overriding of the end() function and keeping a 
TaskNode reference.  Haven't tried it but I guess this would work.

I don't think that would change my issue of creating optional task instances 
only when we want.

Making the change to support the AUTOCREATE column is far simpler than creating 
an optional task node.  All that is needed is the if..statement in TaskNode's 
execute method and then support for the new column in the mapping/etc.

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

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


[jboss-user] [JBoss Messaging] - Re: Sending to a remote JMS queue - [ConnectionAspect] Caugh

2006-10-11 Thread timfox
This may be of help:

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

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
#3: Read locks, at very least, so this does not conflict with an update().  
Otherwise, the put() may overwrite an update().

#5: To do with acquiring locks in 3, or replication exceptions to do with 
network issues.

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

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


[jboss-user] [JCA/JBoss] - Re: [CICS / JCA] nw user to JBoss with JCA needs

2006-10-11 Thread [EMAIL PROTECTED]
Typically you would write a StatelessSesssionBean or Servlet to test 
connectivity. JCA adapters, with some exceptions, are typically not used 
outside of the container. 



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

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


[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException after redeploy

2006-10-11 Thread ahachmann
I would be very happy if anyone could help me.
Any Ideas?

Thx,
   Alexander

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

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


[jboss-user] [JBoss Seam] - Re: Breadcrumbs within the same conversation / pageflow

2006-10-11 Thread jpviragine
Hi ngeadah, 

I?m using your code with current cvs version and jbpm-3.1.2.jar.
The getDescription works fine. 

Regards,

Joao Paulo



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

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


[jboss-user] [JNDI/Naming/Network] - ClassCastException after redeploy

2006-10-11 Thread ahachmann
Hi there,
I am quiet frustrated with having a strange behavior I do not understand.

I have an EAR Application containing an EJB and a WAR.
In the EJB I have a small HelloWorld Class being remote and local.

I Call this class from the Servlet in the War. Which works perfectly fine.

Now when I change the Code in the HelloWorld Class (simply changing the 
returned text) and redeploy this EAR, I get a ClassCastException when calling 
this Object. 

When I hav the WAR deployed itself in a different ctxPath, that servlet keeps 
working fine.

My Bean:

  | @Stateless
  | @Local(MyDAO.class)
  | @LocalBinding(jndiBinding="EpgData/LocalDao")
  | @Remote(MyDAO.class)
  | @RemoteBinding(jndiBinding="EpgData/RemoteDao")
  | public class MyDAOImpl implements MyDAO {
  | 
  | public String getObject() {
  | // TODO Auto-generated method stub
  | return "Hi There?! Someone";
  | }
  | 
  | }
  | 

my servlet:

  | public void doGet(HttpServletRequest arg0, HttpServletResponse arg1) 
throws ServletException, IOException {
  | arg1.setContentType("text/html");
  | PrintWriter out = arg1.getWriter();
  | Context ctx;
  | try {
  | ctx = new InitialContext();
  | 
out.println("2");
  | Object o;
  | try {
  | o = ctx.lookup("EpgData/LocalDao");
  | MyDAO hello = (MyDAO)o;
  | out.println(hello.getObject());
  | } catch (NamingException e) {
  | // TODO Auto-generated catch block
  | out.println("Second: "+e);
  | }catch (ClassCastException e){
  | e.printStackTrace(out);
  | out.println(reflect(ctx.lookup("LOVE")));
  | }
  | 
  | } catch (NamingException e) {
  | // TODO Auto-generated catch block
  | out.println("Outer: "+e);
  | }
  | }
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - SEAM and JBoss ESB

2006-10-11 Thread mikeeprice
So if I were using SEAM and building an SOA type system would I need to use 
something like JBoss ESB or is the ESB type of functionality part of SEAM. It 
appears that there is some overlap there. Maybe there is the matter of scaling 
where ESB would facilitate building a larger scale system and distributing 
things over multiple servers. I am trying to better understand how the 
different technologies fit together.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Remoting and java.math.BigDecimal

2006-10-11 Thread fguerzoni
oops: xml not rendered

the broken xml is:



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

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


[jboss-user] [JBoss Portal] - Re: Firts time, installing JBoss Portal, full of errors

2006-10-11 Thread [EMAIL PROTECTED]
I think you're in the wrong forum... and maybe even the wrong planet.

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

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


[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a

2006-10-11 Thread mnrz
Hi again

thank you so much, your comments help me so much. yes, you were right the 
problem was because of not matching the jndiName and jta-data-source.

and another mistake was that because I am using Mysql and Jdbc I should use 
jdbc:/testDatasource instead of java:/testDatasource.

any way, thank you for spending your time to reply me.

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

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


[jboss-user] [JBoss Seam] - Seam Remoting and java.math.BigDecimal

2006-10-11 Thread fguerzoni
Hello,
my model needs the type DECIMAL(18,5) which is correctly managed by Hibernate.
The problem is on Seam Remoting where this type is not correctly managed: in 
fact ajax response is not a well formed xml



(it's clear that on server the processing has been interrupted: so ther's no 
member ending)

I can't use double becasue of the rounding: in fact this property refers to 
money that should not be changed.

Is this implementation scheduled? Any suggestion or workaround?
thanks

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

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


[jboss-user] [JBoss jBPM] - Handling databases through jBPM

2006-10-11 Thread lordkostas
Hello!

Does anyone know where I can find information on how to manage (i.e. create, 
update, modify) a PostgreSQL database using jBPM?

Apologies if the subject has been posted before.

Thank you in advance

Kostas

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

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


[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?

2006-10-11 Thread cpob
Olivier_Debels wrote : AFAIK you don't need the link task/tasknode. You can 
just have a task def tied to the process definition and create task instances 
in the task node (using event handlers f.e.). You can actually create task 
instances in any node. 

We're already doing this.  We have optional process tasks being created along 
the flow with various task nodes.  We are creating them, tied to the process, 
not the task node, and they just need to be completed anytime during the 
process.

However

Olivier_Debels wrote : anonymous wrote : but it's important we have the 
task/tasknode relationship
  | 
  | Why?

It is very important that we have some optional node tasks created with a task 
node relationship, because we want some optional node tasks to block the task 
node.  If 1 mandatory and 3 optional node task instances are associated with a 
given node, we want the node to be blocking until all 4 tasks are completed.


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

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


[jboss-user] [JBoss Portal] - JBoss Portal 2.4.1.CR1 Released

2006-10-11 Thread [EMAIL PROTECTED]
JBoss Portal 2.4.1.CR1 has been released, you can get it from our download page 
http://labs.jboss.com/portal/jbossportal/download/index.html

Release Notes 


  | ** Bug
  | * [JBPORTAL-964] - disorder display in 800*600
  | * [JBPORTAL-998] - Eclipse project files are not up to date with 
structure of third party libraries
  | * [JBPORTAL-1003] - Incorrect handling of producer asking for 
registration without requiring any registration properties
  | * [JBPORTAL-1005] - WSRP URL rewriter usage not thread safe
  | * [JBPORTAL-1019] - NoClassDefFoundError does not show up during 
portlet access
  | * [JBPORTAL-1033] - PortletContainer added logging causes class loading 
issues.
  | * [JBPORTAL-1036] - Portlet container uses a log4j logger that use the 
portlet class name as category which leads to create a logger and prevent that 
portlet to uses its own logger factory
  | * [JBPORTAL-1039] - Producer NPE when no namespace prefix is provided 
in RuntimeContext.
  | * [JBPORTAL-1041] - WSRP's processing of fragments leaves the fragment 
in incoherent state
  | * [JBPORTAL-1050] - WSRP consumer will throw an NPE if the markup 
response from the producer is an empty string.
  | * [JBPORTAL-1051] - NPE if no session information exists when trying to 
update the user cookies
  | * [JBPORTAL-1053] - WSRP URLs are improperly un-escaped in situations 
where they should be.
  | * [JBPORTAL-1060] - Empty preferences values are not retrieved properly
  | * [JBPORTAL-1072] - Clustering configurations does not startup with 
mysql
  | 
  | ** Feature Request
  | * [JBPORTAL-240] - make header data available to jsp includes
  | * [JBPORTAL-823] - Access to Portlet Action Request in LayoutStragegy
  | * [JBPORTAL-1016] - Allow creation and deployment of WSRP portlets from 
descriptors
  | * [JBPORTAL-1029] - Ability for an administrator to add/remove users
  | * [JBPORTAL-1057] - Create/update DTD/schemas for descriptors.
  | 
  | ** Task
  | * [JBPORTAL-936] - Update IPC sample and docs
  | * [JBPORTAL-937] - Create test for url regex rewriter in cms
  | * [JBPORTAL-982] - Cookies handling in WSRP
  | * [JBPORTAL-984] - Provice access to HTTP headers in request dispatch 
to a servlet from a portlet.
  | * [JBPORTAL-987] - Check usages of ParameterValidation
  | * [JBPORTAL-995] - make forums work with 2.4
  | * [JBPORTAL-1002] - Check thread-safety of WSRP code.
  | * [JBPORTAL-1015] - Allow reconfiguration of a portlet instance from 
the deployment descriptor portlet-instances.xml
  | * [JBPORTAL-1018] - Do not display edit mode when user is not logged in
  | * [JBPORTAL-1031] - Update docs with info on the latest installer.
  | 


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

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


[jboss-user] [Installation, Configuration & Deployment] - stan...

2006-10-11 Thread redsea
I read the two links you provided. I understand that I dont have to include jsf 
llibraries when deploying to a jboss server.  But how would  I have known 
this...

add the following to web.xml:


org.apache.myfaces.webapp.StartupServletContextListener
 


Thats getting a little to obscure in my opinion. How does one stay on top of 
all these esoteric things? I would never have known about the  additions to the 
web.xml file if you hadnt told me.

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

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


[jboss-user] [JBoss Messaging] - Re: Sending to a remote JMS queue - [ConnectionAspect] Caugh

2006-10-11 Thread fastmhaavald
Hi,

Just a question:

Do you have example code using this config?


I have a similar issue, but in my case some beans need to send to a remote 
queue and others to a local queue.

I guess I have to configure two JMS Providers for this.

Have you tried this?




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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: create a simple EJB 3.0 application

2006-10-11 Thread giotto81
anonymous wrote : Also, as a word of warning, JBoss IDE 1.6.* is not compatible 
with eclipse 3.2.

ok, now I understand some of my problems...

I am a newbie of JBoss & Eclipse too, and I need a suggestion, if possible: it 
is better to start with elicpse 3.1 + IDE 1.6, or eclipse 3.2 + IDE 2.0?

Regards,
Giordano

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
Regarding #3, what lock acquistions?

Regarding #5, which exception conditions are you anticipating here that should 
get suppressed?


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Please fix this bug!

2006-10-11 Thread redsea
Yes stan I am bundling the jsf libraries with my app. I understand now that I 
should rely on the jsf that comes with the jboss server.

Thansk for your reply I do appreciate it.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Please fix this bug!

2006-10-11 Thread redsea
Thanks for those two links. They are very informative and helpful.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Please fix this bug!

2006-10-11 Thread [EMAIL PROTECTED]
You are bundling the JSF implementation with your WAR.  This is causing a 
conflict with the implementation that ships with JBoss.

Starting with JBoss AS 4.0.3, we bundle a JSF implementation with the app 
server.  For the 4.x series the implementation is MyFaces.  For 5.x, the 
implementation is the Glassfish/CDDL JSF 1.2 implementation.

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

You can either remove the JSF implementation from your WAR or you can disable 
the one that ships with JBoss.  See the section on "Using the JSF Reference 
Implementation" on this page:

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

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

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


[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss

2006-10-11 Thread asmo
In the meantime,  i could isolate the problem a little bit. 
If i create a processinstance direct on the parsed processdefinition, jbpm 
executes the action.


step 1:
try{
  | 
  |  JbpmConfiguration jbpmConfiguration = 
JbpmConfiguration.getInstance("jbpm.cfg.xml");
  | 
  |
  |  JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  |  GraphSession graphSession = jbpmContext.getGraphSession();
  | 
  |  ProcessDefinition processDefinition 
=ProcessDefinition.parseXmlResource("activityWorkflow.par/processdefinition.xml");
  | 
  |  ProcessInstance  processInstance = 
processDefinition.createProcessInstance();
  | 
  |  processInstance.signal("startWorkflow");
  |  processInstance.signal("created");
  | 
  |  jbpmContext.save(processInstance);
  | 
  |  }catch(Exception e){
  |e.printStackTrace();
  |   }finally{
  |jbpmContext.close();
  | }
  | }


If i first save the processInstance and later load it back from the database, 
the action won't execute.



JbpmConfiguration jbpmConfiguration = 
JbpmConfiguration.getInstance("jbpm.cfg.xml");
  | 
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | 
  |  try{
  |  GraphSession graphSession = jbpmContext.getGraphSession();
  | 
  |   ProcessDefinition processDefinition 
=ProcessDefinition.parseXmlResource("activityWorkflow.par/processdefinition.xml");
  | 
  |ProcessInstance  processInstance = processDefinition.
  |Long id = Long.valueOf(processInstance.getId());
  | 
  |jbpmContext.deployProcessDefinition(processDefinition);
  |jbpmContext.save(processInstance);
  |}catch(Exception e){
  | e.printStackTrace;
  |}finally{
  |  jbpmContext.close();
  |}
  | return id;

step 2:

JbpmConfiguration jbmpConfiguration = 
JbpmConfiguration.getInstance("jbpm.cfg.xml");
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | try{
  |   GraphSession graphSession = jbpmContext.getGraphSession();
  | 
  |   ProcessInstance processInstance = 
graphSession.loadProcessInstance(processId.longValue());
  |   
  |   processInstance.signal();
  |   jbpmContext.save(processInstance);
  |   }catch(Exception e){
  |   e.printStackTrace;
  |   }finally{
  |   jbpmContext.close();
  | }

Is there something wrong in the way i save and load the processInstance? 

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: create a simple EJB 3.0 application

2006-10-11 Thread [EMAIL PROTECTED]
JBoss does not come with ejb3 by default. There is a separate JBoss download to 
ensure it comes with ejb3 and my guess is you don't have that.

Also, as a word of warning, JBoss IDE 1.6.* is not compatible with eclipse 3.2. 

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

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


[jboss-user] [EJB 3.0] - Large data insert generates no line at database

2006-10-11 Thread abra20
Hello!

Im facing a problem and Im completely lost at it.


I get the file through JSF component.
What I have to do is read the file, line by line instantianting a new Entity 
that will have 
this String as an attribute. So, I create a List of the entities created.

List list = new ArrayList();
while((line=reader.readLine)!=null)
{
   EntityB b = new EntityB();
   b.value = line;

   list.add(b);
}

Also, I have another Entity that will receive this List.

EntityA a = em.getEntityA(id);
a.setBEntities(list);

Finally, I try to merge EntityA, as I use cascade, EntityB will also be 
persisted.

em.merge(a);


First problem:
What is the best way of passing the file or its content to my 
SessionBean(Stateless)
so I can iterate the content and persist it?

What Im doing is read the UploadedFile (Adf Component) and write the content to 
a java.io.File,
so I can pass it to the SessionBean but I dont think this is a good thing 
because these uploaded
files are about 50 - 150 thounsand lines.

Second problem:
How do I persist those thousands of entities objects I created?
I call em.persist and none is persisted.
I tried to insert through native query and also no line is inserted.

However when I try a smaller File with 15 thousand lines, the task is 
successfully done.


Appreciate some help!

Thanks!


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

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


[jboss-user] [Beginners Corner] - JBOSS integration with CICS/SNA (mainframe applications)

2006-10-11 Thread jeduardofn
 I would like to know how JBoss AS supports application integration with a SNA 
(IBM protocol) architecture, so we can build J2EE app that exchange data with a 
mainframe app over a SNA protocol.

With SUN AS (iPlanet) this is acomplished by the iPlanet Connector for CICS, 
but we are considering using JBoss.

Thanks,

João Ferreira

 



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

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - URL problems using Apache, JBoss, mod_jk

2006-10-11 Thread mlriggins
Hello, 

I hope someone can help.  I'm very new at this and I am still trying to 
figure out what I am doing. 

I have configured Apache on Machine 1 and JBoss on Machine 2 using 
mod_jk.  After much trial and error, I finally got things working.  I 
have a war file that exists on Machine 2 that I need to use for my site 
named Corporate.war.  However, when I attempt to access my url 
www.example.com from the internet I get an error.  When I use the url 
www.example.com/Corporate the site opens just fine.  How do I tell 
Apache to open the site using www.example.com?  I have made numerous 
changes to the VirtualHost in httpd.conf to no avail. 

Another problem I am having is that my site is not displaying static 
images located on Machine 2.  Those images are not located in the same 
directory as the DocumentRoot, they are back one directory. 

Basic VirtualHost I am using: 

 
ServerName www.example.com 
ServerAdmin [EMAIL PROTECTED] 
DocumentRoot 'C:\jboss-4.0.1RC2\server\default\deploy' 
JkMount /*.war loadbalancer 
JkMount /Corporate loadbalancer 
JkMount /Corporate/* loadbalancer 
JkMount /*.jsp loadbalancer 
JkMount /servlet/* loadbalancer 
ErrorLog logs/example.com-error.log 
CustomLog logs/example.com-access.log common 
 

Thank you in advance for any and all suggestions. 

Monica 

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

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


[jboss-user] [J2EE Compliance] - Correction: Title should be Java Server Faces

2006-10-11 Thread redsea
does not work with jboss-4.0.4.

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

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


[jboss-user] [JBoss Portal] - Re: start portlet maximised

2006-10-11 Thread yaceek
I'm interested in this too.
If it's not possible, what should I modify in jboss portal code to make it 
possible?

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

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


[jboss-user] [JBossWS] - wscompile client fails to invoke JBossWS webservice

2006-10-11 Thread cartola
Hello,
I?ve been developing a web service in JBoss 4.0.4 over JDK 1.5.
My service is document/literal and runs on JBossWS.
I?ve successfully deployed the service.
I?ve generate the client stubs using wscompile (1.1.3, build R1) which comes in 
JWSDP 2.0


  | 
  | 
  | 
  | 
  | 
  | 

When I invoke the web service using this client I get the following exception 
on the server:


  | ERROR [SOAPFaultExceptionHelper] SOAP request exception
  | javax.xml.rpc.soap.SOAPFaultException: Endpoint 
{http://pt.ptinovacao.pinos.pm/MRC}MRC_IF_WSPort does not contain operation 
meta data for: {http://schemas.xmlsoap.org/soap/envelope/}Envelope
  | at 
org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:175)
  | at 
org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:110)
  | at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234)
  | at 
org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 

I?ve used TCPmon to catch the outgoing SOAP message:


  | http://schemas.xmlsoap.org/soap/envelope/";>
  | 
  | 
  | http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns0="http://pt.ptinovacao.pinos.mrc/MRC_Types"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  | 
  | http://pt.ptinovacao.pinos.mrc/MRC_Types"/>
  | 
  | 
  | 
  | 
  | 

If I use XMLSPY to invoke the web service it works fine.
Also, if I use a JBoss-IDE generated client (uses axis) it also works fine.

SOAP request of XMLSPY:

  | http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  | 
  | http://pt.ptinovacao.pinos.mrc/MRC_Types"/>
  | 
  | 
  | 

SOAP request of JBoss-IDE client:

  | 
  | http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  |  
  |   http://pt.ptinovacao.pinos.mrc/MRC_Types"/>
  |  
  | 
  | 

Do you have any ideas on solving this problem?
My intention was to build a JBossWS client who wouldn?t use axis libraries. Is 
that possible?

Thanks in advance.


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

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


[jboss-user] [EJB 3.0] - @Service POJO referencing a Session Bean

2006-10-11 Thread gommo
[Using jboss4.0.4GA]
I have created a service object annotated with @Service.

However, when I try to lookup a session bean etc.. THe session bean has not 
been deployed yet so it fails.?? I"m calling these lookups from the start() 
method of the service object.

??

How can I get this to work

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a

2006-10-11 Thread baz
one sentence more:
the property jndiName from jboss-beans.xml must match jta-data-source from 
persistence.xml
In your case 
jndiName = java:/testDatasource
and
jta-data-source =testDatasource
Ciao,
Carsten


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

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


[jboss-user] [JBoss Seam] - Re: Seam Next Release

2006-10-11 Thread yj4jboss
Hello peter,
   Thnx for replying.I found the features in the next releasesounds 
interesting !! Can you tell me when is it scheduled for ??

Best Regards,
Yogesh,
M-ITC LTD,
www.m-itc.net



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

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


[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a

2006-10-11 Thread baz
Hello,
i think your problem has nothing to do with seam running on tomcat.
If i am not completly misleaded your problem is with the jndi name of the 
datasource.
Instead of
anonymous wrote :   testDatasource
try 
java:/testDatasource
If this doesn't help i am out of clues. Perhaps someone other can help, then.
Ciao,
Carsten

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

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

2006-10-11 Thread yj4jboss
Hi Shane,
   Thnx for replying.The example is working only with Seam from CVS, right 
? I am working on a project with Seam 1.0.1.GA and wud have loved to get this 
working with it. Can you confirm plz ??

Best Regards,
Yogesh,
M-ITC LTD
www.m-itc.net



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

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


<    1   2   3   >