[jboss-user] [Beginners Corner] - is there any way to use log4j's JDBCAppender with Jboss's ve

2007-02-22 Thread jibrankh
HI.

is there any way to use log4j's JDBCAppender with Jboss's version of JDBC?
as it is possible with Apache's version of Log4j.

TIA.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Connect to jmx server of JBoss 5.0 beta

2007-02-22 Thread nickmipt
Output to console

  JBoss Bootstrap Environment

  JBOSS_HOME: /opt/jboss-5.0.0.Beta1

  JAVA: /usr/lib/jvm/java-1.5.0-sun-1.5.0_06/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx128m 
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
 -Djboss.platform.mbeanserver -Dcom.sun.management.jmxremote

  CLASSPATH: 
/opt/jboss-5.0.0.Beta1/bin/run.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0_06/lib/tools.jar

=

javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class 
org.jboss.system.server.jmx.MBeanServerBuilderImpl: 
java.lang.ClassNotFoundException: 
org.jboss.system.server.jmx.MBeanServerBuilderImpl

at 
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:499)
at 
javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:530)
at 
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:304)
at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:180)
at 
sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:264)
at 
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:512)
at 
sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:385)
at sun.management.Agent.premain(Agent.java:92)
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 sun.management.Agent.startAgent(Agent.java:197)
  Caused by: java.lang.ClassNotFoundException: 
org.jboss.system.server.jmx.MBeanServerBuilderImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:441)
at 
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:484)
... 13 more



Without specifing options in env JBoss runs correctly.
JMX client is JConsole

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

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


[jboss-user] [EJB 3.0] - Re: SerializationException when attempting to activate a sta

2007-02-22 Thread grdzeli_kaci
i have also this problem.

can anybody help us ?


Regards,
Paata

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

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


[jboss-user] [EJB 3.0] - eager vs. lazy fetching

2007-02-22 Thread eiben
Hi,

in my entities I defined my joined tables as being lazy; however, if I want to 
display a lot of detailed information it might be a good idea to retrieve the 
data using eager fetching. Is there any way to set the fething mode 
programmatically for certain methods?

In this respect: I have a web-GUI, where the data is retrieved in a servlet and 
then the presentation is being rendered by a jsp-page using 
getServletContext().getRequestDispatcher(targetPage).forward(request, response);

Problem: I want to iterate over a list of items and I want to display sub-items 
as well, unfortunatly those items are not yet fetched (lazy), and since I 
"redirected" the processing to the jsp-page the entity-manager is no longer 
available.

Has anyone a solution for this problem?

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

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


[jboss-user] [EJB 3.0] - Re: SerializationException when attempting to activate a sta

2007-02-22 Thread grdzeli_kaci
hi redyz,

i did it,
the problem is that in statefull session bean i had define Query class object 
and this class is not a serializable.

you must define this class as transient or use it only method scope.
my programm example 





  | @Stateful
  | @Remote(CountFasade.class)
  | public class CountFasadeBean implements CountFasade {
  | 
  | @PersistenceContext(unitName = "srvProvOracle")
  | private EntityManager oracleManager;
  | 
  | Query _query = null;
  | 
  | public void addCount() throws Exception {
  | try {
  | _query = oracleManager.createNativeQuery("some query");
  | } catch (Exception e) {
  | e.printStackTrace();
  | throw e;
  | }
  | }
  | }
  | 
  | 


must be like this :


  | @Stateful
  | @Remote(CountFasade.class)
  | public class CountFasadeBean implements CountFasade {
  | 
  | @PersistenceContext(unitName = "srvProvOracle")
  | private EntityManager oracleManager;
  | 
  | @Transient
  | Query _query = null;
  | 
  | public void addCount() throws Exception {
  | try {
  | _query = oracleManager.createNativeQuery("some query");
  | } catch (Exception e) {
  | e.printStackTrace();
  | throw e;
  | }
  | }
  | }
  | 

or like this :


  | @Stateful
  | @Remote(CountFasade.class)
  | public class CountFasadeBean implements CountFasade {
  | 
  | @PersistenceContext(unitName = "srvProvOracle")
  | private EntityManager oracleManager;
  | 
  | public void addCount() throws Exception {
  | try {
  | Query _query =  oracleManager.createNativeQuery("some 
query");
  | } catch (Exception e) {
  | e.printStackTrace();
  | throw e;
  | }
  | }
  | }
  | 
  | 


good luck

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

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


[jboss-user] [JBoss jBPM] - Re: compare dates

2007-02-22 Thread jbmp user
I am sorry!!! I want tell us:

some idea??

I have not solution for this problem.

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

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


[jboss-user] [JBoss Seam] - injection into stateless bean (which is called from an MDB)

2007-02-22 Thread codelion
Wrote a MDB months ago, used @PersistenceContext and @EJB to inject.  Inside 
the MDB via one of those @EJB got a stateless bean and called a method in it 
(to do the actual task).  That stateless bean also used @PersistenceContext, 
@Resource and @EJB.

Then I wanted to make better use of Seam, so I started using @In in the 
stateless bean instead of @EJB.

Now when executing I get NPE because these @In fields have nothing in them.  
The NPE occurs where the field is used because it is null, NOT earlier.  I did 
NOT make required=false.

Is there an obvious problem?

Ref doc 3.2.5. Message-driven beans reads "Message-driven beans may not be 
bound to a Seam context. Nor do they have access to the session or conversation 
state of their caller. However, they do support bijection and some other Seam 
functionality."

So what can I inject then?

One of my null @In fields was supposed to get a proven stateless bean of mine 
which has a @Name, the other a ManagedQueueSender Seam component.

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

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


[jboss-user] [JBoss jBPM] - Re: compare dates

2007-02-22 Thread RomeuFigueira
Just a theoretical thought, why don't you write the dates like MMDD instead 
of the DDMM that you showed us?

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

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


[jboss-user] [Clustering/JBoss] - Re: NAKACK errors on retransmit when cluster is under heavy

2007-02-22 Thread [EMAIL PROTECTED]
What I meant was that if this was not intermittent, then the process would stop 
delivering messages due to the gap in sequence numbers. This does not appear to 
be the case

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

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


[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-22 Thread cdart_rrr
Hi Arjan, having battled with Conditions recently I'd like to add my 2 cents' 
worth that the reason why your original transition/[EMAIL PROTECTED] wasn't 
evaluated looks to be a bug in org.jbpm.jpdl.xml.JpdlXmlReader in 
resolveTransitionDestination() (l 805 of my version of 3.2beta2). It tries to 
get the expression from the text of  element - if null it then goes to try to 
get it from the expression attribute. Only trouble is the text is returned from 
getTextTrim() as "" rather than null so you never get to look at the attribute. 
This is of course what you found (by putting the expression as the text of  
rather than as an attribute). But changing l 805 to test for "" as well as null 
then allows either format...

  | if ( null == condition || condition.length() == 0) {
  | //
  | 
It ought to be a bug but I can't currently get the src from cvs to see if it's 
been corrected. Is cvs still there? (I noted your comment above about wrong cvs 
details).
brgds
\rr

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

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


[jboss-user] [JBoss Seam] - more the one DataModel in one bean

2007-02-22 Thread macq
how can I implement more the one DataModel in one bean ?

what should I add to make it work

  | @DataModel
  | private List ugList;
  | 
  | @DataModelSelection
  | private UserGroup sug;
  | 
  | @DataModel
  | private List rolesList2;
  | 
  | @DataModelSelection
  | public Role srole2;
  | 
  | @PersistenceContext
  | private EntityManager em;

the error I get:

  | ERROR [[/expert]] Exception sending context initialized event to listener 
instance of class org.jboss.seam.servlet.SeamListener
  | java.lang.IllegalStateException: Missing value() for @DataModelSelection 
with multiple @DataModels

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

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


[jboss-user] [JBoss Messaging] - Re: Connecting to two JBoss messaging servers causes interfe

2007-02-22 Thread timfox
Ben - can you add a bug report in JIRA?

BTW 1.2 will be out very soon which will have real transparent failover and 
clustering.

1.0 is really only intended as a single server installation - but it's 
obviously a plus if you can get it to work with more than one server.

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

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


[jboss-user] [JBoss jBPM] - Re: compare dates

2007-02-22 Thread jbmp user
I write the dates like DDMM because I am spanish.
Also, we would like compare if one date is 15 days great than other date, then 
if I write 16/01/2000 < 17/01/2000, the result is true and it is right, 
but I write 16/01/2000 < 01/01/2005, the result is false and it is wrong

I am sorry my english!!!

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - EJB3 Cluster application JMS Error-JBoss 4.0.5GATrailBlazer

2007-02-22 Thread mp123
Hello JBoss Folks,


While I'm trying to deploy the clusterstore(EJB3TrailBlazer POJO Clustering 
demo)application, getting the following Error. 
I'm using JBoss 4.0.5.GA - EJB3 Cluster configuration in HP-UX system.


09:54:12,228 WARN  [JmsActivation] Failure in jms activation [EMAIL 
PROTECTED]([EMAIL PROTECTED] destination=queue/clusterstore isTopic=false 
tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null 
maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0)
  | javax.jms.JMSSecurityException: User: null is NOT authenticated
  | at 
org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230)
  | at 
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66)
  | at 
org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:613)
  | at 
org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:172)
  | at 
org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:165)
  | at org.jboss.mq.Connection.authenticate(Connection.java:1065)
  | at org.jboss.mq.Connection.(Connection.java:252)
  | at org.jboss.mq.Connection.(Connection.java:323)
  | at org.jboss.mq.SpyConnection.(SpyConnection.java:116)
  | at 
org.jboss.mq.SpyConnectionFactory.internalCreateConnection(SpyConnectionFactory.java:137)
  | at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:108)
  | at 
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQConnection(AbstractDLQHandler.java:137)
  | at 
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:83)
  | at 
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:359)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:305)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:589)
  | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
  | at 
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
  | at java.lang.Thread.run(Thread.java:595)
  | 
  | 

Please help where I did wrong??

Thanks in advance,



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

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


[jboss-user] [JBoss Seam] - Conversation @Begin

2007-02-22 Thread quilleashm
Hi there,

I have a question about the implementation of @Begin.  At the moment the @Begin 
is only done AFTER a bean method has completed it's invocation.  Is there any 
reason why it is done like this rather than beginning the conversation before 
the method invocation.  The only thing I could think of was if an exception 
occurs the conversation state would need to be rolled back.

If I do a manual Redirect.execute() in methods which have @Begin(nested = true) 
then the nested conversation id is not correctly propogated on the redirect as 
the nested conversation is not begun until after the method completes, by which 
point the redirect has happened.

Would it be possible to change this behaviour (this also seems more natural to 
me to begin the conversation before the method), or would this have too many 
breaking side-effects?

Cheers.

Mike.


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

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


[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-22 Thread avbentem
"cdart_rrr" wrote : looks to be a bug in org.jbpm.jpdl.xml.JpdlXmlReader in 
resolveTransitionDestination() (l 805 of my version of 3.2beta2). It tries to 
get the expression from the text of  element - if null it then goes to try to 
get it from the expression attribute. Only trouble is the text is returned from 
getTextTrim() as "" rather than null so you never get to look at the attribute.
Ok, it's even a bit more sophisticated. In the current version 1.7 (committed 
February 7th) yet another attribute is taken into account: attribute decision 
on the element transition. I did not know that! In fact, this has been like 
this since earlier versions. Your bug is now at line 745; 
http://fisheye.jboss.com/browse/JBPM/jbpm.3In 
/jpdl/jar/src/main/java/org/jbpm/jpdl/xml/JpdlXmlReader.java?r=1.7
739 String condition = transitionElement.attributeValue("condition");
  | 740 if (condition==null) {
  | 741   Element conditionElement = transitionElement.element("condition");
  | 742   if (conditionElement!=null) {
  | 743 condition = conditionElement.getTextTrim();
  | 744 // for backwards compatibility
  | 745 if (condition==null) {
  | 746   condition = conditionElement.attributeValue("expression");
  | 747 }
  | 748   }
  | 749 }
Note that fixing this (or when using the element text rather than an attribute) 
will get the expression into the database, but then one still needs the 
additional check for isEmpty(), as explained in my earlier post, to actually 
evaluate the expression at runtime.
"cdart_rrr" wrote : Is cvs still there? (I noted your comment above about wrong 
cvs details).Right now, while writing this, I'm having no trouble connecting to 
:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm

Arjan.

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

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


[jboss-user] [JBoss Messaging] - jboss 1.2.0.CR1 MDB Cluster

2007-02-22 Thread fancoli
I have installed successfully jboss 1.2.0.CR1 on a cluster partition; when I 
use MDB all works well except that all message in a queue are processed by the 
same node... if I look inside the table I have CHANNEL_COUNT = 1...
anywhone got this problem

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

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


[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-22 Thread avbentem
The URL I posted is wrong; see JpdlXmlReader#resolveTransitionDestination at 
http://fisheye.jboss.com/browse/JBPM/jbpm.3/jpdl/jar/src/main/java/org/jbpm/jpdl/xml/JpdlXmlReader.java?r=1.7#l731

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

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


[jboss-user] [JBoss Messaging] - Re: jboss 1.2.0.CR1 MDB Cluster

2007-02-22 Thread timfox
I'm not sure I understand your problem.

Can you please explain it in more detail and explain your cluster topology in 
more detail?

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

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


[jboss-user] [JBoss and NetBeans] - Re: JBoss NetBeans IDE: JBoss Server can't start on port 808

2007-02-22 Thread lkotouc
You must change the HTTP connector port in 
/server/default/deploy/jbossweb-tomcat55.sar/server.xml.

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

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


[jboss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2007-02-22 Thread obobogo
Thanks,

Jerry, i open a open a case and i am waiting for a quick answer from jboss.
 I check my log every time that the server crash, i see a NestedSQLException 
from jboss log. He said that there is not available connexion managed from the 
pool. When i check my database, there is not any cpu problem, any memory 
problem, ...All connection are inactive in the database. 
I see on forum that this problem occured with jboss since 2003. So waiting that 
i get a quick answer from jboss, would u have an idea on how to help jboss to 
manage well the pool connection and reinitialise the inactive connection in the 
pool such to make it available.

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

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


[jboss-user] [JBoss Seam] - seam-gen error (generate-entities did not work)

2007-02-22 Thread grdzeli_kaci
hi all,
seam version : 1.1.6 GA (i got it from CVS few days ago)
jboss version : 4.0.5 GA
ant version : 1.7.0
os version : SUSE LINUX 10.1 (i586)
java version : 5.0

i tryed to use seam gen template, 
fierst i did seam setup, then seam new-project, all works fine now i want 
generate entities but i got an error:



  | [EMAIL PROTECTED]:~/InstalledPrograms/jboss-seam-1.1.6.GA> ./seam 
generate-entities
  | Buildfile: build.xml
  | 
  | validate-workspace:
  | 
  | validate-project:
  | 
  | generate-entities:
  | [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse 
engineering)
  | [hibernate] 1. task: hbm2java (Generates a set of .java files)
  | [hibernate] 23-Feb-07 1:48:19 AM org.hibernate.cfg.Environment 
  | [hibernate] INFO: Hibernate 3.2 cr4
  | [hibernate] 23-Feb-07 1:48:19 AM org.hibernate.cfg.Environment 
  | [hibernate] INFO: hibernate.properties not found
  | [hibernate] 23-Feb-07 1:48:19 AM org.hibernate.cfg.Environment 
buildBytecodeProvider
  | [hibernate] INFO: Bytecode provider name : cglib
  | 
  | BUILD FAILED
  | java.lang.NoClassDefFoundError: 
org.hibernate.bytecode.cglib.BytecodeProviderImpl
  | 
  | Total time: 3 seconds
  | 
  | 

any idea ?




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

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


[jboss-user] [JBoss Seam] - Re: more the one DataModel in one bean

2007-02-22 Thread ido_tamir
http://docs.jboss.com/seam/1.1.5.GA/api/org/jboss/seam/annotations/datamodel/DataModelSelection.html

value
public abstract String value
The context variable name of the DataModel. Defaults to the name for the 
outjected @DataModel if there is exactly one @DataModel for the component.

HTH
ido

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

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


[jboss-user] [JBoss Messaging] - Re: jboss 1.2.0.CR1 MDB Cluster

2007-02-22 Thread fancoli
Yes of course,
I have two jboss instance on two physical machines; I have removed JBossMQ and 
then deployed JBossMessaging inside deploy folder of both server; here there is 
a queue definition:

  |   
  | jboss.messaging:service=ServerPeer
  | jboss.messaging:service=PostOffice
  | true
  |   
  | 
I have a message driven bean (not singleton) and I am expecting that the 
messaging are processed by both server, but only one server works.
The problem is only on messaging EJB (session) are load balanced...

Thanks,
max.

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

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


[jboss-user] [JBoss Messaging] - Re: jboss 1.2.0.CR1 MDB Cluster

2007-02-22 Thread timfox
Probably your best place to start is the distributed queue example in the 
distribution.

Is this working for you?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - URL Encrypting

2007-02-22 Thread srinivasbijjam
Hi 

  I want to Encryprt/Hide the URL that is shown in Address Bar. I have already 
done with Coding , testing and on final stage for Prod. Now I got the request 
not to show actual URL ( It contains Report ID which Customer is feeling 
Unsecure). I dont want to change entire code. 

 Is there any option where I can use this feature without chaging the code. Iam 
using JBoss Server and using Struts Framwork

Regards
B S Reddy

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

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


[jboss-user] [Performance Tuning] - JBoss- How to big /incrase Heap size?

2007-02-22 Thread mdpatil
Hi - 

I'm looking for some advice as to how I should set the JVM memory size 
parameters (-Xmx and -Xms) when starting JBoss. 

My JBoss server is running on a REdHat Linux installation and is basically the 
only thing running on the box with 12gig ram, other than the OS and a few 
network services.  

Jboss:- JBoss 4.0.2 and jdk1.4 
OS   : Redhat4 
DataBase :- Oracle10g RAC
user login : 80


How to increase the heap size upto 5 or 10gig ?


Thanks, 
MD Patil

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

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


[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-22 Thread kukeltje
the desicion attribute on transitions is for 'guarding' them. Depending on e.g. 
role, values of variables, etc... the transitions are valid or not and can be 
shown or not in de ui

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

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


[jboss-user] [Performance Tuning] - Re: JBoss- How to incrase Heap size?

2007-02-22 Thread mdpatil
"mdpatil" wrote : Hi - 
  | 
  | I'm looking for some advice as to how I should set the JVM memory size 
parameters (-Xmx and -Xms) when starting JBoss. 
  | 
  | My JBoss server is running on a REdHat Linux installation and is basically 
the only thing running on the box with 12gig ram, other than the OS and a few 
network services.  
  | 
  | Jboss:- JBoss 4.0.2 and jdk1.4 
  | OS   : Redhat4 
  | DataBase :- Oracle10g RAC
  | user login : 80
  | 
  | 
  | How to increase the heap size upto 5 or 10gig ?
  | 
  | 
  | Thanks, 
  | MD Patil

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

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


[jboss-user] [JBossWS] - WsTool NoClassDefFoundError ObjectModelFactory

2007-02-22 Thread petertuerk
Hello,

running wstools as AntTask i get the following error:

  [wstools] log4j:WARN No appenders could be found for logger 
(org.jboss.ws.tools.WSTools).
  [wstools] log4j:WARN Please initialize the log4j system properly.

BUILD FAILED
java.lang.NoClassDefFoundError: org/jboss/xb/binding/ObjectModelFactory

I have installed JBoss-4.0.5.GA using the installer, leaving everything default.

My build.xml:


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

Thank you for your help!

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - jpdGraphical process designer (jGPD)

2007-02-22 Thread roberto.guarino
hi all,
it is possible to modify the source code of Graphical process designer (jGPD)

thanks

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

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


[jboss-user] [JBoss jBPM] - Re: compare dates

2007-02-22 Thread jbmp user
In http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#expressions I read:

expression="#{myVar.handler[assignments].assign}" 

can it be useful??

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

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


[jboss-user] [EJB 3.0] - Re: relationship does not prevent from deleting referenced e

2007-02-22 Thread alexg79
You can instruct MySQL to create InnoDB tables by default.
Just put

  | default-table-type=innodb
  | 
under [mysqld], and you're set.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: jpdGraphical process designer (jGPD)

2007-02-22 Thread [EMAIL PROTECTED]
yes, its opensource.

go to jbpm site and find their cvs/svn instructions.

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen error (generate-entities did not work)

2007-02-22 Thread [EMAIL PROTECTED]
do you have any file listing cglib as the bytecodeprovider ?

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with process composition

2007-02-22 Thread Dennys
"nicolemans72" wrote : I have a problem with my process composition.
  | 
  | I have a sub-process like that: 
  | 
  | 
  |   | 
  |   |
  |   |
  |   |   
  |   |   
  |   | 
  |   | 
  | 
  | and when the process arrive to the "Process State" I hava an error
  | 
  | 
  |   | java.lang.NullPointerException: can't create a process instance when 
processDefinition is null
  |   | at 
org.jbpm.graph.exe.ProcessInstance.(ProcessInstance.java:87)
  |   | at 
org.jbpm.graph.exe.Token.createSubProcessInstance(Token.java:571)
  |   | at 
org.jbpm.graph.node.ProcessState.execute(ProcessState.java:109)
  |   | at org.jbpm.graph.def.Node.enter(Node.java:316)
  |   | 
  | 
  | However, i have deployed the processimplementation and there is a process 
definition in the database
  | 
  | Any suggestions?


Hay nicolemans72!

JBPM_PROCESSDEFINITION table it must possess one process definition with name 
"implementation".


Bye!

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

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


[jboss-user] [JBoss Portal] - programmatic portlet isntance cache expiration for all sessi

2007-02-22 Thread radzish
Hi!

Can i perform global portlet cache expiration for all users/sessions of 
particular portlet instance?

My use-case is fas ollowing:
I have users of following roles: administrator and visitor. Administrator 
updates content on the portlets from time-to-time. It would be nice to expire 
cache of user/sessions of particular content portlet instance once its content 
is updated, so visitor see updated contect after it was updated, not after 
session expires automatically.

(I use JBoss Portal 2.6)

Thanks.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - HQL and enum constants

2007-02-22 Thread alexg79
According to the Hibernate manual, it is possible to use public static final 
constants directly in HQL queries.
Why then can I not use enums there as well?
I tried

  | SELECT DISTINCT m FROM Material m, IN(m.suppliers) s WHERE m.unit <> 
Material.MaterialUnit.SQUARE_METRES AND s.id = :id
  | 
and variations like "MaterialUnit.SQUARE_METRES" and the fully qualified name, 
but they all produce the same error message on deployment:
anonymous wrote : 
  | 13:55:36,982 ERROR [SessionFactoryImpl] Error in named query: 
Material.nonCuttables
  | org.hibernate.hql.ast.QuerySyntaxException: Invalid path: 
'null.MaterialUnit.SQUARE_METRES' [SELECT DISTINCT m FROM 
fi.karico.etikettu.domain.Material m, IN(m.suppliers) s WHERE m.unit <> 
Material.MaterialUnit.SQUARE_METRES AND s.id = :id]
  | 
The same works fine if I just input the enum as a parameter:

  | SELECT DISTINCT m FROM Material m, IN(m.suppliers) s WHERE m.unit <> 
:m2unit AND s.id = :id
  | 
What am I doing wrong?

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

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


[jboss-user] [JBoss Messaging] - Re: jboss 1.2.0.CR1 MDB Cluster

2007-02-22 Thread timfox
For the 1.2 GA release I will be putting together some documentation on how to 
configure clustering for several classic deployment scenarios and usage 
patterns.

E.g.

Bank of homogenous MDBs and few producers.

Bank of homogenous MDBs and many well distributed producers.

Consumers that consume at different rates

etc

There are several ways things to be configured to suit different set-ups.

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam and Web Services using OC4J stack

2007-02-22 Thread [EMAIL PROTECTED]
Well, I didn't get to find that invokation as a servlet invokation, so I 
changed to axis2 yesterday, which seems to work as I expect. It is a servlet 
that I can intercept using Seam Servlet Filter and the resources are injected 
properly.

The problem with OC4J is that, even if I forced the URL path to a known one, 
Seam filter didn't intercepted the invokation, that's why I say it doesn't seem 
to be a servlet invokation.

Thanks a lot!

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

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


[jboss-user] [Beginners Corner] - External WAR Configuration

2007-02-22 Thread pander
Hi,

Can anyone give me some ideas as to the best way to approach and implement 
external configuration for a WAR WepApp.

My WebApp has grown considerably in size and scope since its inception and is 
requiring more and more "on the fly" changes to various parameters. At the 
moment I am struggling with an internal "Constants.java" file. What I would 
like is the ability for my WebApp to be able to lookup configuration data at 
runtime from say an XML file somewhere. Is this the best way to manage external 
configuration of a webapp?, and if so, where is the best place to put the XML 
config file?

Regards,
Paul.

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

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


[jboss-user] [JBoss jBPM] - Re: Invoke an external web service

2007-02-22 Thread agusgr
Thanks Alejandro.
Now I have another problem. When the process invoke the external web service, 
it sends a SOAP message like this: 
anonymous wrote : 
  |  
  |  
  |   ES
  |  
  | 
  | 
I don't now why the process adds the prefix "defaultNS". The external web 
service replies whit this:
anonymous wrote : 
  | 
  |  
  |  
  |   
  |soap:Server
  |Request parse error: The prefix 'defaultNS' has not been mapped to any 
URI
  |
  |   
  |  
  | 
  | 
What can I do?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: jpdGraphical process designer (jGPD)

2007-02-22 Thread roberto.guarino
thank you

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering / Multicast routing

2007-02-22 Thread lludlow2
In regards to setting the mutlicast port as a variable, do I need to set a 
variable for both the cluster-service.xml as well as the tomcat cluster config? 

Or can I get away with just changing the port for jgoups??



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

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


[jboss-user] [JBossCache] - Re: java.io.StreamCorruptedException: invalid stream header

2007-02-22 Thread vbatista
Now it works fine. Thanks.
Victor

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

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


[jboss-user] [EJB 3.0] - Re: Singleton MDB

2007-02-22 Thread LGSW_Sam
Hi wolfc!

Thanks for the tip! I'll try that when I have some time!

Br,
Sami Männistö

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

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

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


[jboss-user] [EJB 3.0] - Re: relationship does not prevent from deleting referenced e

2007-02-22 Thread micho
thanks a lot,

that works fine now, and with innodb tables the referential integritay is not 
violated.

But I´, not sure, how to act here correctly.
I catch two (identical?) runtimeexceptions - why two?
java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to 
commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=nbmicho/143, 
BranchQual=, localId=143] status=STATUS_NO_TRANSACTION; - nested throwable: 
(javax.persistence.EntityExistsException: 
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC 
batch update)
  | java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to 
commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=nbmicho/143, 
BranchQual=, localId=143] status=STATUS_NO_TRANSACTION; - nested throwable: 
(javax.persistence.EntityExistsException: 
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC 
batch update)

before two ERRORS one with a stacktrace are reported
ERROR [JDBCExceptionReporter] Cannot delete or update a parent row: a foreign 
key constraint fails (`test/benutzer_benutzergruppe`, CONSTRAINT 
`FKFB569FDA36A7B8DE` FOREIGN KEY (`benutzerGruppeListe_sid`) REFERENCES 
`benutzergruppe` (`sid`))
  | ERROR [AbstractFlushingEventListener] Could not synchronize database state 
with session org.hibernate.exception.ConstraintViolationException: Could not 
execute JDBC batch update

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

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

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


[jboss-user] [JBoss Portal] - Re: Installed JbossAS+Portal 2.4.1 Bundle what to convert to

2007-02-22 Thread nataleja
Deleted gthe entire Data directory and restarted.  JBoss recreated the 
directory but while the error message looks different it's still the same I 
think.

2007-02-22 08:33:02,676 ERROR 
[org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment 
listing:

--- MBeans waiting for other MBeans ---
ObjectName: portal:service=CMS
  State: FAILED
  Reason: javax.jcr.NamespaceException: failed to register namespace portalcms 
-> http://jboss.org/jcr/portalcms: mapping already exists
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
  Depends On Me:
portal:commandFactory=CMSObject
cms.pm.cache:service=TreeCache

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=CMS
  State: FAILED
  Reason: javax.jcr.NamespaceException: failed to register namespace portalcms 
-> http://jboss.org/jcr/portalcms: mapping already exists
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
  Depends On Me:
portal:commandFactory=CMSObject
cms.pm.cache:service=TreeCache




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

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


[jboss-user] [JBoss Seam] - Re: New fileUpload component

2007-02-22 Thread Newlukai
Hi,

is this upload tag compatible with ICEfaces? Or should the ICEfaces fileUpload 
be used?

Regards
Newlukai

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

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


[jboss-user] [JBoss Messaging] - Re: Monitoring the depth of a Queue/Topic

2007-02-22 Thread jurivrljicak
this way?

QueueBrowser browser = s.createBrowser(queue);
int depth= getDepth(browser);

private int getDepth(QueueBrowser browser) throws JMSException {
int i=0;
for(Enumeration e = browser.getEnumeration(); e.hasMoreElements(); ){
   i++; 
   e.nextElement();
}
return i;
}

javax.jms api

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

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


[jboss-user] [EJB 3.0] - Re: Custom LoginModule and ClassCastException

2007-02-22 Thread CarstenRudat
Hi edek5472,

I had the same problem... I think classes for your bean are loaded from 
different resources (one in .../lib and one out of the ear-file). Two instances 
of one type are different, if they were loaded through different class-loaders 
(e.g. different resources).

I'm sorry, but I have no solution found yet...

Hope that helps...

Carsten

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

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


[jboss-user] [JBossCache] - Re: Using JBossCache on Webpshere 6.x

2007-02-22 Thread esspe
Hello,

I tried to use JBOSS Cache (1.4.1 SP1) in WAS V6.1.
I set up a shared library dir which was assigned to the application I wanted to 
use the cache with. Eveythings works fine till I want to start the cache with 
cache.startService(). I receive a
javax.management.InstanceAlreadyExistsException: jboss.cache:service
Any ideas ?
What about using the cache as a custome service

Stefan

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

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


[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-22 Thread [EMAIL PROTECTED]
You cannot programatically set the eager/lazy setting.  You either set it to 
EAGER and have it always fetch, or you set it to lazy and for those things 
(like servlets) that need to force an eager fetch, they would need to call into 
some SLSB or some such thing that performs a FETCH JOIN query.

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

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


[jboss-user] [JBoss Seam] - Re: Identity.login adds a hardcoded message

2007-02-22 Thread [EMAIL PROTECTED]
I've just committed a change to cvs that will allow you to override the message 
key used for the login success/failure messages.  I.e. if you don't want a 
message, set loginSuccessfulKey to an empty string, e.g.


  | 

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

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


[jboss-user] [JBoss Seam] - how to generate all code to many module using seam-gen?

2007-02-22 Thread chlol
eg:
i have 20 tables,i want to generate 1-5 tables code to admin module,and 6-10 
tables code to system module, and 10-20 tables code to forum module.

but in current version,jboss-seam generate all tables code to only one 
direction,include entity,session and view.

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

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


[jboss-user] [EJB 3.0] - Re: relationship does not prevent from deleting referenced e

2007-02-22 Thread micho
I try to detect the constraintviolation now via

catch (RuntimeException e)
  | { if 
(e.getCause().getCause().getCause().getClass().toString().equals("class 
org.hibernate.exception.ConstraintViolationException") )
  |   { DO SOMETHING

is that OK?

But there are two things I don´t understand.
1) why are there two identical exceptions? Is that a problem?
2) I guarded the call of the remove request with a try-catch block, but the 
exception is not cougth in this catchblock

  | try
  | { em.remove(deleteBg);
  | }
  | catch (Exception e)
  | { logger.error("...

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

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

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


[jboss-user] [JBoss Seam] - Re: how to generate all code to many module using seam-gen?

2007-02-22 Thread chlol
direction is directory

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - could not define a configuration

2007-02-22 Thread *alexandre*
Hi, 

I juste install the last version of JBoss IDE for my version of eclipse 
(Version: 3.2.2)

And when I create an EJB 3.0 and want to create a configuration for Jboss 4.0.x 
-> New I got and error.

Here is the log  

anonymous wrote : 
  | ENTRY org.eclipse.jface 4 2 2007-02-22 14:30:04.687
  | !MESSAGE Problems occurred when invoking code from plug-in: 
"org.eclipse.jface".
  | !STACK 0
  | java.lang.NoClassDefFoundError: 
org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(Unknown Source)
  | at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
  | at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
  | at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager
  | 

thx in advance for your advice.

Regards

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

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


[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-22 Thread eiben
"[EMAIL PROTECTED]" wrote : You cannot programatically set the eager/lazy 
setting.  You either set it to EAGER and have it always fetch, or you set it to 
lazy and for those things (like servlets) that need to force an eager fetch, 
they would need to call into some SLSB or some such thing that performs a FETCH 
JOIN query.

OK, kinda feared something like that. How do I do FETCH JOIN query?

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

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


[jboss-user] [JBoss Portal] - Declarative Security and Portlets

2007-02-22 Thread karink
Hi,

I just would like to discuss an issue about the portlet specification and 
security.
Reading the portlet spec again and again there is one issue that I do not 
really understand:

The chapter "PLT.20.2 Roles" states:
anonymous wrote : The Portlet Specification shares the same definition as roles 
of the Servlet Specification
  | 2.3, SRV.12.4 Section.

Reading the servlet spec it states:
anonymous wrote : A servlet container enforces declarative or programmatic 
security for the principal associated with an incoming request based on the 
security attributes of the principal.


So what is meant by this:
Should the portlet container secure access to a portlet by means of declarative 
security. 
How can this be done? Is this a configuration in the web.xml file.
The portlet spec also stated "PLT.3 Relationship with the Servlet Specification"
anonymous wrote : Portlets are not directly bound to a URL

So how can there be a security-constraint in the web.xml without defined url.
Reading JBoss doc I got the impression that securing a portlet is
a portlet container related task (and is be done in the admin portlet,
or in jboss portal proprietary deployment descriptor).

Than I come to a next point. When accessing a portlet from remote via
WSRP how can than the portlet be secured. Currently I do not see a declarative 
mean.

If no declarative security can be used, is it really meant, that a portlet 
developer should always use programmatic security (isUserInRole)

Regards Karin



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

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


[jboss-user] [EJB 3.0] - Re: Annotations with interceptor behavior

2007-02-22 Thread dsouza42
Actually I don't have an ejb-jar.xml file. I'm trying to avoid xml and use 
annotations for everything instead.
>From the book I was under the impression that xml was not necessary to do 
>this, at least that's what I understood from the last page in the 
>"Interceptors" chapter. Thanks, anyway.

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

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


[jboss-user] [JBossWS] - Re: EJB2.1/J2EE1.4 Web service fails in jboss-4.0.4RC1

2007-02-22 Thread garambu
I've the same problem. 
I'm using JBOSS4.0.4 GA. Does anyone know how to solve this problem?

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

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


[jboss-user] [JBoss Messaging] - Re: jboss 1.2.0.CR1 MDB Cluster

2007-02-22 Thread fancoli
Thanks a lot Tim,

I am waiting for documentation.

Max

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

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


[jboss-user] [JBoss and NetBeans] - Re: JBoss NetBeans IDE: JBoss Server can't start on port 808

2007-02-22 Thread [EMAIL PROTECTED]
Okay, I changed the connection port and the JBoss Server now starts on the new 
port. There is no longer any conflict. Thanks for your help.

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection property not set after using the back

2007-02-22 Thread mjek2
AFAIK it works fine in Seam examples (and I also use @DataModelSelection in my 
app, it works even after back button usage, I'm currently on Seam1.1.1). Do you 
have just one @DataModelSelection in your component? Could you show some more 
code (complete xhtml page and related java components)? StackTrace if any? 
Seam/JSF version?

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

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


[jboss-user] [EJB 3.0] - Re: Injected MBean is not re-injected after SB-activation

2007-02-22 Thread wolfc
Transient re-injection is currently broken.

http://jira.jboss.com/jira/browse/EJBTHREE-883[/url]

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

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


[jboss-user] [JBoss Messaging] - Re: Monitoring the depth of a Queue/Topic

2007-02-22 Thread timfox
"jurivrljicak" wrote : this way?
  | 
  | QueueBrowser browser = s.createBrowser(queue);
  | int depth= getDepth(browser);
  | 
  | private int getDepth(QueueBrowser browser) throws JMSException {
  | int i=0;
  | for(Enumeration e = browser.getEnumeration(); e.hasMoreElements(); ){
  |i++; 
  |e.nextElement();
  | }
  | return i;
  | }
  | 
  | javax.jms api

This would probably be horribly slow - I wouldn't recommend it.

Also browsers are not mandated to provide a static snapshot of the queue, so 
the result won't necessarily exactly reflect the number of messages in the 
queue at any particular time.

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

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


[jboss-user] [JBoss Portal] - Re: wsrp with https

2007-02-22 Thread karink
Hi Chris,
I finally found the problem.
It was caused by the configuration of the https connector from tomcat.

I used this configuration

  |   
  | 

The parameter called proxyPort is the problem. Specifiying it causes
that the wsdl:import url is generated without url (I suppose because 443
is the default port for https).

I think this is a JBossWS Bug, because either all generated urls should
be with the current port or should use the proxy port. Currently it is mixed.
We will report this issue as bug.

Regards Karin




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

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


[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-22 Thread [EMAIL PROTECTED]
There's a lot of resources on the 'net that explain FETCH JOINs and its syntax.

Bill Burke's EJB3 book also has a chapter on JPA Queries that is good.

Google "FETCH JOIN".  e.g. Here's a hibernate page that may be helpful.

http://www.hibernate.org/hib_docs/reference/en/html/queryhql.html

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

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


[jboss-user] [Installation, Configuration & Deployment] - Deployment Problems on Linux

2007-02-22 Thread Torgue
Hi,

i'm using the version 4.0.1 SP1 of JBoss. I have an application which works 
without problems on Windows and Linux(Debian) but it doesn't work on Linux(Suse 
9.1). The Problem seems to have something to do with the way the jar libraries 
are processed. Maybe the loading order of the libraries. Is there any option in 
Linux which could affect the loading of the libraries? The installation on each 
system is identical.

Thx
Torgue

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen error (generate-entities did not work)

2007-02-22 Thread grdzeli_kaci
"[EMAIL PROTECTED]" wrote : do you have any file listing cglib as the 
bytecodeprovider ?

no i din not have any file listing cglib? 
where should be these files ???

i did only 3 comnand 
I   ./seam setup
II  ./seam new-project
III ./seam generate-entities

i have not done anything else.

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

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


[jboss-user] [JBoss jBPM] - Insert TaskNode and Task at runtime via an ActionHandler

2007-02-22 Thread warmonga
Hello,

I am trying to insert a new TaskNode together with a Task and a TaskInstance 
into a ProcessInstance at run-time through an ActionHandler. When testing it 
through the Jbpm API it executes fine but after deploying the process i get a 
TransientObjectException.

The code looks like this:

  | 
  | 
  | public class MyActionHandler implements ActionHandler {
  | [...]
  | public void execute(ExecutionContext executionContext) throws Exception {
  | [...]
  | TaskNode insertedTaskNode = new TaskNode("Check Task"); 
  | 
  | TaskMgmtDefinition tmd = (TaskMgmtDefinition) 
  | executionContext.getDefinition(TaskMgmtDefinition.class);
  | Task task = new Task("Check please");
  | TaskInstance taskInstance = 
processInstance.getTaskMgmtInstance().createTaskInstance(task, 
  | processInstance.getRootToken());
  | taskInstance.setActorId("grover");
  | Node currentNode = executionContext.getNode();
  | 
  | 
  | // TODO: Auch mehrere berücksichtigen!
  | Transition currentNodeLeavingTransition = (Transition) 
currentNode.getLeavingTransitions().get(0);
  | Node nextNode = currentNodeLeavingTransition.getTo();
  | 
  | currentNodeLeavingTransition.setTo(insertedTaskNode);
  | 
  | Transition insertedTaskNodeLeavingTransition = new 
Transition("insertedTaskNodeLeavingTransition");
  | insertedTaskNodeLeavingTransition.setFrom(insertedTaskNode);
  | insertedTaskNodeLeavingTransition.setTo(nextNode);
  | 
  | 
  | insertedTaskNode.addTask(task);
  | [...]
  | }
  | [...]
  | }

The error stack looks like that:
anonymous wrote : 15:23:54,813 DEBUG [HibernateSaveOperation] saving process 
instance
  | 15:23:54,813 DEBUG [SaveLogsOperation] flushing logs to logging service.
  | 15:23:54,823 DEBUG [CascadeSaveOperation] cascading save of '[EMAIL 
PROTECTED]'
  | 15:23:54,823 INFO  [[/jbpm]] WARNING: Component _id13 just got an automatic 
id, because there was no id assigned yet. If this comp
  | onent was created dynamically (i.e. not by a JSP tag) you should assign it 
an explicit static id or assign it the id you get from
  | the createUniqueId from the current UIViewRoot component right after 
creation!
  | 15:23:54,833 ERROR [TaskMgmtSession] 
org.hibernate.TransientObjectException: object references an unsaved transient 
instance - sav
  | e the transient instance before flushing: org.jbpm.taskmgmt.def.Task
  | 15:23:54,833 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
  | javax.faces.el.EvaluationException: Cannot get value for expression 
'#{homeBean.taskInstances}'
  | at 
org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:399)
  | at javax.faces.component.UIData.getValue(UIData.java:779)
  | at javax.faces.component.UIData.createDataModel(UIData.java:545)
  | at javax.faces.component.UIData.getDataModel(UIData.java:534)
  | at javax.faces.component.UIData.getRowCount(UIData.java:103)
  | at 
org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:124)
  | at 
org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319)
  | at 
javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:343)
  | at 
javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:251)
  | at 
org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:55)
  | at 
org.apache.jsp.home_jsp._jspx_meth_h_dataTable_0(org.apache.jsp.home_jsp:205)
  | at 
org.apache.jsp.home_jsp._jspx_meth_f_view_0(org.apache.jsp.home_jsp:124)
  | at org.apache.jsp.home_jsp._jspService(org.apache.jsp.home_jsp:76)
  | at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
  | 

[jboss-user] [JBossWS] - Re: NoSuchMethodError on TypeBinding.setBeforeMarshallingCal

2007-02-22 Thread [EMAIL PROTECTED]
It looks like you have a wrong jboss-xml-binding.jar in the client classpath. 
Check the jbossws instructions and make sure you use the right one. It might as 
well be, that you mix two version of that jar. It's aswell bundled with 
jboss-all-client.jar

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

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


[jboss-user] [JBossWS] - Re: NullPointerException while using JBossWS 1.0.4.GA

2007-02-22 Thread [EMAIL PROTECTED]
What was it?

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

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


[jboss-user] [JBossWS] - Re: Problems ejb call and jaxrpc / principal

2007-02-22 Thread penguine
if I use in the ejb-jar.xml

  
  
  
instead of 

  friend
  
it works.

And  I have to disabled the http authorization for my example:


  RoleSecured
  /ws/RoleSecured
   



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

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


[jboss-user] [Installation, Configuration & Deployment] - JBoss slow in debug mode

2007-02-22 Thread dArignac
Hi there,

I'm running a JBoss 4.0.4 GA on WindowsXP and I develop within Eclipse with the 
JBoss IDE.
Everything worked fine until yesterday. I did not change anything (at least I 
don't remember) but the JBoss server is running very slow in debug mode. It 
needs more than 5 minutes to start and the IDE says that it could not start the 
server as it took too long.

maybe any suggestions?

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

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


[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
"[EMAIL PROTECTED]" wrote : *I guess * it would be nice if the next JMS spec 
version could add an Admin API.

Tim, Thanks for the feedback, do you have any such samples? 

-APK

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

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


[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
"apk2072" wrote : "[EMAIL PROTECTED]" wrote : *I guess * it would be nice if 
the next JMS spec version could add an Admin API.
  | 

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

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


[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
"timfox" wrote : You can create destinations programmatically using the 
ServerPeer MBean interface.
  | 
  | So I guess you could write a program that read the data from the database 
and called the mbean server to create the destinations.

Tim, Thanks for the feedback, do you have any such samples?

-APK

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

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


[jboss-user] [JBoss Seam] - Re: Identity.login adds a hardcoded message

2007-02-22 Thread [EMAIL PROTECTED]
-1. messages.properties is the place to config messages.

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering / Multicast routing

2007-02-22 Thread lludlow2
Brian, Thanks allot setting the port to a variable, and adding the bind.address 
in the start script seems to have done the trick.

Now all I have left to do is create a script to do this all for us :) loads of 
fun.

Larry

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering / Multicast routing

2007-02-22 Thread [EMAIL PROTECTED]
Glad it worked. :-) 

I'm curious: why 50 partitions?

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

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


[jboss-user] [JBoss Seam] - Re: injection into stateless bean (which is called from an M

2007-02-22 Thread petemuir
Please post some code, your description is hard to follow.

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

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


[jboss-user] [JBoss jBPM] - Re: What should happen if exception occurs in Action?

2007-02-22 Thread clandestino_bgd
Just to add that I am using:
jbpm-3.1.3 starters kit.
The previosly reported exception after trying to delete process instance after 
FK constrain exception is thrown:


  | [executive] ERROR [http-8180-Processor25] PARSER.reportError(33) | 
:0:0: unexpected end of subtree
  | org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [
  | 
  |   select pl
  |   from org.jbpm.logging.log.ProcessLog as pl
  |   where pl.token in ()
  | 
  |   ]
  | 

is actually my failure, because I did not merge well the "if" condition added 
in 3.1.3:

  | // delete the logs for all the process instance's tokens
  |   if ((tokens!=null)
  |&& (!tokens.isEmpty())
  |  ){
  | 
After that I have "only one" exception FK constraint:


  | Start deleting process instance
  | Deleted process instance
  | 14:29:16,781 [executive] WARN JDBCExceptionReporter.logExceptions(71) | SQL 
Error: 1451, SQLState: 23000
  | 14:29:16,781 [executive] ERROR JDBCExceptionReporter.logExceptions(72) | 
Cannot delete or update a parent row: a foreign key constraint fail
  | s (`executive_db/jbpm_variableinstance`, CONSTRAINT `FK_VARINST_PRCINST` 
FOREIGN KEY (`PROCESSINSTANCE_`) REFERENCES `jbpm_processinstance`
  | (`ID_`))
  | 14:29:16,781 [executive] ERROR 
AbstractFlushingEventListener.performExecutions(301) | Could not synchronize 
database state with session
  | org.hibernate.exception.ConstraintViolationException: could not delete: 
[org.jbpm.graph.exe.ProcessInstance#3]
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2476)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2632)
  | at 
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:73)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at 
org.springframework.orm.hibernate3.SpringSessionSynchronization.beforeCommit(SpringSessionSynchronization.java:130)
  | at 
org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:
  | 48)
  | at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager
  | .java:707)
  | at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:
  | 523)
  | at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:510)
  | at 
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.jav
  | a:310)
  | at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117)
  | at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  | at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209)
  | at $Proxy6.cancelProcessInstance(Unknown Source)
  | at 
gleam.executive.webapp.action.ProcessInstanceAction.cancel(ProcessInstanceAction.java:141)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
  | at 
gleam.executive.webapp.action.BaseAction.execute(BaseAction.java:229)
  | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
  | at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
  | at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  | at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  | at javax.servlet.http

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread timfox
There should be plenty of examples of how to call an MBean operation on the 
jboss wiki.

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

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


[jboss-user] [JBoss Seam] - Re: New fileUpload component

2007-02-22 Thread henrik.lindberg
Newlukai, unless I am misinformed - if you use ICEFaces 1.5.3, and Seam 1.1.6GA 
neither the ICEFAces file upload, nor the Seam upload works. This is logged as 
an issue in Jira

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering / Multicast routing

2007-02-22 Thread lludlow2
We have somewhere from 70-80 apps, and we need them to all (well not all but 
most)  be separate, something to do with SAS70 compliance.

My boss came up with the idea of using a separate instance per application, 
except for some small apps / websites.

I don't exactly agree, but they are willing to give me the hardware I will do 
it.


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

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


[jboss-user] [JCA/JBoss] - Connection closed problem after DB restart.

2007-02-22 Thread java123
It looks like JBoss datasource does not handle DB restarts well. We are getting 
Connection closed errors after the DB restarts. Is there a way for datasource 
to handle DB restarts? 

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

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


[jboss-user] [JBoss Portal] - Re: Installed JbossAS+Portal 2.4.1 Bundle what to convert to

2007-02-22 Thread nataleja
I know that this shouldn't matter at all because it should just be a JDBC 
connection but unlike in the documentation or the sample portal-oracle-ds.xml 
file my Oracle database is not local to the JBoss Portal server it is on it's 
own server.



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

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


[jboss-user] [JBossWS] - receiving a AxisFault in the client

2007-02-22 Thread flaviafm
Hi all,

I'm starting study Web services and I'm trying to use a client to test the web 
service that I just create and I'm receiving the follow error em I execute the 
client program. I'm using Eclipse 3.2 and Jboss4.0.1ps1

The client source is :

  | package com.myapp;
  | 
  | import javax.xml.namespace.QName;
  | import javax.xml.rpc.Call;
  | import javax.xml.rpc.Service;
  | import javax.xml.rpc.ServiceFactory;
  | import javax.xml.rpc.ParameterMode;
  | 
  | 
  | public class DIIClient {
  | 
  | // modified from sun j2ee jaxrpc example
  | 
  | private static String endpoint = 
"http://localhost:8080/simple-ws4ee/ws4ee/services/HelloWorld";;
  | private static String qnameService = "HelloWorldService";
  | private static String qnamePort = "HelloWorld";
  | 
  | private static String ENCODING_STYLE_PROPERTY 
="javax.xml.rpc.encodingstyle.namespace.uri"; 
  | private static String NS_XSD = "http://www.w3.org/2001/XMLSchema";;
  | private static String URI_ENCODING = 
"http://schemas.xmlsoap.org/soap/encoding/";;
  | 
  | 
  | public static void main(String[] args) {
  | 
  | System.out.println("Endpoint address = " + endpoint);
  | 
  | try {
  | ServiceFactory factory = ServiceFactory.newInstance();
  | Service service = factory.createService(new 
QName(qnameService));
  | 
  | QName port = new QName(qnamePort);
  | 
  | Call call = service.createCall(port);
  | call.setTargetEndpointAddress(endpoint);
  | 
  | call.setProperty(Call.SOAPACTION_USE_PROPERTY, new 
Boolean(true));
  | call.setProperty(Call.SOAPACTION_URI_PROPERTY, "");
  | call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING);
  | QName QNAME_TYPE_STRING = new QName(NS_XSD, "string");
  | call.setReturnType(QNAME_TYPE_STRING);
  | 
  | 
  | call.setOperationName(new QName(endpoint, "getHelloWorld"));
  | call.addParameter("String_1", QNAME_TYPE_STRING, 
ParameterMode.IN);
  | String[] params = { "jboss!" };
  | 
  | String result = (String)call.invoke(params);
  | System.out.println(result);
  | 
  | } catch (Exception ex) {
  | ex.printStackTrace();
  | }
  | }
  | }
  | 

The error is: 

  | AxisFault
  |  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
  |  faultSubcode: 
  |  faultString: java.lang.NullPointerException
  |  faultActor: 
  |  faultNode: 
  |  faultDetail: 
  | {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
  | at java.util.Hashtable.put(Unknown Source)
  | at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown 
Source)
  | at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:263)
  | at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657)
  | at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
  | at org.apache.axis.Message.getContentType(Message.java:496)
  | at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
  | at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
  | at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  | at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  | at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
  | at 
org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:126)
  | at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
  | at org.apache.axis.client.Call.invoke(Call.java:3014)
  | at org.apache.axis.client.Call.invoke(Call.java:2608)
  | at org.apache.axis.client.Call.invoke(Call.java:2513)
  | at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
  | at org.apache.axis.client.Call.invoke(Call.java:1914)
  | at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
  | at com.myapp.DIIClient.main(DIIClient.java:47)
  | 
  | 
  | org.apache.axis.AxisFault: java.lang.NullPointerException
  | at org.apache.axis.AxisFault.makeFault(AxisFault.java:146)
  | at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:136)
  | at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  | at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  | at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
  | at 
org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:126)
  | at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
  | at org.apache.axis.client.Call.invoke(Call.java:3014)
  | at org.apache.axis.client.Call.invoke(Call.java:2608)
  | at org.apache.axis.client.Call.invoke(Call.java:2513)
  | at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
  |

[jboss-user] [JBossWS] - Re: NullPointerException while using JBossWS 1.0.4.GA

2007-02-22 Thread vink
This happened because I'm referring some interface in my sample, which was not 
included in the archive I've deployed on JBoss.

And, now it is running fine.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: could not define a configuration

2007-02-22 Thread [EMAIL PROTECTED]
JBoss IDE 1.6 is not compatible with Eclipse 3.2.

Either use JBoss IDE 2.0 beta, or downgrade your eclipse to eclipse 3.1. If you 
use the JBoss IDE 2.0 beta, most of the tutorials will be outdated as 
documentation has not yet caught up with development. 

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

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


[jboss-user] [JNDI/Naming/Network] - Accessing another service's mbean from a web service?

2007-02-22 Thread kc7bfi
I have a web service and I want to lookup another service to see if it has 
started. I have tried:

Context jndiContext = new InitialContext();
  | ServiceMBean serviceMBean = 
(ServiceMBean)jndiContext.lookup("orci:service=SerialCommSvc");
  | 

The service is defined as 


  |   
  | jboss:service=CorbaNaming
  | orci:name=OpenCommSessionFactory
  |   
  | 


unfortunately, the lookup does not find the service. Am I doing something 
wrong? Thanks in advance, 

David

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

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


[jboss-user] [JBoss jBPM] - Re: Jbpm issues

2007-02-22 Thread Johan.Parent
I had the problem listed below. Turns out is was a classpath issue. In my case 
there was some interference in lookup of the JpdlEntityResolver and the 
EntityResolver setup provided by my Weblogic.jar.

Maybe this solves the problem for you. If not crank up your log4j.properties to 
DEBUG and see where it hurts.

Best regards,

Johan


  | 2. When I specify xml schema in process xml, i can't deploy it, unless i 
modify jbpm to ignore validation errors.
  | This is the error i get:
  | [[ERROR] line 376: cos-ct-extends.1.4.2.2.2.2.1: Error for type 
'#AnonType_assignment'. The content type of a derived type and that of its base 
must both be mixed or element-only., [WARNING] swimlane 'swimlane1' does not 
have an assignment]
  | I'll post the sample process file in next post. Is this a known issue?
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Jbpm issues

2007-02-22 Thread Johan.Parent
I had the problem listed below. Turns out is was a classpath issue. In my case 
there was some interference in lookup of the JpdlEntityResolver and the 
EntityResolver setup provided by my Weblogic.jar.

Maybe this solves the problem for you. If not crank up your log4j.properties to 
DEBUG and see where it hurts.

Best regards,

Johan


  | 2. When I specify xml schema in process xml, i can't deploy it, unless i 
modify jbpm to ignore validation errors.
  | This is the error i get:
  | [[ERROR] line 376: cos-ct-extends.1.4.2.2.2.2.1: Error for type 
'#AnonType_assignment'. The content type of a derived type and that of its base 
must both be mixed or element-only., [WARNING] swimlane 'swimlane1' does not 
have an assignment]
  | I'll post the sample process file in next post. Is this a known issue?
  | 

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering / Multicast routing

2007-02-22 Thread [EMAIL PROTECTED]
Missed your question about the tomcat cluster.  Yes, you should use a separate 
variable for that :(.  With JBoss 5, this will be easier as by default all 
services will share a single JGroups channel. And there will be a startup 
switch (a la -u, -b, etc.) for setting the mcast_port for the shared channel.

BTW, the reason for setting the mcast_port to a different value for different 
groups is discussed here: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=PromiscuousTraffic .  If not for this 
issue, using different values for -u would be sufficient.

Also, if you aren't using 4.0.4 or later, edit the ClusterName attribute in 
tc5-cluster-service.xml for it's value is 
"Tomcat-${jboss.partition.name:DefaultPartition}".  That will cause the value 
you pass to -g to be part of the name, further helping to isolate the 50 
clusters.  In 4.0.4 and later the default value for ClusterName uses that 
syntax.

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

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


[jboss-user] [Beginners Corner] - A new understanding of ClassLoaders...

2007-02-22 Thread mbabauer
Recently I have been playing a lot with the new JBoss 4.0.x, Spring, and the 
like.  As an excercise in learning, I have constructed a little "project" to 
build a Hash Generator (MD5, SHA, etc).  This little project uses:
  - Hibernate for persistance of data
  - Spring for DI (dependency injection) and convenience classes
  - JBossMQ for messaging from the code that generated the permutations of text 
to hash and the code doing that hashing
  - GWT (Google Web Toolkit) for the purpose of learning GWT

I seem to have run into a snag recently, however: My complete and utter lack of 
understanding concerning Class Loaders.  More specifically, my confusion as to 
why its not working how I intuitively think it should.

I come from a JBoss 3 world, which seemed to favor the "Unified" Class Loader.  
In those days, anyone could see anyone...total visibility of all classes across 
the board.  This came with some problems, however, when two deployment units 
required different versions of the same library.  Most of the time, you 
couldn't tell WHERE a class was comming from, or whether it was the one you 
thought you had.

Along comes JBoss 4 with its "Hierarchical" Class Loader.  As a CS major, I am 
all to familiar with the term Hierarchical, and it conjurs visions of trees and 
such on mention.  Intuitively, this is how I picture it working:

  JBoss Libs (lib folder at root of JBoss)
  | \
  |Libs (lib folder under your server
  | \
  |   EAR (everything at root of EAR file)
  | \
  |   WAR (everything in WEB-INF/lib
  | \
  |   JAR etc
  |   EJB
  |   SAR

In this illustration, the WAR can see everything in his lib, plus have 
visibility up the hierarchy to see everything above it.  The WAR would not have 
visibility accross to his siblings (EJB and SAR).  This would be great, except 
for the fact this doesn't work.  Let me illustrate why.

In my little project mentioned above, I have a library file that has my 
DAOs/VOs, long with the parent Spring context file.  It gets placed at the root 
of the EAR along with all the supporting JARs from Spring and the WAR.  In my 
mind, the WAR should now have visiblity to the DAO layer, since the DAOs are in 
the root of the EAR.  When it ran, however, I found that the WAR could NOT see 
the Spring classes at all.  I have to admit, I am new to EAR deployment, so I 
am trusting Maven to put the libs where it thinks it needs them.

To make matters worse, when I put the Spring JAR into the JBoss lib dir, it 
STILL didn't see it!  I finally had to add the Spring JAR to the WAR's lib 
folder, which got past this hurdle.

The next problem is in the DAO layer.  As I stated, I am using Spring, and 
inside the JAR containing the DOA/VO classes is a "parent" Spring context.  
When the WAR deploys, it uses the ContextLoaderListener in the web.xml to load 
the WAR's Spring context, using a classpath to a file.  It also loads the 
parent context, also defined as a classpath to a file.  When I deployed the DAO 
JAR into the server lib and the WAR solo, everything worked fine.  But, with 
the DAO JAR in the root of the EAR along with the WAR, the 
ContextLoaderListener never finds the parent context, I.E. it can't find the 
file in the classpath.  The thing is, the DAO JAR is designed to be a shared 
DAO library layer, so visibility across the EAR is important.

Once again, admittedly I am VERY weak on EAR deployment, which is one of the 
reasons I choose to do this.  In my JBoss 3.x past, we simply deployed 
everything, WARs/JARs/SARs/etc, directly in the deploy dir of the server.  We 
also loaded the servers lib folder with all libraries.

I call out to you, my JBoss brothers and sisters...help those like me that have 
no idea whats going on in the Class Loader.  Help us to understand as best we 
can how this stuff is working.

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

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


[jboss-user] [Beginners Corner] - Re: Inability to Run a JSF Application on JBoss

2007-02-22 Thread jhimmel
Thanks.  After I figured out how to remove the RI from the application on 
JBuilder, I ran this again.  This time I obtained the following error display:

HTTP Status 404 - /JSFTutorialAttempt2/login.faces

type Status report
message /JSFTutorialAttempt2/login.faces
description The requested resource (/JSFTutorialAttempt2/login.faces) is not 
available.

Apache Tomcat/5.5.20

Since I am new to JSF and relatively new to Java, I am not sure what the 
purpose is for a file ending in the ?.faces? suffix.

- jhimmel


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

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


[jboss-user] [JBoss Seam] - Re: Identity.login adds a hardcoded message

2007-02-22 Thread [EMAIL PROTECTED]
I've rolled back the changes previously mentioned... Gavin has been so kind as 
to modify FacesMessages to not add blank messages so my changes are redundant.

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering / Multicast routing

2007-02-22 Thread lludlow2
we are using 4.0.5 I have done some testing with 4.0.4 in the past, and did see 
when not using different multicast addresses and ports that I get chatter in 
the logs from other clusters.

We are using the most recent jdk so I don't think the we will run into the 
Promiscuous Traffic issue.

Using jdk5 do I need to worry about using different ports?? or just a different 
address enough?

I will add another var for the tomcat cluster.
Thanks

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

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


  1   2   3   >