[jboss-user] [JBoss Messaging] - Re: Deadlocks with ClusterRoundRobinDistributor

2007-11-21 Thread timfox
Can you post/send me your full thread dump?

Thx

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106633#4106633

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Question about webservice returning array with nillable=fals

2007-11-21 Thread fheldt
I've got a problem with a webservice and no idea how to solve this. Maybe 
someone can give me a hint:

Java Webservice snippet:


  | @WebMethod
  | public Integer[] GetSteps(String ugid) {
  |   Session session = (Session) em.getDelegate();
  |   List? list = session.createSQLQuery(SELECT QVZAHL FROM MQVAL WHERE 
QVUGRP=:ugid AND QVSTAT'*')
  | .addScalar(QVZAHL, Hibernate.INTEGER)
  | .setString(ugid, ugid)
  | .list();
  |   return list.toArray(new Integer[list.size()]);
  | }
  | 

Now i want to use this in a C# .NET project, it generates this 

  | public System.Nullableint[] GetSteps(string arg0) {
  |   object[] results = this.Invoke(GetSteps, new object[] {arg0});
  |   return ((System.Nullableint[])(results[0]));
  | }
  | 

As you see, it generates a function returning an array of nullable ints.

The question is: how can i change the Java webservice so that the elemnets of 
the array are nillable=false. Is there any annotation to do this?

Thanks in advance for any help.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106634#4106634

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106634
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Application Problem

2007-11-21 Thread odin69
The database can also be deleted using the command
ant -f jboss-build.xml db-delete
but it might be that u have to uncomment it in the jboss-build.xml

hope that helps

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106636#4106636

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106636
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Webservice not starting in AS 4.2.2

2007-11-21 Thread [EMAIL PROTECTED]
Hi,

   try to check your web.xml file, if you're using original or modified one. I 
think you're problem could be caused by this issue: 
http://jira.jboss.org/jira/browse/JBWS-1762

Richard

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106635#4106635

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106635
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Question about webservice returning array with nillable=

2007-11-21 Thread [EMAIL PROTECTED]
Hi,

   let JBossWS generate your WSDL first. Then copy it somewhere and modify its 
schema. Then update your Webservice java code (using appropriate annotation) to 
use your modified WSDL file instead of generated one.

Richard

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106637#4106637

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Richfaces configuration issues

2007-11-21 Thread rvkishore
I am trying to get Richfaces configured for my seam application. The richfaces 
user guide recommends a web.xml config

  | web-app version=2.4 
  | 
  | xmlns=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;
  | 
  | 
  | 
  |!-- Seam --
  | 
  |listener
  | 
  |listener-classorg.jboss.seam.servlet.SeamListener/listener-class
  | 
  |/listener
  | 
  | 
  | 
  |!--  richfaces --
  | 
  |filter
  | 
  |display-nameRichFaces Filter/display-name
  | 
  |filter-namerichfaces/filter-name
  | 
  |filter-classorg.ajax4jsf.Filter/filter-class
  | 
  |/filter
  | 
  |filter-mapping
  | 
  |   filter-namerichfaces/filter-name
  | 
  |   url-pattern*.seam/url-pattern
  | 
  |/filter-mapping
  | 
  | 
  | 
  |!-- Propagate conversations across redirects --
  | 
  |filter
  | 
  |filter-nameSeam Redirect Filter/filter-name
  | 
  |
filter-classorg.jboss.seam.servlet.SeamRedirectFilter/filter-class
  | 
  |/filter
  | 
  |filter-mapping
  | 
  |filter-nameSeam Redirect Filter/filter-name
  | 
  |url-pattern*.seam/url-pattern
  | 
  |/filter-mapping
  | 
  |
  | 
  |   filter
  | 
  | filter-nameSeam Exception Filter/filter-name
  | 
  | filter-classorg.jboss.seam.servlet.SeamExceptionFilter/filter-class
  | 
  |   /filter
  | 
  | 
  | 
  |   filter-mapping
  | 
  |   filter-nameSeam Exception Filter/filter-name
  | 
  |   url-pattern*.jsf/url-pattern
  | 
  |   /filter-mapping
  | 
  |   
  | 
  |   !-- JSF -- 
  | 
  |   context-param
  | 
  | param-namejavax.faces.STATE_SAVING_METHOD/param-name
  | 
  | param-valueclient/param-value
  | 
  |/context-param 
  | 
  |  
  | 
  |   context-param
  | 
  |   param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name
  | 
  |   param-valuecom.sun.facelets.FaceletViewHandler/param-value
  | 
  |   /context-param
  | 
  |   
  | 
  |   context-param
  | 
  | param-namejavax.faces.DEFAULT_SUFFIX/param-name
  | 
  | param-value.xhtml/param-value
  | 
  |   /context-param
  | 
  |   context-param
  | 
  | param-namefacelets.REFRESH_PERIOD/param-name
  | 
  | param-value2/param-value
  | 
  |   /context-param
  | 
  |   context-param
  | 
  | param-namefacelets.DEVELOPMENT/param-name
  | 
  | param-valuetrue/param-value
  | 
  |   /context-param
  | 
  |   context-param
  | 
  | param-namecom.sun.faces.validateXml/param-name
  | 
  | param-valuetrue/param-value
  | 
  |   /context-param
  | 
  |   context-param
  | 
  | param-namecom.sun.faces.verifyObjects/param-name
  | 
  | param-valuetrue/param-value
  | 
  |   /context-param
  | 
  |   context-param
  | 
  | param-nameorg.richfaces.SKIN/param-name
  | 
  | param-valueDEFAULT/param-value
  | 
  |   /context-param
  | 
  |   
  | 
  |   servlet
  | 
  |   servlet-nameFaces Servlet/servlet-name
  | 
  |   servlet-classjavax.faces.webapp.FacesServlet/servlet-class
  | 
  |   load-on-startup1/load-on-startup
  | 
  |   /servlet
  | 
  | 
  | 
  |   !-- Faces Servlet Mapping --
  | 
  |   servlet-mapping
  | 
  |   servlet-nameFaces Servlet/servlet-name
  | 
  |   url-pattern*.seam/url-pattern
  | 
  |   /servlet-mapping
  | 
  | 
  | 
  |   !-- MyFaces --
  | 
  |   listener
  | 
  |   
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class
  | 
  |   /listener
  | 
  | /web-app 

When I use the above config, I get a classnotfound for the 

  
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class


The reason for this being... For Seam to work with JBoss 4.2, the myfaces jars 
need to be replaced with Sun's JSF RI jars. 

Is there any example for a Seam/Richfaces integration to work in a JBoss 4.2.1/ 
Seam 2.0/facelets environment. I am specifically looking for the 
web.xml/faces-config.xml and other config files that are needed.

Thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106638#4106638

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106638
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - question about @ManyToOne and @Where

2007-11-21 Thread fheldt
I've got a nasty problem and no idea how to solve this.

First: This is a legacy database, which i cannot change :-(

I have 2 entities Drvor and Vdrau both with the same compound key. Vdrau 
contains additional information, but only if the column DVABNR is 1500

With this solution it works (i had to add the @NotFound annotation, see below), 
but not optimal. It generates a seperate sql call for every row that has no 
data in Vdrau.

I looked at the @WhereJoinTable annotation, but it doesn't work with @MayToOne 
:-(


  | @Entity
  | public class Drvor implements Serializable {
  |   @EmbeddedId
  |   private DrvorPK pk = new DrvorPK();
  | 
  |  @ManyToOne(fetch = FetchType.LAZY)
  |  @Fetch(FetchMode.JOIN)
  |  @JoinColumns({
  | @JoinColumn(name=DVAUN1, insertable=false, updatable=false),
  | @JoinColumn(name=DVAUN2, insertable=false, updatable=false),
  | @JoinColumn(name=DVAUJJ, insertable=false, updatable=false),
  | @JoinColumn(name=DVABNR, insertable=false, updatable=false)
  |   })
  |   @NotFound(action=NotFoundAction.IGNORE)
  |   public Vdrau vdrau;
  |   ...
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106639#4106639

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: new

2007-11-21 Thread gscalise
elidon wrote : Hi,
  | 
  | I had the same problem. What I did was to JBoss, a division of Red Hat as 
the provider for the adapter, and not JBoss, which is the default one 
provided by Eclipse.  After that you can select the JBoss runtime that you 
want, and it will magically show up in the Target runtime when you create a 
new project.
  | 
  | 
  | JP

Still a no-go for me... creating a new runtime does nothing... i mean, i still 
get  no new server in the combo after returning from the wizard. Creating a new 
server (based on the RH adapter) selects a blank item to the combo, but after 
clicking on the drop-down, I can only select  as an option.
Closing the wizard and opening it again does nothing, either.

I'd gladly appreciate some help from the JB-IDE team on this issue...

Guido

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106640#4106640

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Idle Page Alert

2007-11-21 Thread damianharvey
just use something like 
  | body onload=startIdleTimer();
Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106641#4106641

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Persistent unit problem

2007-11-21 Thread ravisoni1986
I tried with eCMDataSource but it was not working...

Is there any configuration changes I have to make in JBOSS



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106642#4106642

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JAX WS(JbossWS) support trough JBoss Tools

2007-11-21 Thread baz
Hello,
my questions:
1. will there be any support for JAX WS (Jboss WS) bundled with JBTools?
2. in the JIRA there are some issues about web servises. But they are scheduled 
for LATER. Whta does LATER mean?

When looking on  this webpage:http://labs.jboss.com/tools/ a jboss WS Tools 
module can be found. But it is not bundled with JBT CR1

I do need easy support for web services. With easy i mean no knowledge of the 
internal working should be necessary. We do have a couple of programmers with 
no knowledge in this area. They should create the web services.
Unfortunately we have found one tool that supports the kind of web service 
support we need (NetBeans). But it is not the tool we are in favour of.
What we need is simple. all the tooling for Seam projects that JBT delivers 
plus the JAXWS support from netbeans in one tool.
Ciao,
Carsten

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106643#4106643

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106643
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - JBoss 4.2.2 and seam problem

2007-11-21 Thread krzysgdynia
In JBoss 4.2.1 explode and restart works fine. From 4.2.2 when I use Stateless 
beans (for example to authenticate) I get IllegalStateException after restart 
(and ~5MB memory leak). 
Is this a bug ? 

I tested also seam-booking example and I got the same error.

  | 09:40:36,890 WARN  [JmxKernelAbstraction] 
jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
 is not registered
  | 09:40:36,890 WARN  [StatelessDelegateWrapper] Stopping failed 
jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3
  | java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to 
invoke a Seam component outside the an initialized application
  | at 
org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.preDestroy(LifecycleInterceptorHandler.java:135)
  | at org.jboss.ejb3.EJBContainer.invokePreDestroy(EJBContainer.java:624)
  | at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:207)
  | at org.jboss.ejb3.InfinitePool.destroy(InfinitePool.java:42)
  | at org.jboss.ejb3.ThreadlocalPool.destroy(ThreadlocalPool.java:68)
  | at org.jboss.ejb3.EJBContainer.stop(EJBContainer.java:592)
  | at org.jboss.ejb3.SessionContainer.stop(SessionContainer.java:183)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.stop(StatelessContainer.java:130)
  | 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:597)
  | at 
org.jboss.ejb3.ServiceDelegateWrapper.stopService(ServiceDelegateWrapper.java:119)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.stop(Unknown Source)
  | at org.jboss.system.ServiceController.stop(ServiceController.java:508)
  | at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy139.stop(Unknown Source)
  | at 
org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstraction.java:175)
  | at 
org.jboss.ejb3.JmxKernelAbstraction.uninstall(JmxKernelAbstraction.java:202)
  | at org.jboss.ejb3.Ejb3Deployment.stop(Ejb3Deployment.java:661)
  | at org.jboss.ejb3.Ejb3Module.stopService(Ejb3Module.java:107)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.stop(Unknown Source)
  | at org.jboss.system.ServiceController.stop(ServiceController.java:508)
  | at 

[jboss-user] [JBoss Tools (users)] - Re: JAX WS(JbossWS) support trough JBoss Tools

2007-11-21 Thread [EMAIL PROTECTED]
LATER means not something we focus on now (meaning it is not scheduled for GA 
or 2.1)

Our current plan is to bundle SoapUI (as we did previously before we moved to 
eclipse 3.3) but this assume the support they have for jax ws stays around.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106646#4106646

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: new

2007-11-21 Thread [EMAIL PROTECTED]
That sounds very weird since using the rh adapter is exactly what should be 
done

could you try and use jinq to record what you do and share the link here ? 
(http://blog.xam.dk/archives/83-Jinq-the-best-tool-for-reporting-bugs-for-any-UI!.html)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106647#4106647

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106647
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Need help with debugging

2007-11-21 Thread roth
Hi

I am trying to debug a problem that shows up when using ldap with an admin role 
that is not called 'admin' but something else originating from my ldap (I 
basically did what is described here: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=GiveAdminPrivileges.

Everything except the listing of available portlets in the page layout admin 
page works. 

Basically, the jbp:portlet tag in the following section (editPageLayout.xhml 
from core-admin) stays completely empty when the page  is rendered:


  |  tr
  | td colspan=2
  |hr/
  |Select content that will be added to the page:
  | /td
  |  /tr
  |  tr
  | td colspan=2 valign=top
  |jbp:portlet
  |   portletId=#{pageManager.selectedEditorPortletId}
  |   portletInvoker=#{pageManager.portletInvoker}
  |   actionListener=#{pageManager.assignWindow}
  |   supportedModes=edit_content
  |   supportedWindowStates=normal
  |   initialMode=edit_content
  |   initialWindowState=normal
  |   renderParameters=#{pageManager.selectedRenderParameters}
  |   onClick=url.setParameter('windowName', 
document.getElementById('windowForm:windowName').value);/
  | /td
  |  /tr
  | 

And now I am stuck. What's to check next? Can an experienced portal developer 
point me in the right direction?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106650#4106650

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam, remote client and JAAS

2007-11-21 Thread LeonidN
Hi everybody. I use Seam and remote client, which gets EJB (remote interface) 
with initial context (JNDI). How should I specify the Seam to use the JAAS 
login module (not default SeamLoginModule) for remote client connectivity? Or 
if this is not possible what is the work around of it?

Thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106648#4106648

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Creating a page that is not displayed in Portal Tabs

2007-11-21 Thread bvogt
a more general solution is to introduce a new page property which then is 
evaluated within the navigation rendering.

Our use case for this is:
preventing public pages (i.e. role 'unchecked') from being displayed for named 
users

We use the property solution as mentioned above.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106649#4106649

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: problem with jbpm

2007-11-21 Thread timeagentess
What jBPM version are you using? In newer versions (3.2.GA), the address is 
http://localhost:8080/jbpm-console.

This should solve it, assuming you don't have other problems.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106652#4106652

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Stop undeployment at shutdown

2007-11-21 Thread [EMAIL PROTECTED]
No, can't do that.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106654#4106654

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106654
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Begginer question Task forms inside standard Web Applica

2007-11-21 Thread francis1970
Hello! thanks for your reply. So it could be convenient to turn my existing jps 
based application into a jsf based one..Thanks !

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106655#4106655

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JAX WS(JbossWS) support trough JBoss Tools

2007-11-21 Thread baz
Thanks max. So i can assume that JAX WS support will not be bundled in the near 
future(January/February2008) with JBT, right?
What does this paragrapg mean?
anonymous wrote : 2007-14-11 : We have decided to discontinue JBoss WS IDE.
  | 
  | 2007-14-11 : JBoss WS IDE is as of the 14:th of November 2007 discontinued. 
This does not mean our support for JBoss WS has ended, we have only chosen to 
stop producing within JBoss. soapUI will continue its strong support for JBoss, 
just not as JBoss, rather as a independent Open Source software producer.found 
on http://www.soapui.org/jbossws/index.html

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106653#4106653

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JAX WS(JbossWS) support trough JBoss Tools

2007-11-21 Thread [EMAIL PROTECTED]
baz wrote : Thanks max. So i can assume that JAX WS support will not be 
bundled in the near future(January/February2008) with JBT, right?

We will look at our options after GA - so if it will be possible to get soapui 
bundled it will start being there around early next year.

anonymous wrote : 
  | What does this paragrapg mean?
  | anonymous wrote : 2007-14-11 : We have decided to discontinue JBoss WS IDE.
  |   | 
  |   | 2007-14-11 : JBoss WS IDE is as of the 14:th of November 2007 
discontinued. This does not mean our support for JBoss WS has ended, we have 
only chosen to stop producing within JBoss. soapUI will continue its strong 
support for JBoss, just not as JBoss, rather as a independent Open Source 
software producer.found on http://www.soapui.org/jbossws/index.html


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106657#4106657

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBoss jBPM - BPeL - eclipse

2007-11-21 Thread Pebbels
Thanks a lot for the link!

I started to create a project like the demo does. The first step is not a 
problem but when trying to download the wsdl-files I will get the following 
eclipse-error:
IWAB0135E An unexpected error has occurred.
UDDIException
(502)Proxy Error

Do I have to change some properties of eclipse?

Besides there is an other question:
Is it possible to see the deployed process on the console?

Thanks, Tina


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106658#4106658

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - a foreach algorithm

2007-11-21 Thread starbuxman
Hello, 

Is there a way to have a foreach type of construct? In plain 'ol JBPM JPDL (not 
BPEL)? 

More specifically, I want to be able to pass in (say) a java.util.List as a 
process variable and have it create new branches for each obect in the node and 
put the object as a process variable in that branch. So, 

List carIds =Arrays.asList(1,2,3,4) ;

yeilds 4 execution paths of the same 'node' (be it a task-node, or a sub 
process node (!)) and have those nodes execute with a unique 'carId' variable. 
Thus, each, say, task-node would be queued up and waiting. If you had 4 people 
hitting a queue list, theyd see 4 new things to do (whatever it is) and 4 
people could do the work in the time of 1. They'd parallelize. 

Ideally, the branches of execution would join and then the flow would continue 
from there. 

Has anyway seen a way to do this? I know these sorts of contstructs are 
supported in some ways, but I'd love to know how? Is there some sort of Action 
or class I can use? 

Thanks in advance, 

Josh


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106659#4106659

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106659
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Preferences localization

2007-11-21 Thread syllant
Hi,

I don't manage to localize portlet preferences.

I've set resource-bundle and supported-locale in portlet.xml but in 
administration page, I see : LocalizedString[value='xxx',defaultLocale=en].

Besides, bundles are defined in french and english, administrator is configured 
with french locale and I don't understand why default locale should be 
english...

Note that both bundles are correctly loaded since I see LocalizeString objects 
when debugging ContainerPreferencesInfo.

portlet.xml :portlet
  | portlet-nameX/portlet-name
  | portlet-classX/portlet-class
  | resource-bundlei18n/PortletMessages/resource-bundle
  | supports
  |   mime-typetext/html/mime-type
  |   portlet-modehelp/portlet-mode
  | /supports
  | portlet-preferences
  |   preference
  | namexxx/name
  | valuesome value/value
  |   /preference
  | /portlet-preferences
  | supported-localefr/supported-locale
  | portlet-info
  |   title/ !-- Dynamically generated --
  | /portlet-info
  |   /portlet
  | 

WEB-INF/classes/i18n/PortletMessages_en.properties (same for _fr) 
:javax.portlet.preference.name.xxx = Some name
  | javax.portlet.preference.description.xxx = Some description
  | 

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106660#4106660

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106660
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Creating a page that is not displayed in Portal Tabs

2007-11-21 Thread jvence
[EMAIL PROTECTED] wrote : What is the use case?

Use case is that we want to create a public profile page (that receives a user 
id parameter) and displays a public profile of a user. It will contains a bunch 
of portlets displaying info related to that user.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106661#4106661

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why does EntityQuery auto save updates?

2007-11-21 Thread [EMAIL PROTECTED]
The persistence context is automatically flushed at container invoked method 
boundaries unless you use flush mode manual.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106664#4106664

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106664
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-11-21 Thread [EMAIL PROTECTED]
Some classloading problem I think.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106667#4106667

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBoss jBPM - BPeL - eclipse

2007-11-21 Thread agusgr
Hi Tina,
It seems to be an error in your proxy configuration, not eclipse but I'm not 
sure. 
There is another way to get the wsdl (my way, :-)).
 Using your web browser (Mozilla, Internet Explorer) go to the web service page 
an save the wsld in your local system.
Here 
http://www.xmethods.net/ve2/Directory.po;jsessionid=4XUrFKQiN3_SA1yBd80-LqLJ(QHyMHiRM)
there are some services to start. Click on the service name and then follow the 
WSDL link.
It goes to the WSDL declaration of the service, then you save this page where 
you want.
Be carefull with the file extension, my browser put .xml by default, and the 
wsdl must be .wsdl and first of all check if the web service works, there are 
some of them that are offline.

When you say:
anonymous wrote : Is it possible to see the deployed process on the console? 
What do you mean? only the bpel process or the bpel process as a web service?

I hope that it helps you,

Agus

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106668#4106668

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106668
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to invoking methods with parameters with Seam test?

2007-11-21 Thread [EMAIL PROTECTED]
What fix?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106669#4106669

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106669
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss 4.2.2 and seam problem

2007-11-21 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-2207 - but I need a runnable example 
attached to the issue and steps to reproduce.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106670#4106670

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106670
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-21 Thread [EMAIL PROTECTED]
If you can create a runnable example and provide steps to reproduce please put 
an issue into JIRA so I can take a look.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106672#4106672

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106672
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL Eclipse Process Designer interworking

2007-11-21 Thread federicok
First, I am using JBoss 4.0.5.GA, jbpm-bpel-1.1Beta3 and Eclipse BPEL Designer 
0.3.

Secondly, I made a simple bpel process to test the correlation sets. Later I 
had to change the 
xmlns:bpws=http://docs.oasis-open.org/wsbpel/2.0/process/executable; to 
xmlns:bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/ in the bpel 
document  and set 
xmlns:plnk=http://schemas.xmlsoap.org/ws/2003/05/partner-link/; in the wsdl 
document generated in the project.

the bpel of the project is

  | ?xml version=1.0 encoding=UTF-8?
  | bpws:process exitOnStandardFault=yes name=POC-CorrelationSets
  | suppressJoinFailure=yes 
targetNamespace=http://eclipse.org/bpel/sample;
  | xmlns:bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/; 
xmlns:tns=http://eclipse.org/bpel/sample;
  | bpws:import importType=http://schemas.xmlsoap.org/wsdl/; 
location=POC-CorrelationSets.wsdl namespace=http://eclipse.org/bpel/sample/
  | bpws:partnerLinks
  | bpws:partnerLink name=client 
partnerLinkType=tns:POC-CorrelationSets myRole=POC-CorrelationSetsProvider  
partnerRole=POC-CorrelationSetsRequester/
  | /bpws:partnerLinks
  | bpws:variables
  | bpws:variable
  | messageType=tns:POC-CorrelationSetsRequestMessage 
name=input/
  | bpws:variable
  | messageType=tns:POC-CorrelationSetsResponseMessage 
name=output/
  | /bpws:variables
  | bpws:sequence name=main
  | bpws:receive createInstance=yes name=receiveInput 
operation=initiate partnerLink=client portType=tns:POC-CorrelationSets 
variable=input/
  | bpws:invoke inputVariable=output name=callbackClient 
operation=onResult partnerLink=client 
portType=tns:POC-CorrelationSetsCallback/
  | /bpws:sequence
  | /bpws:process
  | 
and the wsdl is

  | ?xml version=1.0?
  | definitions name=POC-CorrelationSets
  | targetNamespace=http://eclipse.org/bpel/sample;
  | xmlns:tns=http://eclipse.org/bpel/sample;
  | xmlns:plnk=http://schemas.xmlsoap.org/ws/2003/05/partner-link/;
  | xmlns=http://schemas.xmlsoap.org/wsdl/;
  | 
  | 
  | !-- ~
  |  TYPE DEFINITION 
  |  ~ 
--
  | types  
  | schema attributeFormDefault=unqualified 
  | elementFormDefault=qualified 
  | targetNamespace=http://eclipse.org/bpel/sample; 
  | xmlns=http://www.w3.org/2001/XMLSchema;
  | 
  | 
  | element name=POC-CorrelationSetsRequest
  | complexType
  | sequence
  | element name=input type=string /
  | /sequence
  | /complexType
  | /element
  |   
  | element name=POC-CorrelationSetsResponse
  | complexType
  | sequence
  | element name=result type=string/
  | /sequence
  | /complexType
  | /element
  | 
  | /schema
  | /types
  |   
  | !-- ~
  |  MESSAGE TYPE DEFINITION
  |  ~ 
--
  | message name=POC-CorrelationSetsRequestMessage
  | part name=payload element=tns:POC-CorrelationSetsRequest/
  | /message
  | 
  | message name=POC-CorrelationSetsResponseMessage
  | part name=payload element=tns:POC-CorrelationSetsResponse/
  | /message
  | 
  | 
  | !-- ~
  |  PORT TYPE DEFINITION 
  |  ~ 
--
  | !-- portType implemented by the POC-CorrelationSets BPEL process --
  | portType name=POC-CorrelationSets
  | operation name=initiate
  | input message=tns:POC-CorrelationSetsRequestMessage/
  | /operation
  | /portType
  | 
  | !-- portType implemented by the requester of POC-CorrelationSets BPEL 
process 
  |  for asynchronous callback purposes
  |  --
  | portType name=POC-CorrelationSetsCallback
  | operation name=onResult
  | input message=tns:POC-CorrelationSetsResponseMessage/
  | /operation
  | /portType
  | 
  | 
  | !-- ~
  |  PARTNER LINK TYPE DEFINITION
  | ~ 
--
  | plnk:partnerLinkType name=POC-CorrelationSets
  | plnk:role name=POC-CorrelationSetsProvider 
portType=tns:POC-CorrelationSets/
  | plnk:role name=POC-CorrelationSetsRequester 

[jboss-user] [JBoss Seam] - How to use rich:menuItem?

2007-11-21 Thread MSchmidke
Hello all,

can you give me a short advice which is the right way to use a richFaces 
dropDownMenu with respect to conversations?

Selecting a menu item should terminate the current conversation. I've used:


  | rich:menuItem value=Aufgabenliste anzeigen
  |   action=#{mainMenuBean.chooseProcessAction}
  |   s:conversationPropagation type=end /
  | /rich:menuItem
  | 

Is this correct?

Visually, it works, but how can I control whether the current conversation is 
aborted correctly? What about if there was no conversation running?

I want to avoid having lots of conversation scoped beans laying around in my 
server's memory just because the user clicks menu items.


Marcus.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106677#4106677

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Localizing Tab that has spaces in its name

2007-11-21 Thread jvence
I know how to localize a tab by modifying the Resource_xx.properties file as 
such:
PAGENAME_News=News 

but how do I do it with a tab that has a space in its name such as My Account

Tried all possible combination and it did not work
PAGENAME_My Account=My Account
PAGENAME_My_Account=My Account 
PAGENAME_MyAccount=My Account 

Any ideas?

Thanks

Jean

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106683#4106683

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106683
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to invoking methods with parameters with Seam test?

2007-11-21 Thread paradigmza
This issue...

http://jira.jboss.com/jira/browse/JBIDE-1129

and

http://jira.jboss.org/jira/browse/JBSEAM-2129

Is there a workaround for now?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106685#4106685

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to invoking methods with parameters with Seam test?

2007-11-21 Thread [EMAIL PROTECTED]
We are waiting on the JBoss AS team stabilising JBoss AS trunk before building 
a new JBoss Embedded.

The workaround is just to run the tests using ant :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106688#4106688

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Problem reading (deserializing) objects from FileCacheLo

2007-11-21 Thread arjan
Okay, I did some extra checks using some (remote) debugging on the JBoss AS.

I added some breakpoints to org.jboss.invocation.MarshalledValueInputStream. It 
seems like Thread.currentThread().getContextClassLoader() does return a 
different classloader than ChartMetadata.getClass().getClassLoader() (and thus 
the classloader used to load the webapp).

The first returns a org.jboss.mx.loading.UnifiedClassLoader3 instance, while 
the second returns a org.jboss.web.tomcat.service.WebAppClassLoader. The 
ChartMetadata class is packaged as part of a .war archive. The application 
itself is packaged in an .ear archive. Does this make the difference? Should 
Tomcat use the unified classloader instead?

When clecking ChartMetadata.class.getClassLoader() and 
Thread.currentThread().getContextClassLoader() from within my code (the 
helper-class used to access the TreeCache) all seems to be fine (both point to 
the WebAppClassLoader.




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106686#4106686

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Problem reading (deserializing) objects from FileCacheLo

2007-11-21 Thread arjan
Indeed, the Classloader seems to be changed in 
org.jboss.mx.server.AbstractMBeanInvoker:


  | 252:ClassLoader mbeanTCL = resourceEntry.getClassLoader();
  |   final ClassLoader ccl = TCLAction.UTIL.getContextClassLoader();
  |   boolean setCl = ccl != mbeanTCL  mbeanTCL != null;
  |   if (setCl)
  |   {
  |  TCLAction.UTIL.setContextClassLoader(mbeanTCL);
  |   }
  | 

I have to say that I use a JRMPProxyFactory to make the TreeCache accessible 
from JNDI. I'll change this to see if it makes a difference.




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106689#4106689

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Preferences localization

2007-11-21 Thread [EMAIL PROTECTED]
There was a bug that i just fixed, it will be available in 2.6.3

http://jira.jboss.com/jira/browse/JBPORTAL-1809

Thanks for the report !

Don't worry about the default to english you always have to default to 
something if there is no language defined anywhere.
(In this case if your browser default is french, it will default to French)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106690#4106690

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106690
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Localizing Tab that has spaces in its name

2007-11-21 Thread [EMAIL PROTECTED]
Yes this was a poorly designed stuff.

We made changes in that area for 2.6.3.
You can have display names in the -object.xml descriptor now, we are working on 
the GUI to let you do it there too.

Check the dsiplay-name tag here:
http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_6/core/src/resources/portal-core-sar/conf/data/default-object.xml

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106692#4106692

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106692
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL Eclipse Process Designer interworking

2007-11-21 Thread agusgr
What does your process do?
First you receive a request for the initiate operation, and then you invoke 
your 
own bpel process with the onResult operation, is right?? Why?



Saludos Federico,

Agus

P.D.- Para cuando un foro de BPEL en español???


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106697#4106697

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106697

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


[jboss-user] [JBossCache] - Re: Problem reading (deserializing) objects from FileCacheLo

2007-11-21 Thread arjan
... No differerence.

So, let's summarize:


  | [li]I have a TreeCache deployed as service 
(deploy/treecache-service.xml)[/li]
  | [li]I access the TreeCache over JMX/JNDI (makes no differerence)[/li]
  | [li]Using the FileCacheLoader fails with ClassNotFoundExceptions[/li]
  | [li]Since TreeCache and my webapp are loaded with different classloaders, 
the MXBean invocation code switches the classloader to the TreeCache 
classloader for the duration of the MXBean call.[/li]
  | 
  | 
  | It looks like the TreeCache is not using my registered class loader at all! 
(the MarshalledValueInputStream is trying to do it on it's own, without 
TreeCache's region information).
  | 
  | 
  | This sounds all pretty plausible to me. But what should I do? Should I 
provide a special (web-app local) class loader for the region I use in my 
webapp? 
  | 
  | Pf.
  | 
  | Arjan
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106694#4106694

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Resetting a form inside a modalPanel

2007-11-21 Thread waynebagguley
Ah, I think I know what the problem is (but not how to fix it).

Because the form isn't being submitted, the backing bean isn't getting 
populated so clearing it down won't work (it doesn't exist yet).
The form is getting reRendered but not reset.

Looking at this : 
http://wiki.apache.org/myfaces/ClearInputComponents it seems like I will have 
to refresh the entire page.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106700#4106700

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - clickable dataTable: DataModelSelection or method parameter?

2007-11-21 Thread MSchmidke
Hello all,

as far as I have understood, I have at least two possibilities to make a 
clickable list with h:dataTable.

The first option is to have the selected row injected per @DataModelSelection.

The second option is to have an action method with parameter, for example:


  | h:dataTable var=task value=#{aufgabenFreigeber}
  |  h:column
  |   s:link action=#{aufgabenliste.onVersionBearbeiten(task)}
  |  h:outputText value=#{task.version.versionsnummer} /
  |   /s:link
  |  /h:column
  | /h:dataTable
  | 

Either seems to work perfect, but are there differences? In my eyes, the method 
parameter way has several advantages:

- reduces the number of necessary injections (important since every injection 
must be done on every method call)
- multiple dataTables on one page may use the same action methods, no different 
DataModelSelection variables to evaluate

Does the DataModelSelection way also have advantages? If not, what is it for?

Marcus.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106701#4106701

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106701
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Exception in portlet

2007-11-21 Thread prns
I am creating a portlet in which Jboss portal server and EJB 3.0 is used. My 
Portlet application throws exception sometimes. Icould not track how this 
exception is being thrown since it happens only sometimes and not always. 
Please see the stacktrace below for the details
Note: I am not modifying anything in database

Exception stact trace
javax.servlet.ServletException: Batch update returned unexpected row count from 
update: 0 actual row count: 0 expected: 1
 
org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:321)
 
org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:168)
Causes:
org.hibernate.StaleStateException: Batch update returned unexpected row count 
from update: 0 actual row count: 0 expected: 1
 
org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
 
org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
 
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)


Environment used
Application server: Jboss 4.0.4  GA
Portal Server: Jboss portal server 2.4.2
EJB: 3.0

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106703#4106703

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Observer issues - multiple calls + async

2007-11-21 Thread damianharvey
Thanks Pete. I'll give raiseAsynchronousEvent a whirl.

1. http://jira.jboss.org/jira/browse/JBSEAM-2281

2. http://jira.jboss.org/jira/browse/JBSEAM-2280

Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106702#4106702

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106702
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: JBossCache with Hibernate on Glassfish v2

2007-11-21 Thread eric.hubert
genman wrote : 
  | I don't personally have a problem with wanting to know about these things 
  | 
With due respect I wouldn't care much about you having those problems. ;)

I read through the official JBoss Cache documentation as well as some outdated 
wiki entries which did help me to get a starting point but which were not 
sufficient to solve my problems in a timely manner. That's why I kindly asked 
for some help and pointers into the right direction.
Nobody can really be sure that he hadn't overseen some obvious source of 
information. At least that's what I thought might be the case. Ideally one only 
had to pick a couple of libraries (jbosscache.jar) as well as a very few 
dependencies and change some configuration properties to use JBossCache on a 
specific application server. That's exactly the information I was looking for. 
I see inspecting the source of an open source project I would like to use as a 
kind of last resort, as this may require a tremendous effort. You can't be sure 
beforehand.

That doesn't mean that I'm not willing to do so if there is no other way. Of 
course I'm also happy to provide my findings for later reuse. Personally I 
don't see anything wrong with this approach. But back to topic!

So in this case I ended up inspecting the source of JBoss AS and JBoss Cache 
2.0. I started with Hibernate's CacheProvider interface following it's concrete 
implementations of TreeCacheProviderHook as well as DeployedTreeCacheProvider. 
In JBoss AS the Cache is wrapped in a MBean which is registered with the 
MBeanServer. In recent code the actual mbean server lookup was moved from 
concrete CacheProvider to a TransactionCacheFactory. Since JBoss Cache 2.0 this 
is JBCCacheFactory. It is responsible for connecting with the MBeanServer, 
retrieving an MBeanProxy of the Cache (in this case CacheJmxWrapperBean), read 
the caches configuration and evaluate the locking strategie and build the Cache 
appropriately.
I'm not quite sure if I can oversee anything from my first glance at the code, 
but the only obvious thing which is application server dependent is the way the 
MBeanServer is located. Unfortunately there was no standard way of doing this 
before JSE 5.0. Since then the preferred way is by using 
java.lang.management.ManagementFactory.getPlatformMBeanServer().
JBoss uses a utility class MBeanServerLocator to retrieve it's MBeanServer.

So at the moment I have to think about how to solve my problem best. I could 
write my own implementation of the CacheProvider interface. But would that be 
clever? It seems to be a good idea to also use the underlying logic of the 
CacheFactory.

If I got it right I had to register the CacheJmxWrapperBean with Glassfish's 
MBean-Server and change the way how the MBeanServer is located. Seems pretty 
simple, If that would be all. Well, I guess I'll see.
It might be a good idea to make the MBeanLookup-Code exchangeable.

Unfortunately at the moment I have no time to experiment on the code level. I 
will take some time at the weekend. If one of you had any further suggestions 
it will be more than welcome. :-)

Isolating issues in a non container environment is generally a good idea, but 
it doesn't seem practical for me in this special case. On the one hand I have a 
full blown JEE application and on the other hand my problems are not related to 
the cache and it's configuration but to container integration. Anyhow, genman, 
I thank you for your suggestions and pointers. Any assistance is greatly 
appreciated.

Regards,
   Eric

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106705#4106705

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106705
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to invoking methods with parameters with Seam test?

2007-11-21 Thread paradigmza
I tried ant and got the same error... (I used the ant file that is 
automatically created by Eclipse, and just added the testng task... and got the 
same error.


 [testng]   at org.testng.TestNG.main(TestNG.java:802)
  |[testng] Caused by: java.lang.IllegalStateException: [EMAIL PROTECTED] 
context=file:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/ 
real=file:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/] has no parent.
  |[testng] at 
org.jboss.virtual.VFSUtils.addManifestLocations(VFSUtils.java:116)
  |[testng] at 
org.jboss.deployers.plugins.structure.DefaultStructureBuilder.processContext(DefaultStructureBuilder.java:131)
  |[testng] at 
org.jboss.deployers.plugins.structure.DefaultStructureBuilder.populateContext(DefaultStructureBuilder.java:89)
  |[testng] ... 33 more
  |[testng] FAILED CONFIGURATION: @BeforeClass init
  |[testng] org.jboss.deployers.spi.IncompleteDeploymentException: Summary 
of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  |[testng] *** DEPLOYMENTS IN ERROR: Name - Error
  |[testng] vfsfile:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/ - 
java.lang.IllegalStateException: [EMAIL PROTECTED] 
context=file:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/ 
real=file:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/] has no parent.
  |[testng] at 
org.jboss.embedded.DeploymentGroup.checkIncomplete(DeploymentGroup.java:151)
  |[testng] at 
org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:129)
  |[testng] at 
org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:307)
  |[testng] at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:14)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |[testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |[testng] ... Removed 22 stack frames
  |[testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |[testng] SKIPPED CONFIGURATION: @AfterMethod end
  |[testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |[testng] SKIPPED: test
  |[testng] ===
  |[testng] Ant test
  |[testng] Tests run: 1, Failures: 0, Skips: 1
  |[testng] Configuration Failures: 1, Skips: 3
  |[testng] ===
  |[testng] ===
  |[testng] Ant suite
  |[testng] Total tests run: 1, Failures: 0, Skips: 1
  |[testng] Configuration Failures: 1, Skips: 3
  |[testng] ===

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106706#4106706

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - HASingleton-problem on 2 nodes

2007-11-21 Thread greeneagle
Hi,
Up to now I've used 2 jboss-instances (4.0.5) where one special service has 
been configured as a hasingleton. I've never had any problem with it, 
everything worked fine.
But now my infrastructure has changed: I have 3 additional machines in the 
cluster but the mentioned special service should still run on one of two 
dedicated machines (due to load-balancing-purposes).

Let's say the different 'jbosses' on my machines are named A, B, C, D and E, 
machine A and B are the ones which are prepared to run the HASingleton-service

Now very strange behaviour occurs:
1.) The HASingleton-service will only be started if A or B are booted first. If 
e.g. 'C' is booted first and 'A' afterwards the HASingleton will not be started 
2.) If I boot with sequence 'A-B-C' and stop 'A' afterwards 'B' will not start 
the HASingleton. But if I stop 'C' too, 'B' starts the HASingleton immediately 
- although 'C' is not configured for HASingleton.

Now my questions:
Did I misunderstood the concept of HASingleton? Is it necessary to configure 
each jboss in the cluster for HASingleton (means: deploy my Singleton-Service 
in 'deploy-hasingleton' on each machine)? In this case HASingleton would not 
fulfill my requirements and I have to find another solution
Or is just some additional configuration necessary to make this scenario 
working?

Thanks in advance,

Michael



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106712#4106712

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Cannot obtain java type mapping for String.Array

2007-11-21 Thread paoletto
Which kind of problem? Im having the same problem:

im exposing a public String[] hello(); 
but im getting as well org.jboss.ws.WSException: Cannot obtain java type 
mapping for: {http://jaxb.dev.java.net/array}stringArray

if i use public String hello(), it works.

oh, by the way using DII configured call. what's wrong with it?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106715#4106715

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106715
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - javax.xml.rpc.JAXRPCException: Cannot create or send respons

2007-11-21 Thread rashmi_yes
Hi,
i am new to webservice. I tried to create a web service with a single method  
called from client. It works fine. But when I add one more webservice method  
called the first method from the client. The call goes to server works till the 
return but while returning, it throws the below error. Please help me on this.

WS Code is :

@Stateless()
@WebService()
public class REFactory {
/**
 * Web service operation
 */
@WebMethod
public String display(@WebParam(name = s) String s) {
// TODO implement operation 
System.out.println(In method 1  +s);
return From method 1;
}

/**
 * Web service operation
 */
@WebMethod
public String createSession(@WebParam(name = vo) Object vo) {
System.out.println(In method 2 ...);
return From method 2;
}   
}

Error is : 

18:02:26,791 ERROR [SOAPFaultExceptionHelper] SOAP request exception
javax.xml.rpc.JAXRPCException: Cannot create or send response message
at 
org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:311)
at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:236)
at 
org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Neither getter nor 
field where found for defaultAssertionStatus in class java.lang.ClassLoader
at 
org.jboss.xb.binding.MappingObjectModelProvider$FieldToElementMapping.(MappingObjectModelProvider.java:368)
at 
org.jboss.xb.binding.MappingObjectModelProvider.mapFieldToElement(MappingObjectModelProvider.java:71)
at 
org.jboss.ws.jaxb.JAXBMarshallerImpl.marshal(JAXBMarshallerImpl.java:149)
at 
org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:100)
at 
org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:172)
at 
org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:844)
at 
org.jboss.ws.soap.SOAPContentElement.getChildNodes(SOAPContentElement.java:761)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:211)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270)
at org.jboss.util.xml.DOMWriter.print(DOMWriter.java:186)
at org.jboss.util.xml.DOMWriter.printNode(DOMWriter.java:135)
at 
org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:305)


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106718#4106718

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106718
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - About jaxrpc-mapping.xml...

2007-11-21 Thread paoletto
I have an ejb3 slsb exposed as web service using jsr181.

Now: i'd like to use Dinamic invocation interface because it's possible that 
some clients dont have the endpoint interface.

I get  org.jboss.ws.WSException: Cannot obtain java type mapping for: 
{http://jaxb.dev.java.net/array}stringArray  because there is probably a 
mismatch in namespace for some obscure reasons.

I'm not using a jaxrpc-mapping.xml

My question is: to generate it i have to use some tools (like wstools or 
wsconsume) applied to the wsdl, and then give to my application. 
But - just wondering- why this?

why dont just provide some interface to auto generate it?
If i want to use some other web services i have only the wsdl for, why should i 
generate the mapping BEFORE, and then give to my application?
why cant this process be automatic?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106720#4106720

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106720
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Problem with Refresh of IFrame using IFramePortlet.

2007-11-21 Thread Gopi.Surabhi
Hi,

Can you suggest how to implement the solution? I can modify the IFramePortlet 
and work with it.

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106723#4106723

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - problem with identity.logout

2007-11-21 Thread thiagu.m
Hai every one 

i am trying for logout function without redirecting new page 
it is possible ?

i cant do that 
because it remove the GET method aruments 
so it gives some problem 

please any one help me

By
Thiagu.m

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106725#4106725

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Isolated classloader and XML defined Factory Components

2007-11-21 Thread sradford
Hi,

Got bit of an issue with 2 Seam applications in the same JVM (in own 
classloader repositories).

In both applications there is an Application scoped configuration component 
(whose classes are within the ears) that are instantiated via a factory defined 
in their respective components.xml.

The issue is the configuration Component for App A appearing in App B in the 
following scenario.

1. A Faces request starts in App A
  | 2. App A instantiates Config Component A via its component.xml file
  | 3. App A makes a remote callByValue EJB call to App B
  | 4. App B needs Config Component B. It looks in its Application Context, 
which does not contain an instance and so tries to create it. In doing so it 
requires an Expressions instance and finds the Application A 
com.sun.faces.context.FacesContextImpl on the Thread. Using this Expressions 
instance it then instantiates a Config Component using classes within App A's 
classloader repository which then results in a ClassCastException when trying 
to be used in Application B.
  | 
  | I guess the 'root issue' is the fact that the JSF classes from JBossWeb are 
shared between the 2 applications (seen in the classloader list for both 
application repositories in the JMX console ). And I can't see how to configure 
JBoss to use separate ones for each application.
  | 
  | Anyone able to help with this?
  | 
  | Thanks and regards,
  | 
  | Sean
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106726#4106726

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106726
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - how to create new user fro durable topic in jms

2007-11-21 Thread vikas_03
Hi ,
 can anbody give me procedure to to make new user ,password aand clientid fro 
durable topic in jms

thanks 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106727#4106727

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-11-21 Thread swamigee
That was the problem. The description EL was returning null.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106728#4106728

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106728
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Why do we need to check IIS 5 isolation mode

2007-11-21 Thread JLMarques
Does anybody know why we need to check IIS 5 isolation mode when we use 
Apache Tomcat Connector (isapi_redirect.dll) to redirect requests from IIS 6 to 
JBoss?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106729#4106729

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Cannot obtain java type mapping for: {http://org.mazurek

2007-11-21 Thread paoletto
[EMAIL PROTECTED] wrote : Your DII client does not have a jaxrpc-mapping.xml. 
You can use 
  | 
  | 
  |   | ServiceFactoryImpl.createService(wsdlURL, serviceName, mappingURL)
  |   | 
  | 

how is this approach changed now?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106730#4106730

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106730
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - EL expression for accessing a set?

2007-11-21 Thread jamesjmp
Hi,
I wonder if there is an EL expression for accessing a set?
For instance, I´ve this objects:


  | public class AssetType implements java.io.Serializable {
  | 
  | private long idAsset;
  | private String type;
  | 
  | private SetInstrument instruments = new HashSetInstrument(0);
  | ...
  | 
  | public class Instrument implements java.io.Serializable {
  | 
  | private String securityName;
  | ..
  | 
In a xhtml I want to display the securityNameof the first item in the 
instruments  set.

Something like this, but it doesn´t work

  | #{assetType[0].internalOptionNumber}
  | 
In java, it´s easy, for instance to display all of them: (yeah, I know an 
iterator would be fine as well, this is just a sample way of accessing)

  | public String getSecurityName() {
  | System.out.println(getSecurityName - getInstruments 
size:+instruments.size());
  | String secName =;
  | for( Instrument ins : instruments  ) {
  | secName = ins.getSecurityName();
  | System.out.println(SecurityName + secName );
  | }
  | return secName;
  | }
  | 
Any way to access a set from an EL expression?
thanks in advance!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106740#4106740

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106740

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


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL Eclipse Process Designer interworking

2007-11-21 Thread federicok
Yes, it´s right. It´s just a project to test some concepts. 
And the initiate operation and onResult operation was create by default by the 
Eclipse when I selected create a new Asynchronous BPEL Process.

Now I added an assign activity to the process to give it more sense.

Saludos Agus,

Federico

PD: jeje, si se prende Alejandro ya seriamos 3 para el foro en español

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106741#4106741

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106741

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


[jboss-user] [JBossCache] - Passivation and CacheLoader

2007-11-21 Thread bedek
Hi,

I'm using jboss cache with jdbc persistence and understand fully passivation 
true/false setting but is it possible to achieve behavior like this setting 
options in xml configuration:

a) When object is retrieved from RAM and he is NOT in there it WILL_NOT be 
retrieved from DB (but in jboss cache startup process all values from memory 
will be retrieved from DB)

b) When object is putted to RAM is WILL be persisted in DB

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106750#4106750

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - javascript error 'Seam' undefined

2007-11-21 Thread panky_p
Hi,
I am trying to use seam component in javascript but i am getting java script 
error anonymous wrote : 'Seam' is undefined
why is it so?
I have included js in script but..
script type=text/javascript src=seam/remoting/interface.js?gameManager

Any help??

Panky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106752#4106752

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106752
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss tools - Seam generate entities from existing entit

2007-11-21 Thread marius.oancea
There is no plan to create a generate-ui task?

For 1.2.1 there is http://jira.jboss.org/jira/browse/JBSEAM-1206;

Removing hbm2java is not enough because the entities from db are still 
considered. No way to use my entitites?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106753#4106753

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss tools - Seam generate entities from existing entit

2007-11-21 Thread atao
anonymous wrote : 
  | There is no plan to create a generate-ui task?
  | 

Pete Muir just integreted JSEAM 843 (Generate application from existing 
entities) in CVS.


anonymous wrote : 
  | For 1.2.1 there is http://jira.jboss.org/jira/browse/JBSEAM-1206;
  | 

This issue is related to improve i18n in seam-gen. What is the link with this 
thread?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106756#4106756

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106756
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Accessing bean in @Filter

2007-11-21 Thread Toby451
This is probably simple, but I am really stuck. 

I have a filter. I also have an application scoped 
component containing global settings for the 
application. 

Here's the problem: I need to retrieve a field from 
the component in the filter.

How do I do that? 

Any ideas much appreciated!
Tobias

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106760#4106760

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106760
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why does EntityQuery auto save updates?

2007-11-21 Thread terryb
thanks Pete, yeah I figured that out. 

in my case I have a single jsf page. to get my code working, now I specified 
its scople to conversation; and save the current entity record in page action 
method, and then use it in update action method to compare if required data 
columns have been modified by the user.

I am not sure if that is the right way, when wanting to compare user changes 
with record data in database? but it now works for me.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106759#4106759

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problems

2007-11-21 Thread kaledev
I'm sorry, are you asking if I can contribute to the tutorial? Seeing as I know 
nothing about this product I would rather not. I do not mean to offend the 
person who wrote the tutorial - I am just pointing out that I cannot find one 
that is up to date. If you know of any other tutorials then please let me know 
- I have spent days and days on google coming up with only a few sparse blog 
pages and the wiki tutorial I have mentioned. But unfortunately it is 
impossible to use past a certain point - although I appreciate the portion I 
did get. Anywhere you can point me? Other documentation? Websites? Cave 
drawings?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106761#4106761

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106761
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Deadlocks with ClusterRoundRobinDistributor

2007-11-21 Thread travisb
I created a JIRA issue to attach the full thread dumps: 
http://jira.jboss.org/jira/browse/JBMESSAGING-1159

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106766#4106766

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106766
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-21 Thread [EMAIL PROTECTED]
chlol, perhaps you can expand on some of what this does so we can evaluate 
whether to move upstream.

1) Don't understand this one.
2) Again don't understand
3) http://jira.jboss.com/jira/browse/JBSEAM-1206
4/5/6/7) Sounds like you want to be able to customise the templates easily - 
perhaps we can make this easier.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106769#4106769

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106769
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: how to access a remote JBoss server

2007-11-21 Thread [EMAIL PROTECTED]
I'm using 4.2.1.GA, but this is not working for me. I can still only access my 
dev server as localhost. I tried both the 0.0.0.0 and the hostname option, but 
neither worked.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106771#4106771

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106771
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Multiple JBPM engines on one single JBoss instance

2007-11-21 Thread vtysh
You should use different war names to avoid conflicts.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106770#4106770

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106770
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss tools - Seam generate entities from existing entit

2007-11-21 Thread [EMAIL PROTECTED]
See, we look at votes :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106772#4106772

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106772
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss 4.2.2 and seam problem

2007-11-21 Thread krzysgdynia
Try seam-booking example. It works well ;) I mean that you see the same error 
(explode and restart).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106774#4106774

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - tranasction context propagation..ejb 3

2007-11-21 Thread david81
Hi ,

I am stuck in an issue and need your help on it.

I have an ejb (Bean1) where in a transaction is started.
From this ejb (Bean1) if I call another ejb(Bean2), and anything wrong happens 
in Bean2, whole of the transaction is rolled back. 
This is controlled by the Jboss.

My query is..
If from Bean1, I make a call to some utility class which makes entires into DB 
and  if an error happens in Bean1 , after utility class commits the DB changes. 
How can I rollback the changes made in utility class.

In short, how is the transaction in EJB3 propagated to utility class?

I am using hibernate in utility class and the application server used is JBoss4.

I  set hibernate.transaction.manager_lookup_class
and  set hibernate.transaction.factory_class to 
org.hibernate.transaction.JTATransactionFactory

My code in utility class..

UserTransaction tx = (UserTransaction)new InitialContext()
.lookup(java:comp/UserTransaction);


try {
tx.begin();

// Do some work
saved object using hibernate session

tx.commit();
}
catch (RuntimeException e) {
tx.rollback();
throw e; // or display error message
}



I get an error which says the transaction is not active.


Can you please tell what could be the problem?

Thanks,

David





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106775#4106775

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: HASingleton-problem on 2 nodes

2007-11-21 Thread [EMAIL PROTECTED]
Please describe exactly how you are deploying your singleton. I can guess from 
what you wrote, but I want to be sure.

My guess is that you packaged your singleton code in a sar and in the sar's 
jboss-service.xml included an mbean for your service and an mbean for an 
HASingletonController to control your service.  Then you deployed the sar in 
deploy/ on A and B.

If that's what you did, it should work the way you want, and if it doesn't we 
need to investigate why not.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106776#4106776

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106776
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-21 Thread atao
About 3), see also 
http://www.jboss.com/index.html?module=bbop=viewtopict=122806

and the related feature request Namespace or alias of messages' key

http://jira.jboss.com/jira/browse/JBSEAM-2237


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106778#4106778

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - IdentityUserPortlet not picking up localized resource file

2007-11-21 Thread jvence
I've added the following to the correct section defining IdentityUserPortlet in 
portlet.xml:

supported-localeen/supported-locale
supported-localefr/supported-locale
resource-bundleIdentity/resource-bundle

When I click on IdentityUserPortlet in the Portlet Definition section, I can 
see that it supports both en and fr...

but when I log in with a user that has set his locale to 'fr' everything is 
translated (tabs, etc) except the IdentityUserPortlet.

Is this a bug?

Thanks
Jean

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106779#4106779

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106779
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: how to dynamically change URL where client is connecting

2007-11-21 Thread sodik
thank you, looks exactly as what I need.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106781#4106781

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106781
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Multiple JBPM engines on one single JBoss instance

2007-11-21 Thread mputz
I haven't tried what you are trying to achieve, but it sounds like you run into 
this issue of both applications using the same jars/resources because of the 
flat class loading model JBoss uses.

See http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration for more 
information, and try it again after inserting a jboss-app.xml in your ear files 
with class loader isolation settings as outlined in the wiki. And also set a 
different context to the jBPM web applications.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106780#4106780

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106780
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam does not work when using with DAO (No transaction..

2007-11-21 Thread Techieexchange
vietbird wrote : For various reasons, I need to use Seam with a DAO layer. I 
try the JPA example (comes with Seam 2.0.0.GA) with WAS 6.1.0.11. It works fine.
  | When I add the DAO layer (i.e. no EntityManager is used within the Action 
classes, DB operations are carried out through DAO methods), all operations 
(add new user, book new hotel, searching) work EXCEPT the CANCEL booking (which 
call DAO remove() method). The call is OK, but nothing seems to happen, there 
is no delete from... query logged to the log file.
  | 
  | I try to add a flush() call right after the remove() call, but error 
occurs. For unknown reason, there is no transaction!!! below is the trace:
  | 
  | [21/11/07 11:37:08:249 EST] 001e application   E   
javax.persistence.TransactionRequiredException: no transaction is in progress
  | javax.faces.el.EvaluationException: 
javax.persistence.TransactionRequiredException: no transaction is in progress 
...
  | 
  | Why the call to remove() has no effect?
  | 
  | Why there is no transaction here? Should transaction be started 
automatically for each method inside the Action classes?
  | 
  | Do you have any idea how to fix the problem?
  | 
  | Thanks

Try to load the entity from DB and then remove/delete.


  | SomeEntity entityBean = entityManager.find(SomeEntity.Class, id);
  | entityManager.remove(entityBean);
  | 

Hope this helps.

TechieExchange
http://techieexchange.wordpress.com/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106783#4106783

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106783
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: HASingleton-problem on 2 nodes

2007-11-21 Thread greeneagle
I did it exactly the way you guessed. The only difference is that I deployed 
the sar in 'deploy-hasingleton/'.
The descriptor 'deploy-hasingleton-service.xml' is present in 'deploy'

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106784#4106784

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106784
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-11-21 Thread damatrix
I didn't mean EJBs when i said Seam POJOs. I meant java classes without 
Stateful or Stateless anotations.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106785#4106785

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106785
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - ejb3/seam-gwt-remoting/gwt w/ DTO, JPA?

2007-11-21 Thread hartfordd
Is there an example somewhere of using the EJB3/Seam remoting and GWT with a 
DTO, or preferably JPA(ejb3 entity)?

When trying the DTO approach, it looks like Seam expects the @Name annotation 
for using the DTO -- at which point, GWT doesn't like the DTO because of the 
annotation.  

Does an example exist, or could someone whip one up to proof from?

thanky,
-D

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106788#4106788

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106788
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: HASingleton-problem on 2 nodes

2007-11-21 Thread [EMAIL PROTECTED]
Put it in deploy, not deploy-hasingleton.  Only one server in the cluster will 
even look at the contents of deploy-hasingleton, and if that server isn't one 
of the ones you want your service will not get deployed.

The deploy-hasingleton dir allows you to deploy stuff like ears, wars, ejb jars 
etc as singletons.  With those types of things you can't directly specify an 
HASingletonController mbean to manage invoking a startSingleton and 
stopSingleton method on the deployment.  So instead we wrote a service that 
will do an ordinary deployment of the contents of deploy-hasingleton only on 
the master node.

You're deploying an mbean, which gives you flexibility to do it the way I 
described.  Put your sar in deploy on A and B.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106792#4106792

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106792
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Remote JNDI lookup over http username propagation

2007-11-21 Thread martin ganserer
Hi, 

I am trying to get an application working that communicates between JBOSS 
server and a client via HTTP. Basically this works fine. But now I am facing a 
problem. 
I want to secure the JNDI lookup by using the default security constraint 
defined in the web.xml of the invoker.war in the http-invoker.sar.
But when my java client tries to make a look up following error message appears 
in the server log:

Code: 

2007-07-24 16:42:03,612 DEBUG 
[org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties,
  |  users=[user, timerecorder]
  | 2007-07-24 16:42:03,612 DEBUG 
[org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties,
  |  users=[timerecorder]
  | 2007-07-24 16:42:03,612 DEBUG 
[org.jboss.security.auth.spi.UsersRolesLoginModule] Bad password for u
  | sername=null
  | 2007-07-24 16:42:03,612 DEBUG 
[org.jboss.ejb3.security.Ejb3AuthenticationInterceptor] Authentication
  |  failure
  | javax.security.auth.login.FailedLoginException: Password Incorrect/Password 
Required
 


This is strange as my client provides proper credentials! 

Code: 

env.put(InitialContext.PROVIDER_URL, 
http://myhost/invoker/restricted/JNDIFactory;);
  | env.put(InitialContext.INITIAL_CONTEXT_FACTORY, 
org.jboss.naming.HttpNamingContextFactory);
  | env.put(InitialContext.SECURITY_PRINCIPAL, username);
  | env.put(InitialContext.SECURITY_CREDENTIALS, password);
  | env.put(java.naming.factory.url.pkgs, 
org.jboss.naming:org.jnp.interfaces);
  | 
  | try
  | {
  |   ctx = new InitialContext(env);
  | }
  | catch (NamingException e1)
  | {
  |   e1.printStackTrace();
  | }
  |  


The LoginModule seams to be correct as it works when I use 
org.jboss.security.jndi.JndiLoginInitialContextFactory for example! 

Do I miss something? 
 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106790#4106790

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106790
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - a4j:include and x.page.xml processing

2007-11-21 Thread koenhandekyn
as far as i can debug, if you include a page with the ajax4jsf include, the 
corresponding (included) xxx.page.xml does not get processed.

this basically blocks me from putting for exampe seam-gen generated pages in 
for example a rich tab control as these pages require the handling of params 
for sorting, etc

  

it feels like a bug or a shortcomming at least. wouldn't know if or how it 
could be fixed

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106794#4106794

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106794
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Reentrant exception

2007-11-21 Thread nadavfr
Hi all,

We are using entity beans version 2.x, jboss 4.0.5.
When we load test our system, we keep getting messages such as:

javax.ejb.EJBException: Reentrant method call detected: 

As far as I can see our code does not contain the situation when 
Bean A calls bean B which, in turn, calls back to bean A

I suspect that the problem might have something to do with concurrency(trying 
to access the same entity bean(same id) from different threads)

I tried to set the Reentrant flag to True for the problematic bean, but this 
resulted in other exceptions.

I will appreciate any help on this subject

Thanks,

Nadav

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106789#4106789

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106789
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: a4j:include and x.page.xml processing

2007-11-21 Thread koenhandekyn
concrete example

somewhere
rich:tabPanel
  |   rich:tab label=accounts
  | a:include viewId=/up/admin/accountList.xhtml /
  |   /rich:tab 
  | ...

the accountList.page.xml content:

  | ?xml version=1.0 encoding=UTF-8?
  | page
  |   xmlns=http://jboss.com/products/seam/pages;
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=http://jboss.com/products/seam/pages 
http://jboss.com/products/seam/pages-2.0.xsd;
  |   login-required=true
  | 
  | 
  |   param
  | name=order
  | value=#{managedAccounts.order}
  |   /
  |   param
  | name=reverse
  | value=#{managedAccounts.reverse}
  |   /
  | 
  | /page
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106798#4106798

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106798
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.2.2 wont deploy my persistency unit

2007-11-21 Thread jaikiran
I still have no clue why your packaging should result in that error. Why not 
try this package structure:

- q.ear/lib/utils.jar
  | - q.ear/META-INF/application.xml (module/ejb=beans.jar)
  | - q.ear/beans.jar
  | - q.ear/beans.jar/META-INF/persistence.xml 

And dont specify the jar-file element in the persistence.xml. 

See if this works.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106797#4106797

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106797
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - odd pages.xml behavior

2007-11-21 Thread beligum
Hi guys,

Any idea why this gives a 404 ?


  | page view-id=/registerBegin.xhtml
  | navigation
  | begin-conversation join=true /
  | redirect view-id=/register.xhtml/
  | /navigation
  | /page
  | 

The registerBegin.xhtml is 'virtual', but the /register.xhtml exists, still, I 
get a 404...

b.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106799#4106799

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - outer joins with seam

2007-11-21 Thread jamesjmp
hi,
I wonder if there is a special syntax for defining queries with outer joins in 
seam.
I am trying this query defined in my components.xml file


  | framework:entity-query name=innerJoinQueryList
  | ejbql=select instruFund, instru, cash 
  | FROM InstrumentFund instruFund
  | left outer JOIN Instrument instru
  | ON instruFund.id.idAsset = 
instru.internalOptionNumber
  | left outer JOIN Cash cash
  | ON instruFund.id.idAsset = cash.idCash
  | /framework:entity-query
  | 

I am using this query from a xhtml file (called RstReportInstruValuList.xhtml ) 
this way


  | rich:dataTable id=innerJoinQueryList 
  | var=innerJoinQueryInfo
  |   value=#{innerJoinQueryList.resultList} 
  | h:column
  | f:facet name=header
  | s:link styleClass=columnHeader
  |value=#{messages['instru.securityName']}
  | /s:link
  | /f:facet
  | #{innerJoinQueryInfo.instru.securityName}
  | /h:column
  | h:column
  | f:facet name=header
  | s:link styleClass=columnHeader
  |value=#{messages['cash.securityName']}
  | /s:link
  | /f:facet
  | #{innerJoinQueryInfo.cash.securityName}
  | /h:column
  | /rich:dataTable
  | 

I have this error:


An Error Occurred:
/RstReportInstruValuList.xhtml @157,13 
value=#{innerJoinQueryList.resultList}: 
org.jboss.seam.framework.EntityQuery_$$_javassist_1721


Is there a special syntax for defining queries with joins?
thanks in advance!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106800#4106800

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106800
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: outer joins with seam

2007-11-21 Thread evdelst
this is really a JPA question, not Seam.

But you should map the relations with a @ManyToOne
Left outer join is not supported in a query, but 'left join fetch' should do 
what you want, once you map the entities correctly!



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106801#4106801

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106801
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Problem controlling and deploying to JBoss AS

2007-11-21 Thread rhasselbaum
Thanks, Max, for replying (again)! Ah yes, I do see an error in the event log. 
It is saying that it failed to deploy because it couldn't copy the WAR file. 
And when I look at the source path in the error details, it is indeed wrong. 
It's looking for the file in a subfolder under 
eclipse_workspace_dir/project_name. But, as you and I discussed in a 
different thread, my project is not rooted under the Eclipse workspace 
directory, and the project root directory does not equal the project name. So I 
wonder if this is related to the path problems in JBIDE-1325.

I went back to the WAR archive properties and gave it the explicit filesystem 
path using the Filesystem button (instead of the Workspace button). But 
that didn't fix the problem. It's still trying to copy the WAR from the wrong 
directory. Should I reopen JBIDE-1325?

Regarding shutting down the server: The communication error says Failed to 
connect to server localhost:1099 so I'm pretty sure it is the port number that 
is wrong. I configured port 1299 by modifying the NamingService bean definition 
in conf/jboss-service.xml and conf/jboss-minimal.xml. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106802#4106802

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106802
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Localizing Tab that has spaces in its name

2007-11-21 Thread syllant
anonymous wrote : We made changes in that area for 2.6.3.
  | You can have display names in the -object.xml descriptor now, we are 
working on the GUI to let you do it there too. 

Manage titles localization inside resource bundles seems to me more natural : 
this is the role of bundles ! -object.xml files should only be used as 
technical configuration files, shouldn't they ? This is quite unusual in J2EE : 
you don't manage portlet title localization or portlet preferences localization 
in portlet.xml for example !

I'm not bothered by restrictions with object names (like no space character) 
but by :

- not being able to localize names using their full path, using object 
hierarchy, .e.g. : PAGENAME_default.page1.subpage1=xxx
- having to define localization outside my webapp

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106803#4106803

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Problem controlling and deploying to JBoss AS

2007-11-21 Thread rhasselbaum
BTW- I did upgrade to last night's build. No change in behavior, though.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106804#4106804

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Problem controlling and deploying to JBoss AS

2007-11-21 Thread [EMAIL PROTECTED]
I think you should open two new bugs.

One for the not copying from the right location 

and one for the jndi and show what files you changed

Please ASAP then we'll look into them :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106806#4106806

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106806
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: IdentityUserPortlet not picking up localized resource fi

2007-11-21 Thread emuckenhuber
Basically not all portlets are translated in every language. And only adding 
supported-localefr/supported-locale does not help much if no French 
translation is present ;) 

Anyway - as far as i can remember someone from the community provided some 
translations for the IdentityPortlets and therefore a French translation will 
be available in the next release of JBoss Portal.

Emanuel

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106805#4106805

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106805
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - How does JMS clustering work?

2007-11-21 Thread resh123
Apologize in advance for asking very basic questions, however I am new to JMS/ 
JBossMQ and trying to understand its intricacies, how it works, etc. 

Would like to know how exactly JMS supports clustering. i.e. in a distributed 
environment, where would the JMS queue reside? How would each node in the 
cluster communicate with others to send message, receive responses?

 From what i read on the internet, I understand that JBossMQ doesnt really 
support clustering, however JBoss Messaging does. Is this true? Can someone 
elaborate more on this?


Is there any document on the JBoss Wiki that gives some more information on how 
exactly the Messaging internals work in JBossMQ/JBoss Messaging?  I came across 
a lot of JMS tutorials that all explain the programatic aspects of JMS,but 
nothing which explanis actually tells how JMS works. So any document on the 
internet that give more details about the internals of JMS would be of great 
help!

Thanks in advance.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106807#4106807

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >