[JBoss-user] [JBoss Seam] - Re: Method not found: isJndiName

2006-04-14 Thread [EMAIL PROTECTED]
as noted in other threads with the same error:
the seam code generation does not support composite-id's (yet)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Return From Nested Conversation and Last Element of @DataMod

2006-04-14 Thread amin59
Hi,

When I return from a nested conversation (via its @End method) to the higher 
level and inside the nested conversation I've added a new element to the 
@DataModel of the parent conversation (e.g. A subconversation that adds 
elements to the list), and when this newly added element is the LAST one in the 
data-model list (what a long situation:), then it is SHOWN but the first click 
on the element does NOTHING. I've to click on it twice to invoke the related 
action method.

Well, I'm sorry that the situation to regenerate this case is a bit long but 
it's a matter that should be solved... 

I dono whether this is a bug of my application or Seam. but i guess it is some 
how related to seam since when I place the newly added element somewhere else 
in the @DataModel list then it works.

I decided to return to the dady's list page with  but that one does not solve 
it too.

Thanks for Attention

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Latest update of Seam from CVS blew away many library jars

2006-04-14 Thread asampaleanu
A lot of the jars from the main lib directory as well as some from the 
embedded-ejb example got removed. The Ant build works without these jars since 
the dependencies are resolved based on the JBoss AS home, I presume, but the 
Eclipse project is broken as is.

I guess this was an oversight. Could someone please fix?

Thanks,
Adrian

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @Conversational with s:link

2006-04-14 Thread [EMAIL PROTECTED]
If you're still seeing this problem, please submit your test app to JIRA. TIA.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wstools

2006-04-14 Thread youzi
Hi,

I knew the jbossws-1.0.0.CR6 is not yet ready.  My current downloaded version 
is JBOSS 4.0.4CR2.  I am thinking to use the new JBOSSWS instead of WS4EE, but 
I have a very tight schedule to complete the task.

Since JBOSS4.0.4CR2 is not including the WSTOOLS and the JBOSSWS user guide is 
also not completed (at least the WSTOOLS part in the appendix).  May I know 
when will you release a more complete version, a version that includes WSTOOLS 
and able to create a good EndPoint using it?

My client is requesting to use C# and .NET to create the web service client.  
Is this a problem?

Thanks for all your great works.

youzi



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @Local and @Remote version of the same interface?

2006-04-14 Thread elkner
"lhoriman" wrote : Why would you ever want a bean with identical Local and 
Remote interfaces?Because I wanna make sure, that at the server the method 
params are passed as reference and thus avoid the serialization overhead ... ?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: BusinessWeek - Oracle buying JBoss

2006-04-14 Thread MicaCooper
Dave,

I would be concerned with any purchase including Redhat. Oracle has a somewhat 
less than stellar performance record with J2EE engines. Their purchase would be 
to control the technology. 

BEA and IBM would have been better off to have bought and buried JBoss a long 
time ago. JBoss while profiting little has cost them BILLIONS.  It is extremely 
difficult to justify purchasing a company to bury it though.

Microsoft in the end may be the big loser here. RAMJ is a terrific stack when 
packaged with software...something like SugarCRM will be able to packaged a DVD 
ready to go..OS, servers, software, voila. 

Redhat could still be problematic in that they have to leverage the purchase of 
JBoss. While on its own, JBoss answered to the customers, now they answer to 
Redhat before the customers. Being public is a terrible burden and has buried 
as many companies as anything else.

But, you are right Dave, Redhat has it in its interest to build up and promote 
and make JBoss stronger...Oracle has no such need.

Mica

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: forms in jbpm

2006-04-14 Thread kbarfield
Please take a look at the getting started wiki:  
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted 

You are listing out the variable names in the process definition, and they are 
stored in the jBPM database when the process is deployed.  The web app reads in 
what the variable names are for the particular task that is being worked, and 
displays fields for them on the form.

Kevin

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: utility of jbpm in a huge j2ee application

2006-04-14 Thread kbarfield
Yes, that is exactly how jBPM works.  The jBPM engine manages the process 
state, and will call to your J2EE application logic through actions that you 
setup.

Kevin

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Bug in seam interceptors - method with variable parameters

2006-04-14 Thread Andy.2003
Hello,

I got an method like this:

public static void addInfoMessage(String pMsgId, Object... pParams) {
  | FacesContext.getCurrentInstance().addMessage(null, 
getMessage(pMsgId, FacesMessage.SEVERITY_INFO, pParams));
  | }

when I call the method without addidional parameters from the main method it's 
executed normally:

public static void main(String[] args) {
  | addInfoMessage("foo.bar");
  | }

but when I call this method from a Seam component I get the following exception:

Caused by: java.lang.NoSuchMethodError: 
de.foo.utils.Utils.addWarnMessage(Ljava/lang/String;)V
  | at 
de.foo.webfront.RegisterCustomerBean.create(RegisterCustomerBean.java:119)
  | at 
de.foo.webfront.RegisterCustomerBean$$EnhancerByCGLIB$$1ebf5fb7.CGLIB$create$0()
  | at 
de.foo.webfront.RegisterCustomerBean$$EnhancerByCGLIB$$1ebf5fb7$$FastClassByCGLIB$$277e69fe.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
  | at 
org.jboss.seam.interceptors.JavaBeanInterceptor$1.proceed(JavaBeanInterceptor.java:80)
  | at 
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
  | at 
org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:65)
  | ... 103 more

Is it a bug or did I miss something?

- Andreas

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - how to dynamical tune parameters

2006-04-14 Thread w114hua
In JBoss ,there are many parameters about performance.In order to improve 
performance of jboss application server. some parameters could be dynamically 
tuned without shutting down JBoss Application Server .who could tell me a  list 
of detailed parameters for on-line performance tuning ?
whether could these parameters be on-line tuned through jmx-console.
thank in advance 
wang 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - how to dynamical tune parameters through jmx-console

2006-04-14 Thread w114hua
In JBoss ,there are many parameters about performance.In order to improve 
performance of jboss application server.,some parameters could be dynamically 
tuned without shutting down JBoss Application Server .who could tell me a  list 
of detailed parameters for on-line performance tuning ?
whether could these parameters be on-line tuned through jmx-console.
   thank in advance !
   wang 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - forms in jbpm

2006-04-14 Thread achilloman_jbpm
hi,
my question is: based on the sample process "websale", how does it generate 
automatic forms related to each process

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Change a user role dynamically

2006-04-14 Thread cpage
Subject comes from the javax.security package

and SimpleGroup from org.jboss.security package

when you retrieve the Subject, you can manipulate as you want, if it's not read 
only.
in the portlet, it's not.


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - How to write files into the root context

2006-04-14 Thread tophermiller
My root web application context is deployed outside of a war file.  I want my 
web application to be able to write new files into this directory tree.  So, I 
need to obtain a java.io.File object that points to the root of my web 
application.  However, this path varies from server to server.  Is there a way 
I can get this path from the JBoss API somehow?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Method not found: isJndiName

2006-04-14 Thread max522over
which version of Jboss server are you using. I believe you need to be on the rc 
release. Seam has not bee updated to work on the latest version of jboss.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - @Local and @Remote version of the same interface?

2006-04-14 Thread lhoriman
The calculator example in the tutorial looks like this:


  | public interface Calculator
  | {
  | ...
  | }
  | 
  | @Local public interface CalculatorLocal extends Calculator {}
  | 
  | @Remote public interface CalculatorRemote extends Calculator {}
  | 
  | @Stateless public class CalculatorBean implements CalculatorLocal, 
CalculatorRemote
  | {
  | ...
  | }
  | 

The idea being, as a client, you choose whether or not to use the Local or 
Remote version of the interface.

Why would you ever want a bean with identical Local and Remote interfaces?

I understand why you might want a bean with a Local interface only to prevent 
access from outside the JVM.  But since JBoss optimizes a Remote call when 
in-process, what advantage does the above example have over:


  | @Remote public interface Calculator
  | {
  | ...
  | }
  | 
  | @Stateless public class CalculatorBean implements Calculator
  | {
  | ...
  | }
  | 

?

If there is no advantage, it seems like the general rule of thumb for 
development should be using a single interface, with either @Local if it should 
be local-only, or @Remote if it should be local-or-remote.

Thanks,
Jeff Schnitzer
http://subetha.tigris.org/

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - JBoss Hibernate+Spring Application Deployment (JNDI Problem)

2006-04-14 Thread Warlock
Hi to all,

I'm not able to deploy my Application in JBoss. I use the JMX (Hibernate MBean) 
and Spring.

I created a folder called pronego.ear containing the META-INF and pronego.war 
folders. Inside the META-INF exists the file jboss-service.xml which creates 
the MBean:

  | 
  | 
  | java:/ProNegoDataSource
  | java:/pronego/hibernate/SessionFactory
  | org.hibernate.dialect.MySQLInnoDBDialect
  | org.hibernate.cache.HashtableCacheProvider
  | update
  | true
  | true
  | 
  | 
  | 

To use together with Spring I have the file applicationContext.xml inside of 
pronego.ear/pronego.war/WEB-INF with the following lines:


  | 
  | java:/pronego/hibernate/SessionFactory
  | 
  | 

As you can see there should be two objects located in JNDI (datasource and 
sessionfactory). During deployment it seems that the datasource is registered 
in JNDI correctly. But the sessionfactory will be retrieved before it is 
registered in JNDI.

Here is the stacktrace:

2006-04-15 01:22:25,202 DEBUG [org.springframework.jndi.JndiTemplate] Looking 
up JNDI object with name [java:/pronego/hibernate/SessionFactory]
2006-04-15 01:22:25,202 DEBUG 
[org.springframework.beans.factory.support.DefaultListableBeanFactory] 
Retrieving dependent beans for bean 'sessionFactory'
2006-04-15 01:22:25,202 INFO  
[org.springframework.beans.factory.support.DefaultListableBeanFactory] 
Destroying singletons in factory 
{org.springframework.beans.factory.support.DefaultListableBeanFactory defining 
beans 
[namingStrategy,sessionFactory,transactionManager,userDao,userManagerTarget,userManager,/loginAction,/myAccount,/myAccountUserDataChange];
 root of BeanFactory hierarchy}
2006-04-15 01:22:25,202 DEBUG 
[org.springframework.beans.factory.support.DefaultListableBeanFactory] 
Retrieving dependent beans for bean 'namingStrategy'
2006-04-15 01:22:25,202 DEBUG 
[org.springframework.beans.factory.support.DefaultListableBeanFactory] Applying 
DestructionAwareBeanPostProcessors to bean with name 'namingStrategy'
2006-04-15 01:22:25,202 ERROR 
[org.springframework.web.struts.ContextLoaderPlugIn] Context initialization 
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'sessionFactory' defined in ServletContext resource 
[/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested 
exception is javax.naming.NameNotFoundException: pronego not bound
javax.naming.NameNotFoundException: pronego not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at 
org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
at 
org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86)
at 
org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104)
at 
org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:125)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
at 
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
at 
org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:353)
at 
org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at 
org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at 
org.apache.struts.action.ActionServlet.i

[JBoss-user] [JBoss Seam] - Re: Method not found: isJndiName

2006-04-14 Thread bujordan
Ok, maybe I'm just not getting something here- I'm trying to do a simple 
reverse engineer/code generate as shown in the flash demo like others on this 
post. I originally got the Method not found: isJndiName error, so I tried 
updating to the nightly builds as suggested. Now, I get the following error 
when trying to generate the code:

org.hibernate.tool.hbm2x.ExporterException: Error while processing template 
seam/find.jsp.ftl
  |   freemarker.core.InvalidReferenceException: Expression 
field.value.typeName is undefined on line 35, column 6 in seam/find.jsp.ftl.
  | freemarker.core.InvalidReferenceException: Expression 
field.value.typeName is undefined on line 35, column 6 in seam/find.jsp.ftl.

Here's what I've tried (I downloaded, installed, deactivated old and activated 
new for each nightly listed below in eclipse 3.1.2 using the Help > Manage 
Configuration tool then doing a "Replace with Another Version")

HibernateTools-3.1.0.200603231613-nightly.zip
HibernateTools-3.1.0.200604061020-nightly.zip
HibernateTools-3.1.0.200604141131-nightly.zip

Figuring maybe I had some sort of conflict or Eclipse wasn't updating properly 
(the above described method should work for this purpose, no?), I finally 
unzipped a brand spanking new version of eclipse 3.1.2, and installed *ONLY* 
JBossIDE-200604061020-nightly-ALL.zip as suggested and which several others had 
previously posted they had gotten working. Still get the same error, and I'm 
pretty sure I'm following the flash demo exactly.

I also tried generating code with and without the "Generate EJB3 Annotations" 
checked, and same result either way.

Not that it should make a difference, but I'm using PostgreSQL- it seems there 
might be an issue with incorrect values in the persistence.properties file, but 
now I can't even get that far... 

Any help or pointers would be appreciated, thanks in advance

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Messaging] - 1.0.1 next week

2006-04-14 Thread [EMAIL PROTECTED]
The 1.0.1 release 
(http://jira.jboss.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310061&fixfor=12310707)
 we were planning for today, Fri Apr 14, will be pushed for Monday or Tuesday 
next week, due to this dependency: 
http://jira.jboss.org/jira/browse/JBMESSAGING-347.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: to use display tag how to set portlet objects in JSP pag

2006-04-14 Thread bomma001
Thanks Scott.

Yes, You are right. JBoss was providing those portal objects. I actually 
observed issues with display tag attributes for URLs. I modified them for 
portal environment and it works.

Now I'm feeling better in Portal area.

~Bhim

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Messaging] - Re: Cannot configure JBOSS Messaging

2006-04-14 Thread timfox
Can you explain exactly what installation procedure you have followed and which 
jars/sars you have placed where.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: process persistence problem with JBPM/Seam

2006-04-14 Thread sbhatti
I am having same problem, how exactly did you fix it. It looks like Hibernate 
can't persist org.jbpm.context.exe.VariableInstance.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - easy way to parse out opcode operands?

2006-04-14 Thread matty1
Total javassist/bytecode newbie here. I'm writing a program to list bytecode 
instructions from a classfile, akin to what  "javap -c -p  CLASSFILE" gives 
you. Somthing like:

 0:   aload_0
 1:   invokespecial   #15; //Method java/lang/O
 4:   aload_0
 5:   ldc2_w  #16; //double 99.0d
 8:   putfield#19; //Field size:D

This snippet from the tutorial lists the index & opcodes but no operands:

CodeIterator ci = ... ;
while (ci.hasNext()) {
 int index = ci.next();
 int op = ci.byteAt(index);
 System.out.println(index + ": " +Mnemonic.OPCODE[op]);
}

Result of this code is something like:

0: aload_0
1: invokespecial<--no operand!!!
4: aload_0
5: ldc2_w   <--no operand!!!

The "hasNext" call seems to move the iterator to the next opcode, skipping past 
operands. So how do I parse out operands for things like control flow or method 
call opcodes? Since # of operands varies based on the particular opcode, is 
there an easy way to know how many bytes to parse out per instruction?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: URL Friendly Links

2006-04-14 Thread [EMAIL PROTECTED]
Add a feature request to JIRA, with a bit more details about how I should go 
about implementing this.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @In, @Out and @Factory. It's me or...

2006-04-14 Thread [EMAIL PROTECTED]
Have you managed to solve this problem yet?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Exception in Phaselistener ?

2006-04-14 Thread [EMAIL PROTECTED]
Louis, are you still experiencing this problem?

If so, please submit a test case to JIRA, TIA.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: would you change examples libs layout

2006-04-14 Thread [EMAIL PROTECTED]
1) thanks, fixed 
2) um, this does not feel like a high priority for me right now

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: 'Error during remote request' since 1.52 Seam revision

2006-04-14 Thread [EMAIL PROTECTED]
Just fixed in CVS. Sorry, I missed one ;-)

(You should have reported this in JIRA, btw.)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Seam outjection problem, is this a bug?

2006-04-14 Thread [EMAIL PROTECTED]
You have to actually *call* the component for @DataModelSelection and @Out to 
have any effect.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: localization of validation error messages

2006-04-14 Thread [EMAIL PROTECTED]
You can specify messages in WEB-INF/classes/messages_xx_XX.properties and use 
FacesMessages.addFromResourceBundle().

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Simple Seam Question...

2006-04-14 Thread [EMAIL PROTECTED]
The selection will only be initialized if you call the component during the 
request that originates from the list page.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Seam tags

2006-04-14 Thread [EMAIL PROTECTED]
There are some examples in CVS. I have not yet written documentation.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Entity bean security

2006-04-14 Thread vijaygrk
How do i enforce application security on the entity beans?

For e.g How do i prevent an entity from loading if the user doing the lookup is 
not authorized to view the enity?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: scripting disabled / register-link in booking-example do

2006-04-14 Thread [EMAIL PROTECTED]
JSf relies upon JavaScript.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: rowCount

2006-04-14 Thread [EMAIL PROTECTED]
rowCount is a property of DataModel. If you have an ordinary collection, it is 
not the correct way.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Could not instantiate Seam component

2006-04-14 Thread [EMAIL PROTECTED]
anonymous wrote : When I switch back to the original database, it all works.

What do you mean by this? You mean you have it working against HSQLDB?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: jBPM demarcation question

2006-04-14 Thread [EMAIL PROTECTED]
anonymous wrote : So he clicks on his bookmarked URL which brings up the 
tasklist. There he sees the task in his list and clicks on the "details" button 
which then would execute the @StartTask interceptor while the long running 
conversation is still active. 

Clicking on a URL causes a GET request, which do NOT usually propagate 
conversations.

Have you read the section of the docs which describe conversation propagation 
rules?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - localization of validation error messages

2006-04-14 Thread javaos
I'm playing with the booking example. The name of the user is forced to be 
between 5 and 15 characters. This constraint is annotated at the getter for the 
name field. If validation of the name fails, I get a localized error message 
(in this case in German). Where can I change this message or influence 
localization?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBossm mod_proxy and AJAX call

2006-04-14 Thread redo
I have JBoss as application server and Apache as webserver (serves php pages, 
etc). To transfer requests to my Java web application, mod_proxy is used. 
Everything is fine, except AJAX calls submitted in UTF-8 encoding (I am using 
Prototype JavaScipt framework). 
I tried everything - changed 'content-type' in different ways, nothing helped.
If I run application on JBoss without Apache and mod proxy, everything is fine. 
So, seems like ir is is mod_proxy problem, but I cant understand what I am 
doing wrong. How can mod_proxy change the encoding?
Is there workarround to this problem? Somebody had such problems?
Is there other way how to redirect from Apache to JBoss?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - log4j & servlet filters

2006-04-14 Thread krustyfur
I have followed the wiki regarding Repository Selectors for initialising log4j, 
and have got it working for my web apps.

I am using struts 1.2 and in the struts actions, I can use log4j and have it 
log properly. I also have a log statement inside the InitServlet where log4j is 
initialised and it works too.

However when I try and log from inside a servlet filter the logging does not 
get executed at all.

The filter is one to determine if a user is logged in, and if not redirect to 
the login page. This is working as the redirection happens properly. However 
the logging is not.


This works:

  | public class InitServlet 
  | extends HttpServlet {
  | 
  | private static Logger log;
  | 
  | public void init(ServletConfig config)
  | throws ServletException {
  | super.init(config);
  | 
  | ServletContext context = config.getServletContext();
  | 
  | System.setProperty("log4j.log.dir", 
getInitParameter("log4j.log_directory"));
  | 
  | String configFile = getInitParameter("log4j.config_file");
  | 
  | Log4JRepositorySelector.init(config, configFile);
  | log = Logger.getLogger(getClass());
  | 
  | log.debug("logging initialised");
  | 
  | [snip]
  | }
  | }
  | 

This doesn't work:

  | public class LoginFilter
  | implements Filter {
  | 
  | private Logger log = Logger.getLogger(getClass());
  | 
  | public void doFilter(ServletRequest request, ServletResponse response, 
FilterChain chain)
  | throws IOException, ServletException {
  | HttpServletRequest req = (HttpServletRequest)request;
  | 
  | log.debug("uri = " + req.getRequestURI());
  | 
  | [snip]
  | 
  | // otherwise continue
  | chain.doFilter(request, response);
  | }
  | }
  | 

Can someone shed some light on this please?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: EJB examples with jBPM?

2006-04-14 Thread Shi Yusen
I have implemented the expression parser for my current project. Surprisingly, 
it's quite easy. I'd like to take this part for jbpm at my spare time if you 
can add me to the project. My sourceforge id is shiys.

Regards,

Shi Yusen/Beijing Langhua Ltd.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.3SP1 not honoring Extension-List versioning?

2006-04-14 Thread asack
I would lke to add two more things that are confusing:

1)  I don't have my.lib in ext/lib of my current JRE.  I'm deploying it as a 
standalone jar file in $JBOSS_HOME/server/default/deploy.

2)  I wasn't sure if the Extension-List attribute only causes the ClassLoaders 
to look in ext/lib or any well known location.  If its the former than this a 
real serious error since deployment should die after it can't find the 
Extension-List in my.jar EJB3 module of my.ear.  If its the latter, then my 
first  post stands.  Deployment should fail since the implementation version is 
wrong.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - error in deploying ejb

2006-04-14 Thread miltgrin
I'm having a problem deploying an EJB in Jboss.  This application/ejb works in 
Weblogic and I have modified it for JBoss
When I start up Jboss with the application deployed. I get the following error.

08:55:33,706 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.0.3SP1/server/default/deploy/helloworld.ear
08:55:34,816 WARN  [verifier] EJB spec violation: 
Bean   : Greeting
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java 
class that implements the enterprise bean's business methods in the  
element.
Info   : Class not found on 'com.helloworld.GreetingCMP': Unexpected error 
during load of: com.helloworld.GreetingCMP, 
msg=com/helloworld/GreetingCMPDataAdapterTemplate

08:55:35,019 WARN  [verifier] EJB spec violation: 
Bean   : Language
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java 
class that implements the enterprise bean's business methods in the  
element.
Info   : Class not found on 'com.helloworld.LanguageCMP': Unexpected error 
during load of: com.helloworld.LanguageCMP, 
msg=com/helloworld/LanguageCMPDataAdapterTemplate

08:55:35,019 ERROR [MainDeployer] Could not create deployment: 
file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp59492helloworld.ear-contents/helloworld_ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.



I checked the ejb-jar.xml file and it has the following info in it

  
  
 
 Greeting
 com.helloworld.GreetingCMPDataAdapterHome
 com.helloworld.GreetingCMPDataAdapter
 com.helloworld.GreetingCMP
 Container
 java.lang.Long
 False
 2.x
 GreetingSchema
 

content
 
 

qid
 
 qid

(I REMOVED THE QUERY INFO)

  

  
 
 Language
 com.helloworld.LanguageCMPDataAdapterHome
 com.helloworld.LanguageCMPDataAdapter

 com.helloworld.LanguageCMP
 Container
 java.lang.Long
 False
 2.x
 LanguageSchema
 

name
 
 

qid
 
 qid

(I REMOVED THE QUERY INFO)

  

Jboss.xml has in it the following


http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";>

   
  
 Greeting
 ejb/Greeting


  
  
 Language
 ejb/Language


  
   
   
   
   
   



The helloworld_ejb.jar file has the following in it:
Greeting.class  Class file   com\helloworld
GreetingCMPDataAdapterHomeClass file   com\helloworld
GreetingCMPDataAdapter  Class file   com\helloworld
GreetingCMP Class file   com\helloworld
LanguageCMPDataAdapterHomeClass file   com\helloworld
LanguageCMPDataAdapter  Class file   com\helloworld
LanguageCMP Class file   com\helloworld
LanguageClass file   com\helloworld
plus lots of other files

The helloworld.ear file
helloworld.war
helloworld_ejb.jar
application.xml
Manifest.mf


Everything seems to be correct yet I get the error.  
I am stumped as to how to debug this.  Anyone with any ideas.



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - JBoss 4.0.3SP1 not honoring Extension-List versioning?

2006-04-14 Thread asack
I have two EARs that were built against a common JAR library that defines the 
following MANIFEST in my-lib.jar:

Extension-Name: my-lib
Implementation-Version: 1.0

I then have my.ear  with a EJB3 my.jar in it  that has the following 
MANIFEST.MF:

Extension-List: my-lib
my-lib-Extension-Name: my-lib
my-lib-Implementation-Version: 2.0

This works!  Shouldn't this fail with a java Exceptino at load/runtime with 
NoClassDefFound for all the classes defined in my-lib version 1.0 since the 
implementation version is 2.0?

Thanks!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - discriminator not set when persist a new class

2006-04-14 Thread rnicob
Hi,

I have two classes, AA which inherits from A. I use two tables and a 
discriminator. The discriminator is null in the table when the class is 
persisted. Here is my code deployed on AS 4.0.4CR2

***
Class A
***

@Entity
  | @Table(name = "A")
  | @Inheritance(strategy = InheritanceType.JOINED)
  | @DiscriminatorColumn(name = "DISCRIMINATOR", discriminatorType = 
DiscriminatorType.STRING, length = 5)
  | @DiscriminatorValue("A")
  | public class A implements Serializable {
  | 
  | private short ida;
  | 
  | public A() {
  | }
  | 
  | public A(short ida) {
  | this.ida = ida;
  | }
  | 
  | @SequenceGenerator(name = "gen_a", sequenceName = "seq_a_id", 
allocationSize=1)
  | @Id
  | @GeneratedValue(strategy = SEQUENCE, generator = "gen_a")
  | @Column(name="IDA")
  | public short getIda() {
  | return ida;
  | }
  | public void setIda(short ida) {
  | this.ida = ida;
  | }
  | }


***
Class AA
***

@Entity
  | @Table(name = "AA")
  | @PrimaryKeyJoinColumn(name = "IDAA")
  | @DiscriminatorValue("AA")
  | public class AA extends A {
  | 
  | }


***
TABLES
***
CREATE TABLE A (
  | idA number(2) constraint a_pk primary key,
  | discriminator varchar2(5) constraint a_c_discriminator check 
(discriminator in ('A','AA'))
  | );
  | 
  | create table AA(
  | idAA number(2) constraint aa_pk primary key constraint aa_ref_a 
references a
  | );

***
CLIENT
***
public void test(){
  | ...
  | 
  | AA a = new AA();
  | adao.persist(a);
  | 
  | ...
  | }

**

Thanks for your help

Nicolas Roux

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Messaging] - Re: Cannot configure JBOSS Messaging

2006-04-14 Thread anshah1
Well if I remove that jar file then I run into other class not found problems..

here's what I got 

11:45:48,439 INFO  [STDOUT] Queue JBossQueue[NCBIQueue] exists
  | 11:45:50,392 INFO  [STDOUT] In sendMessage()
  | 11:45:50,392 ERROR [ExceptionInterceptor] Caught RuntimeException
  | java.lang.RuntimeException: java.lang.ClassNotFoundException: No 
ClassLoaders found for: org.jboss.jms.server.container.SecurityAspect
  | at 
org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:141)
  | at 
org.jboss.aop.advice.GenericAspectFactory.createPerInstance(GenericAspectFactory.java:182)
  | at 
org.jboss.aop.InstanceAdvisorDelegate.initializeAspects(InstanceAdvisorDelegate.java:80)
  | at 
org.jboss.aop.InstanceAdvisorDelegate.(InstanceAdvisorDelegate.java:58)
  | at 
org.jboss.aop.ClassInstanceAdvisor.(ClassInstanceAdvisor.java:72)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised._getInstanceAdvisor(SessionAdvised.java)

Once I put the jar file in there, all class not found errors do disappear for 
sure. 


Thanks,
anuj


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: utility of jbpm in a huge j2ee application

2006-04-14 Thread achilloman_jbpm
thx kevin,
i looked to the post,
in my case, we want that the jbpm engine deals with the process states and let 
the business part developped by the j2ee application.
for exemple, can i, upon the actions, invoke some services in the business 
layer of the j2ee application.
i think that could be done.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS not thread safe

2006-04-14 Thread CBax007
Thanks again for the reply.  I look forward to the GA release and your fix!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS not thread safe

2006-04-14 Thread hbraun
No it's not in 4.0.4CR2. It is fixed in head and will be included in 4.0.4 GA. 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Entity Bean Foreign Key Problem, Need to Specify PK leng

2006-04-14 Thread tvanbuskirk
I've found that the problem is determining the primary key of my CatsDogs 
class.  I want my combined primary key to be the primary key of Cats and the 
primary key of Dogs.  I changed my code to:


  | @ManyToOne(optional=false)
  | @PrimaryKeyJoinColumn(name="cats_id",referencedColumnName="id")
  | public Cats getCats()
  | {
  |   return cats;
  | }
  | 
  | @ManyToOne(optional=false)
  | @PrimaryKeyJoinColumn(name="dogs_id",referencedColumnName="id")
  | public Dogs getDogs()
  | {
  |   return dogs;
  | }
  | 

However then JBoss complains that there is no primary key for this class.  If I 
add

@Id tags to the above methods, I get the same error posted above.

So, apparently the only solution is to add an additional ID field for the 
CatsDogs class that would be the primary key. It would then look like:


  | @Id
  | public int getId()
  | {
  |return id;
  | }
  | ...
  | @ManyToOne(optional=false)
  | @PrimaryKeyJoinColumn(name="cats_id",referencedColumnName="id")
  | public Cats getCats()
  | {
  |   return cats;
  | }
  | ...
  | @ManyToOne(optional=false)
  | @PrimaryKeyJoinColumn(name="dogs_id",referencedColumnName="id")
  | public Dogs getDogs()
  | {
  |   return dogs;
  | }
  | 
  | 
  
This would take my database out of Third Normal Form and I don't want to do 
that.

Does anyone know how to fix this problem???

Thanks!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Class Browse Button/Dialog not working

2006-04-14 Thread MattJackson86
!ENTRY org.eclipse.ui 4 0 2006-04-14 10:53:56.699
  | !MESSAGE java.lang.NullPointerException
  | !STACK 0
  | java.lang.NullPointerException
  | at 
org.eclipse.jdt.internal.core.search.HierarchyScope.computeProjectsAndJars(HierarchyScope.java:154)
  | at 
org.eclipse.jdt.internal.core.search.HierarchyScope.(HierarchyScope.java:69)
  | at 
org.eclipse.jdt.internal.core.search.BasicSearchEngine.createHierarchyScope(BasicSearchEngine.java:107)
  | at 
org.eclipse.jdt.internal.core.search.BasicSearchEngine.createHierarchyScope(BasicSearchEngine.java:100)
  | at 
org.eclipse.jdt.core.search.SearchEngine.createHierarchyScope(SearchEngine.java:169)
  | at 
org.jbpm.ui.dialog.ChooseHandlerClassDialog.openDialog(ChooseHandlerClassDialog.java:55)
  | at 
org.jbpm.ui.properties.HandlerMainInfoComposite.chooseHandlerClass(HandlerMainInfoComposite.java:116)
  | at 
org.jbpm.ui.properties.HandlerMainInfoComposite.access$0(HandlerMainInfoComposite.java:109)
  | at 
org.jbpm.ui.properties.HandlerMainInfoComposite$1.widgetSelected(HandlerMainInfoComposite.java:89)
  | at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
  | at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
  | at org.eclipse.jface.window.Window.open(Window.java:787)
  | at 
org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
  | at 
org.jbpm.ui.part.tree.ElementTreeEditPart.openPropertyDialog(ElementTreeEditPart.java:85)
  | at 
org.jbpm.ui.part.tree.ElementTreeEditPart.performRequest(ElementTreeEditPart.java:76)
  | at 
org.jbpm.ui.outline.DesignerOutlineViewer.handleDoubleClick(DesignerOutlineViewer.java:209)
  | at 
org.jbpm.ui.outline.DesignerOutlineViewer.access$3(DesignerOutlineViewer.java:206)
  | at 
org.jbpm.ui.outline.DesignerOutlineViewer$4.mouseDoubleClick(DesignerOutlineViewer.java:187)
  | at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:141)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
  | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
  | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
  | at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
  | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
  | at 
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
  | at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
  | at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
  | at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
  | 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.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
  | at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
  | at org.eclipse.core.launcher.Main.run(Main.java:973)
  | at org.eclipse.core.launcher.Main.main(Main.java:948)
  | 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: utility of jbpm in a huge j2ee application

2006-04-14 Thread kbarfield
certainly its possible, jBPM is a business process engine, and you can 
communicate to it using your application.  As I mentioned in another thread 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81129 , JBoss SEAM can 
help with this kind of use case as well.  Here is a link to the SEAM 
documentation referring to jBPM: 
http://docs.jboss.com/seam/reference/en/html/tutorial.html#todo

Kevin

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS, EJB3 annotation MBeans- onMessage not firing

2006-04-14 Thread lpmon
One more thing: I am not using the standard ports.  I am using 'ports-01'.



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JMS, EJB3 annotation MBeans- onMessage not firing

2006-04-14 Thread lpmon
I have probably missed a setup.  This is my first EJB3 MBean.

Enviroment:  JBoss 4.0.3SP1, Win 2003,  JDK 5.0_06, 
   with   EJB3  - jboss-EJB-3.0_RC5-PFD

First: I know the messages are being queued properly because I can read them 
'manually' with 

  Message received = receiver.receive();  // blocks until message arrives

I think this rules out a problem in jbossmq-destinations-service.xml. Right?

I installed the EJB3 per instructions
I created both a topic and a queue
I used the annotation to setup the target MBean

Doesn't the annotation automatically register the MBean as a listener/consumer 
target and deploy the MBean?  How do I confirm it was deployed as it should be?


I used this:  
  http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdb/
as a starting point.  So my source has an onMessage method and this shown next 
for the EJB3 annotations

@MessageDriven(activationConfig =
{
  @ActivationConfigProperty(propertyName="destinationType", 
propertyValue="javax.jms.Topic"),
  @ActivationConfigProperty(propertyName="destination", 
propertyValue="topic/swevent")
})

public class EventMonitor implements MessageListener
{

@Resource
MessageDrivenContext msgDrivCtx;

...
..

Besides setting up the queue or topic (I tried both) and using the the 
annotations what else do I need to do?

I get no errors or warnings of any kind.  I just never get a message delivery 
to the MBean.  I can read the messages manually. 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - utility of jbpm in a huge j2ee application

2006-04-14 Thread achilloman_jbpm
hi,
i wanna know if we can integrate jbpm in j2ee application, to provide the 
service of modeling some processes.
it could be like a service communication between the j2ee application and my 
jbpm application.

if it's possible, can u give me some advice
thanx  

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Messaging] - Re: Cannot configure JBOSS Messaging

2006-04-14 Thread timfox
Anuj-

Can you remove the jboss-messaging-client-scoped.jar from your lib directory?

The client jar is only intended for use when calling JBossMessaging from an 
external client.


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - complex type mapping in 4.0.3

2006-04-14 Thread catfishTyphoon
>From the wiki:
anonymous wrote : When generating the wsdd, JBossWS4EE looks for additional 
META-INF/ws4ee-deployment.xml descriptor and when found merges the operations 
and type mappings with the generated wsdd. For java service endpoints this 
descriptor should be located in WEB-INF/ws4ee-deployment.xml. 
So, I have a type mapping just like from the wiki in my ws4ee-deployment.xml, 
and I included that file in the WEB-INF of my war AND I tried putting it in the 
META-INF of my war (as you can see I don't really understand the quote above), 
but in either case I still get a  No serializer found for class 
com.internap.webdns.User in registry [EMAIL PROTECTED]
exception when I try to serialize a bean across the web service.

Where exactly does the ws4ee xml file go? I don't need this file to be 
referenced in the wscomiple or wsdeploy steps, right, I mean it's a jboss thing?

is there somewhere else I need to refer to my own complex types?  It looks like 
this should be it, but somehow it's not being picked up by the web service 
registry.





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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Anyway to use my own optional libraries with a deployed JAR?

2006-04-14 Thread asack
I  have jar that is shared across EARs.  It uses dom4j with XPath, i.e. needs 
jaxen.  I put Class-Path entries to add my own packaged versions but I believe 
due to the way the UCL works, it still picking them up from 
$JBOSS_HOME/lib/dom4j.jar since this jar gets loaded first at startup.

Is there anyway around this?  I thought java2Parent delegation is on a per EAR 
basis, not JARs.

I'm trying to avoid if possible from replacing the dom4j.jar file and adding 
extra libraries in server/default/lib which have scope across everything (its 
not that bad, but if I can avoid it, I want to).

Any comments come much appreciated!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jbpm workflow editor

2006-04-14 Thread kbarfield
Actually, here is a nice example of another way of doing this.  JBoss SEAM uses 
jBPM for process flow.  In the example in the documentation, they have a TODO 
list.  You could use something like this along with your business logic to 
generate either rules or a process definition dynamically.

http://docs.jboss.com/seam/reference/en/html/tutorial.html#todo

Kevin

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Messaging] - Re: Cannot configure JBOSS Messaging

2006-04-14 Thread anshah1
Yes, 

So presently I am in the test phase and am trying to send a message from a SLSB 
to the queue. I have my jboss-messaging-client-scoped.jar file in the lib 
directory for my jboss messaging configuration 
($JBOSS_HOME/server/messaging/lib).

Is there any other jar file that I would need?

Thanks
Anuj


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: RMI and JBoss

2006-04-14 Thread hongtish
this is my way. Maybe you can try it


  | import java.util.*;
  | import javax.naming.*;
  | 
  | public class FileServer 
  | {
  | public static void main(String argv[]) 
  | {
  | try {
  | //System.setSecurityManager(new RMISecurityManager());
  | Properties properties = new Properties();
  | properties.put(Context.INITIAL_CONTEXT_FACTORY,
  |"org.jnp.interfaces.NamingContextFactory");
  | properties.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces");
  | properties.put(Context.PROVIDER_URL, "jnp://localhost:1099");
  | InitialContext ctx = new InitialContext(properties);
  | ctx.rebind("rmi/FileTransfer", new FileTransferImpl());
  |  //FileTransferImpl  -->  rmi implement class
  | 
  | } catch(Exception e) {
  | e.printStackTrace();
  | }
  | }
  | }

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Microcontainer] - JBMICROCONT-74 - Testcases for redeployments using JVMTIInte

2006-04-14 Thread [EMAIL PROTECTED]
bkeh12 (BTW, what's your name or nick name), if you could attach your testcase 
here:

http://jira.jboss.org/jira/browse/JBMICROCONT-74

Then we could talk about this with some more information.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Newbiy deployment trouble

2006-04-14 Thread scraatz
Tom,

the format of the persistence.xml changed. The persistence unit is no longer 
automatically stored in JNDI. The following file works for me:


  | 
  | 
  |  java:jdbc/WebappSample
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Somewhere in the EJB3 WIKI a description of all changes (Hibernate 
EntityManager) can be found. It is quite good hidden ;-) but you should take a 
look at it.

hope that helps
Stefan

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Class Browse Button/Dialog not working

2006-04-14 Thread MattJackson86
"[EMAIL PROTECTED]" wrote : Matt,
  | 
  | The class browse button works for me. Check out your eclipse error log for 
any messages. Or do a good old debugging session...
  | 
  | Regards,
  | Koen

Alright, thanks. Just wanted to see if it was jsut me or everyone.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Simple Seam Question...

2006-04-14 Thread dr_j
Okay, I actually made some progress. My issue appears to be that in my action 
of the commandLink, I'm using a transition via jPDL (action="next") in order to 
flow to the next page. In that case, my @ModelSelection is not being updated.

If I create a dummy method, public String select() and make sure that my 
commandLink invokes that, then the model selection IS being updated  but I 
lose my navigation to the next page (of course).


Ideas? Suggestions?

j


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS not thread safe

2006-04-14 Thread CBax007
I'm not sure if either of you (Heiko, Thomas) are watching this thread, but I 
need to know for sure if you think this is already fixed in 4.0.4CR2 or if it 
still needs to be fixed and the fix will be included in 4.0.4GA.  I'm trying to 
roll something out to production and I can't with 4.0.3SP1 because Axis is too 
slow.  I need to know if the 4.0.4GA release will solve all of my issues and I 
can roll out on it or if I'm going to have to make alternate plans.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Simple Seam Question...

2006-04-14 Thread dr_j
I'm having very much the same problem, with code that is much like what you 
have. I've searched the forums, and apparently it's not that uncommon a 
problem, but unfortunately, there aren't responses to many of them.

If you've found a solution, please please please let me know.


Thanks!

j


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - develop and deploy ejb3.0/seam - Application in Eclipse3.1/J

2006-04-14 Thread javaos
I followed the howto which I found on the wiki 
"http://wiki.jboss.org/wiki/Wiki.jsp?page=UseJBossEclipseIDEToDoJBossSeamsBookingExample";
 for debugging the Booking example application inside eclipse. The author of 
the page describes how you can debug the example by just  importing the Java 
-sources in a project in workspace. The whole application (the sources which 
are imported in eclipse and the rest of the application) resides in a war file 
in the JBoss deploy directory. So if I change a java class in eclipse, I have 
to ensure that ant takes the changed source file out of the eclipse-workspace 
while compiling the classes and building+deploying the .ear - file. I would 
like to manage the whole application in eclipse. The tutorial on 
"http://docs.jboss.com/jbosside/tutorial/build/en/html/index.html"; describes 
how to build and manage a J2EE 1.4 - application with JBossIde. I tried both 
JBossIde1.5 and WTP1.0.2RC1. Does anyone build EJB3.0/Seam - applications with 
the help of eclipse managing the whole application in the IDE? Help would 
greatly be appreciated.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Deployment Error

2006-04-14 Thread bntidd
When Deploying Portal 2.2 on AS4.0.4 RC2, using MYSQL 5 JDBC3.1 driver, on 
Windows 2003...I get an error stating the following:

ObjectName: Portal:policy=PortalPolicyConfigStore,type=Component State: FAILED

Reason : java.lang.IllegalArgumentException: No transaction manager provided

I Depend On:
portal:policy=LaccPortalPolicyConfigurator
portal:service=TreeCacheProvider, type=transient
portal:policy=PortalPolicyConfigService
Depends On Me:
portal:deploymentFactory=PortletApp

Any thoughts?

Bryan

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jbpm workflow editor

2006-04-14 Thread kbarfield
The integration I was talking about is what is being discussed here:

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

Kevin

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Using a Stateless Session Bean to call an Entity Bean...

2006-04-14 Thread aborland
In short, I'm having a problem persisting objects using a Stateless Session 
Bean, calling a factory, that calls another POJO, which makes a call on an 
entity manager. The problem is in my create method in my UserBusiness object. 
Here is my Code:

My stateless bean:
--
package com.medq.platform.enterprise;

import javax.ejb.Stateless;
import javax.ejb.Interceptors;

import com.medq.platform.user.IUser;
import com.medq.platform.user.UserFactory;

/**
 * Service Object Bean Implementation for EnterpriseService.
 * 
 */
@Stateless
@Interceptors (com.medq.platform.service.interceptor.ServiceInterceptor.class)
public class EnterpriseServiceBean implements EnterpriseServiceRemote {


public void createUser(IUser user) {
UserFactory uf = new UserFactory();
try {   
uf.create(user);
}catch(Exception e) {
e.printStackTrace();
}
}

}

---
My factory object

package com.medq.platform.user;

import com.medq.platform.exception.*;

/**
 * Value Object Factory for User.
 * 
 */
public class UserFactory {

private IUserBusiness bizObject;

/*
 * UserFactory Constructor
 */
public UserFactory() {
this.bizObject = new UserBusiness();
}

//Generic Methods

/*
 * Creates a User.
 */
public IUser create(IUser vo) throws ApplicationException, 
BusinessException {
return this.bizObject.create(vo);
}


}

And now the POJO that uses the entity manager...


package com.medq.platform.user;

import javax.persistence.*;
import com.medq.platform.exception.*;
import java.util.*;

/**
 * Business Object Implementation for User.
 * 
 */
public class UserBusiness extends AbstractUserBusiness {

//Constructor
public UserBusiness() {
super();
emf = Persistence.createEntityManagerFactory("pu1", new 
HashMap());
em = emf.createEntityManager(PersistenceContextType.EXTENDED);

}

private EntityManager em;

private EntityManagerFactory emf;


//Generic Methods

/*
 * Creates a User.
 */
public IUser create(IUser vo) throws ApplicationException, 
BusinessException {
em.getTransaction().begin();
em.persist(vo);
em.getTransaction().commit();
return vo;
}


public void destroy()
{
em.close();
emf.close();
}

}

Here's where the problem comes in...when my create() in UserBusiness is this:

em.getTransaction().begin();
em.persist(vo);
em.getTransaction().commit();

I get org.hibernate.PersistentObjectException: detached entity passed to 
persist: com.medq.platform.user.User. The object does seem to persist, but I'm 
getting this exception. Is there any way to make this problem go away?? I have 
tried a bunch of stuff, but obviously, I'm missing something. 

My goal (down the road) is for the Stateless Session Bean to make a bunch of 
calls to Factories that make calls on an entity manager (actually calls on 
another object, i.e. UserBusiness, that makes a call on the entity manager) . I 
want to rollback all of the transactions if one goes bad, and I have a feeling 
the way I have it set up, it won't work. Any ideas? My first objective is to 
get this exception to go away...next is to find out how to rollback all the 
transactions done from the SSB. Thanks in advance.

Any help would be greatly appreciated.

--Andrew

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Jboss 3.2.6 and Informix problems with using multi xa da

2006-04-14 Thread [EMAIL PROTECTED]
Could you post your *-ds.xml file as well as any stack track that may result in 
the failed operation? 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - jBPM 3.0.3 released

2006-04-14 Thread [EMAIL PROTECTED]
jBPM version 3.0.3 and jBPM Process Designer version 3.0.9 have been released.  
These releases and the changelog can downloaded from the following sourceforge 
location:

http://sourceforge.net/project/showfiles.php?group_id=70542


Release Notes - JBoss jBPM - Version jBPM 3.0.3

Feature Request

[JBPM-579] - add recursive lookup for delegation fields and methods


Bug

[JBPM-568] - throw ClassNotFoundException instead of JbpmException when a 
delegation class is not found
[JBPM-571] - incorrect business calendar date addition
[JBPM-574] - Unneccesarily slow performance
[JBPM-588] - Add comments to TaskInstance does not processed correctly


Task

[JBPM-622] - document lists and maps for field-type injection



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Jboss 3.2.6 and Informix problems with using multi xa da

2006-04-14 Thread chenyang
Who can help me, Thanks very much!!!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Jboss 3.2.6 and Informix problems with using multi xa dataso

2006-04-14 Thread chenyang
My English is so poor, so I try my best to describle my problem in simple 
English sentence,  Sorry.:)

I have two informix database on one AIX OS Server,  and I have added JBoss 
3.2.x XA JCA file in "jboss-home/server/default/deploy/informix_xa_ds.xml" and 
configured two xa datasource in this file. 

My stateless Session EJB's transation type is "Container", transaction 
attribute is "Required".

If I lookup two datasources througth two jndi which have been configured in 
informix_xa_ds.xml file , The first "datasource.getConnection()" method can get 
connection success, but The second datasource "getConnection()" failed (wait a 
long long time, > 1 hour, then it timeout)(the two method run in one ejb 
container transaction).

If I lookup one datasource seperately(in two container transaction),  two 
database connection can get successed. 

if  two informix database on two AIX OS Server , the all is right,  two 
connection can be get success in one transation and two transation.

if i change my session ejb transation type to "Bean", The all is right also. 
two connection can be get success in one transation and two transation.

in one sentence to say:  Can not get multi(>1) connections througth xa 
datasource when multi informix database in one server and session ejb 
transaction type is "Container".

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Trouble Configuring a Data Source for MySQL using JSTL

2006-04-14 Thread mike.r.anderson
I have a web app, deployed to JBoss and I'm trying to configure a data source. 
The latest error I'm getting, on attempting to access a page is:

Unable to get connection, DataSource invalid: "java.sql.SQLException: No 
suitable driver"

The web app is deployed to the 'smt' context:

Here's my code:

smt-ds.xml:



jdbc/smt
jdbc:mysql://localhost:3306/smt
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
com.mysql.jdbc.Driver
smt
pass

MySQL

select count(*) from quote_of_the_day
select count(*) from 
quote_of_the_day



web.xml (relevant part anyway):


http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
smt


DB Connection
jdbc/smt
javax.sql.DataSource
Container



http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd";>




jdbc/smt
java:jdbc/mysql




qotd.jsp (excerpt):


select quote, submitted_by, author, date_submitted
from quote_of_the_day
where id = ?




Change the Quote of the Day


${param.message}



Quote:

${rs.rows[0].quote}

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jbpm workflow editor

2006-04-14 Thread kukeltje
what are the ideas? JBoss Rules connected to the ESB and jBPM using it via the 
ESB or connecting the rules engine directly to jBPM?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Clustered SLSB - TimedObject

2006-04-14 Thread cveerman
Hello:

I am trying to configure a SLSB as a TimedObject to run on a cluster.

Basically, I want a true singleton SLSB to do some work at a given interval.

The bean is registered; however the  the bean is never instantiated (ejbCreate) 
and the ejbTimeout is never called,

Is there a configuration to instantiate one of these beans? 

I guess a pool of 1 for instance would work but there must be a better way.

Cheers,

Christiaan


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - JSF selectOneRadio

2006-04-14 Thread tzablock
Here comes my troubling issue.

I have a problem with selectOneRadio tag. 
When I submit a form every single field from the form stores its state - the 
textfields are filled, the checkboxes are checked but the radio buttons
group lose their selection. 

This is the page code:





This is the relied code in the movieControlBean:

public Integer getSelectedType()
{
return this.selectedType;
}
public void setSelectedType(Integer selectedType)
{
this.selectedType= selectedType;
this.selectedTypeDescription = 
Utils.getFilmService().getDictionary(this.selectedType).getDescription();
}

   public SelectItem [] getTypes()
{   
List  movieTypes  = service.getDictionaries("FILM_TYPE");
types = new SelectItem[movieTypes.size()];
int i = 0;
for(Dictionary type : movieTypes)
{
types = new 
SelectItem(type.getDictionaryId(),type.getDescription());
i++;
}  return types;
}

Any ideas?
  

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: can username be UTF-8

2006-04-14 Thread spetratos
username has characters with codes U+0688, U+0434, U+0063.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: can username be UTF-8

2006-04-14 Thread spetratos
I'm having the same issue. Even thought my login jsp sets the encoding to 
utf-8, it seems that it is ignored. Therefore, any username with wide 
characters can't login. The only way I got this working was by adding a 
URIEncoding=utf-8 to the server.xml for Tomcat, and use  a "GET" versus a 
"POST".

When a user with username = "??c" tries to loggin, I see the following in the 
request (using ieHTTPHeaders) :
POST /zpm/j_security_check HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/vnd.ms-excel, 

application/vnd.ms-powerpoint, application/msword, 
application/x-shockwave-flash, */*
Referer: http://localhost:8080/zpm/pricelab_frameset.jsp
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FunWebProducts; 
SV1; .NET CLR 2.0.50727)
Host: localhost:8080
Content-Length: 44
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=229F4125F6F48356925F7F4BA46DFC0B

j_username=%DA%88%D0%B4c&j_password=password

You can see that the username is not what was entered.

This is using JBOSS 4.0.1 sp1.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Undeploy MDBs Programatically

2006-04-14 Thread rkbeach1
Hi,

Does anyone have an example on how to undeploy MDBs
Programatically?

Would really really appreciate any help!


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal & MySql

2006-04-14 Thread dgaethofs
Dear all,

I FINALLY GOT IT WORKING! THANKS TO ALL OF YOU. Especially Thomas, cause I 
believe your last remarks made the difference.

Regards,
Danny

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - custom JACC provider

2006-04-14 Thread ghjboss
Can somebody show me the complete steps to build a custom JACC provider in the 
JBoss?
I've looked through this forum and collect some information relevant to this 
topic. But I do not see a complete guidance. 
My goal is to integrate the XACML to my security layer for the authorization 
purpose. I hope I am heading to the right approach.
Any input is appreciated.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB2 and EJB3 in one ear

2006-04-14 Thread [EMAIL PROTECTED]
Hello,

I want to know if it is possible to have in one ear : 
1 EJB2 module
1 EJB3 module
?

I try to deploy an ear with 1 ejb2 module on my JBoss 4.0.4RC1 and it deploys 
EJB2 module with EJB3 deployer ...

How can I say that it's an EJB2 module ?

Thanks !

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: to use display tag how to set portlet objects in JSP pag

2006-04-14 Thread ScottDawson
Bhim,
Ok, I understand the problem now.  I'm sorry if I sent you down a wrong path 
initially.

In the Portlet Spec, section 16.3.2 lists 3 request attributes that must be 
provided by the portal environment when the PortletRequestDispatcher.include 
method is used to include a servlet or JSP.  The 3 attributes are 
javax.portlet.config (the PortletConfig object), javax.portlet.request (the 
RenderRequest) and javax.portlet.response (the RenderResponse).  So it seems 
that the 2 attributes you need are provided automatically by any JSR-168 
compliant portal provided you are using the PortletRequestDispatcher to include 
the JSP.

Just to test this with JBoss Portal, I wrote a portlet that includes a JSP.  
Here is the entire JSP:

  | <%
  |   Object req = pageContext.findAttribute("javax.portlet.request");
  |   Object resp = pageContext.findAttribute("javax.portlet.response");
  | %>
  | Request: <%= req %>
  | Response: <%= resp %>
  | 
and here's the output I get:

  | Request: [EMAIL PROTECTED]
  | Response: [EMAIL PROTECTED]
  | 
So it appears to work correctly and you don't have to do anything.  The 
defineObjects tag is not necessary.

Regards,
Scott


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deployment trouble on 4.0.4RC2

2006-04-14 Thread eiswind
Hi I have an EAR with two jars declared as ejb modules. I have 
application.xml

  | 
  | http://java.sun.com/xml/ns/j2ee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  | http://java.sun.com/xml/ns/j2ee/application_1_4.xsd";>
  | de.eiswind.paris.server
  | 
  | de.eiswind.paris.server.jar
  | 
  | 
  | eiswind.paris.model.jar
  | 
  | 

and jboss-app.xml



  | 
  | 
  |   
  | de.eiswind.paris.server:app=ejb3
  |   
  | 
  | 

in the applcation jar i have persistence.xml wich references the entities that 
reside in the other jar


  | 
  | 
  | 
  | org.hibernate.ejb.HibernatePersistence
  | java:/DefaultDS
  | ../de.eiswind.paris.model.jar
  | eiswind.paris.model.Category
  | 
  | 
  | 
  | 
  | 
  | 
  | 

when i deploy my ear jboss does nothing. 4.0.3 started hibernate etc and 
located my ejbs correctly. what is wrong with my config on 4.0.4RC2
?


  | 08:58:29,111 INFO  [EARDeployer] Init J2EE application: 
file:/home/thomas/bin/jboss-4.0.4.CR2/server/default/deploy/de.eiswind.paris.sever.ear
  | 08:58:29,222 INFO  [EARDeployer] Started J2EE application: 
file:/home/thomas/bin/jboss-4.0.4.CR2/server/default/deploy/de.eiswind.paris.sever.ear
  | 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal & MySql

2006-04-14 Thread dgaethofs
Thomas,

Steps I took now are:
1. Removed the mysql-connector-java-3.1.12-bin-g.jar from the bin directory.

2. Put back the mysql-ds.xml which I found in the docs/examples/jca directory. 

3. Made sure the portal-mysql-ds.xml is correct

Now I notice some schematables and schema indices are created in the database. 
However when I try to start the portal. 
http://localhost:8080/portal
I get a Java nullpointer error.


What is wrong here?


mysql-ds.xml
=






  
DefaultDS
jdbc:mysql://localhost:3306/jbossportal
com.mysql.jdbc.Driver
jboss
portal

org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter






   mySQL

  



portal-mysql-ds.xml
=


  
portalDS

jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false&jdbcCompliantTruncation=false
org.gjt.mm.mysql.Driver
jboss
portal
  



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Help About cammunda toolkit

2006-04-14 Thread camunda
Hi Nabil,

sorry for the delay, I was on holidays. And sorry that there isn't any good 
documentation for the toolkit at the moment, because of lack of time...

Wihtou a Application Server you should be able to start the Admin-Client with 
the following code:


  | AdminClient adminClient = AdminClient.getInstance();
  | adminClient.initAdminServices( new 
LocalAdminServicesDelegate("/jbpm.cfg.properties") );
  | this.getContentPane().add( adminClient.getClientPanel() );
  | 

The "/jbpm.cfg.properties" must be in classpath and configured for jbpm 3.1.

Hope that helps?

Best regards
Bernd

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Delete Logfiles generated using log4j when jboss is runn

2006-04-14 Thread [EMAIL PROTECTED]
So how is this related to jboss? This seems like a log4j issue.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Need Help with Rollback issue and message re-try

2006-04-14 Thread rkbeach1
Hi All,

I am not able to figure out why my messages are not
being sent back to
the queue on a session rollback. I am not using MDB's.
Following is
how I am setting up my connection to a Topic

//ConnectionFactory (using
TopicConnectionFactory)
TopicConnection connection =
connectionFactory.createTopicConnection(username,password);

connection.setClientID(clientId);

   TopicSession session =
connection.createTopicSession(true,0);

   TopicSubscriber subscriber =
session.createDurableSubscriber(topic,subscriptionName);

In a while loop, I have the call to receive messages:

 Message msg = subscriber.receive(1000);

after receiving a message, I process it, and call
session.commit(). But, if I run into
problems while processing the message, I am calling
session.rollback(). But, I don't
see the messages being persisted back into the db
table (JMS_MESSAGES) after the
call to session.rollback(). I was hoping that they
would be, so that when the consumer
is re-started, these messages can be re-delivered.
What could be going wrong? I thought
that if I create a topic session with 'transacted' set
to true, I will be able to restore messages
in case of processing errors...

Also, in the above situation, how can I configure the
number of 're-try' attempts? In an MDB,
one can do that in the deployment descriptor...but, in
a situation like the one above, how do I
tell the messaging server to 're-try' 3 or 4 times,
before sending the message to DLQ 

Please help!


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Monitoring Tool

2006-04-14 Thread raogu
Adding SPI for JBoss monitors log files also.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: rowCount

2006-04-14 Thread kh2ouija


This exact bit renders to "You have 0 websites." for an empty list, does anyone 
have any idea why?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Monitoring Tool

2006-04-14 Thread raogu
Site below has lists of tools monitoring JBoss:
http://wiki.jboss.org/wiki/Wiki.jsp?page=MonitoringManagementAndProfilingTools

HP has a Smart plugin which monitors following:
1)Monitor availability of JBoss servers
2)Monitor CPU Utilization by Server
3)Monitor Memory Utilization by server
4)Process Monitoring
Here is link of site:
http://www.openview.hp.com/products/spi/spi_jas/index.html

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jbpm workflow editor

2006-04-14 Thread kbarfield
I agree.  We have partners and customers here at JBoss that are doing the same 
type of thing.  They built rules on top of jBPM that the users can modify, but 
the underlying process does not change.  Once we integrate JBoss Rules and 
jBPM, this will be very straightforward.   It can still be done in today's 
world, just requires a little more work.

Kevin

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Delete Logfiles generated using log4j when jboss is running

2006-04-14 Thread shishir_n_das
In my application, a specific module creates log files using log4j in JBOSS. 
The modules generates a new log file every time it is run. The problem is jboss 
doesn't allow to delete the log files when it is running.

I have to shutdown the JBOSS and then delete the log files. This is not 
possible in production scenario.

I want to delete those log files when jboss is running.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: how to deploy seam - application from within eclipse to

2006-04-14 Thread javaos
do you have WTP installed or how can you see a .ear - file in eclipse? Which 
view/perspective do you work with to see an .ear - file. I followed the howto 
on page 
"http://wiki.jboss.org/wiki/Wiki.jsp?page=UseJBossEclipseIDEToDoJBossSeamsBookingExample";.
 As a result I have a src-folder in eclipse - package explorer with the java - 
files of the exmple but not an ear. I work with eclipse3.1 an JBoss-Ide1.5.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EJB not bound?

2006-04-14 Thread mr_density
The error I get is that my ejb is not bound when I try to access it through a 
webservice. My application has a front-end that connects to my webservice and 
my webservice must connect to my sessionBean.

Here is my ejb-jar.xml

  | 
  |   Foo
  |   project.ejb.session.FooHome
  |   project.ejb.session.Foo
  |   project.ejb.session.FooBean
  |   Stateful
  |   Container
  |   
  | ejb/Foo
  | Session
  | project.ejb.session.FooHome
  | project.ejb.session.Foo
  |   
  |   
  | 
  |   
  |   
  | beheerder
  | beheerders
  |   
  | 
  | 

Here is my jboss.xml

  | 
  |   Foo
  |   Foo
  |   
  | ejb/Foo
  | java:comp/env/ejb/Foo
  |   
  |   
  | Foo
  | /authentication/*
  | BASIC
  |   
  | 
  | 

The code in my webservice implements class

  | InitialContext inictx = new InitialContext();
  | Object ref = inictx.lookup("java:comp/env/ejb/Foo");
  | FooHome fooHome = (FooHome)PortableRemoteObject.narrow(ref, FooHome.class);
  | Foo FooBean = fooHome.create();
  | 

The exacte error is:
javax.naming.NameNotFoundException: Foo not bound

When i look in my jboss jmx console i can see that my Foo has been deployed. I 
double checked this also with a piece of code that shows all my deployed beans 
show that is not the problem! 

But what is?? Can anyone help me please! 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Howto fetch lazy relations before an entity is detached

2006-04-14 Thread scraatz
Hi,

is there a standard way to force fetching of lazy initialized related entities?

We need to detach an object with lazyly loaded relations and access the related 
objects on the detached object.

I found that when I access an non-id property of a ...toone relation object 
within the transaction that loads the main entity, that child-entity is 
initialized. For ...tomany relations i have to access an non-id property of all 
children in the collection.

Is this the way to do it (besides marking the relation as EAGER, which is not 
an option), or is there a more elegant solution?

thanks
Stefan

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >